summaryrefslogtreecommitdiff
path: root/java/beans/PropertyEditor.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-10-12 15:29:24 +0000
committerMichael Koch <konqueror@gmx.de>2003-10-12 15:29:24 +0000
commitacfdfbb4abc5b61b5b1b3ad5cc8e5adabc707081 (patch)
treeabe971de0dd5f50eed80b8f53bb39f3a002bf43a /java/beans/PropertyEditor.java
parent0c69c153cd0cc1fea3a8ba00e82aea4ad98eca10 (diff)
downloadclasspath-acfdfbb4abc5b61b5b1b3ad5cc8e5adabc707081.tar.gz
2003-10-12 Michael Koch <konqueror@gmx.de>
* java/beans/AppletInitializer.java, java/beans/BeanInfo.java, java/beans/Customizer.java, java/beans/DesignMode.java, java/beans/PropertyEditor.java, java/beans/Visibility.java, java/beans/beancontext/BeanContext.java, java/beans/beancontext/BeanContextChild.java, java/beans/beancontext/BeanContextChildComponentProxy.java, java/beans/beancontext/BeanContextChildSupport.java, java/beans/beancontext/BeanContextContainerProxy.java, java/beans/beancontext/BeanContextMembershipListener.java, java/beans/beancontext/BeanContextProxy.java, java/beans/beancontext/BeanContextServiceProvider.java, java/beans/beancontext/BeanContextServiceProviderBeanInfo.java, java/beans/beancontext/BeanContextServiceRevokedListener.java, java/beans/beancontext/BeanContextServices.java, java/beans/beancontext/BeanContextServicesListener.java: Removed redundant modifiers.
Diffstat (limited to 'java/beans/PropertyEditor.java')
-rw-r--r--java/beans/PropertyEditor.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/java/beans/PropertyEditor.java b/java/beans/PropertyEditor.java
index 2751c89ce..18b1a890e 100644
--- a/java/beans/PropertyEditor.java
+++ b/java/beans/PropertyEditor.java
@@ -114,14 +114,14 @@ public interface PropertyEditor {
** wrapper type.
** @param value the value to set this property to.
**/
- public abstract void setValue(Object value);
+ void setValue(Object value);
/** Accessor method to get the current value the PropertyEditor is working with.
** If the property type is native, it will be wrapped in the appropriate
** wrapper type.
** @return the current value of the PropertyEditor.
**/
- public abstract Object getValue();
+ Object getValue();
/** Set the value of this property using a String.
@@ -130,7 +130,7 @@ public interface PropertyEditor {
** @param text the text to set it to.
** @exception IllegalArgumentException if the String is in the wrong format or setAsText() is not supported.
**/
- public abstract void setAsText(String text) throws IllegalArgumentException;
+ void setAsText(String text) throws IllegalArgumentException;
/** Get the value of this property in String format.
** Many times this can simply use Object.toString().<P>
@@ -139,7 +139,7 @@ public interface PropertyEditor {
** getAsText() should be able to go into setAsText().
** @return the value of this property in String format.
**/
- public abstract String getAsText();
+ String getAsText();
/** Get a list of possible Strings which this property type can have.
** The value of these will be used by the RAD tool to construct some sort
@@ -149,13 +149,13 @@ public interface PropertyEditor {
** must check the value in setAsText() anyway.
** @return the list of possible String values for this property type.
**/
- public abstract String[] getTags();
+ String[] getTags();
/** The RAD tool calls this to find out whether the PropertyEditor can paint itself.
** @return true if it can paint itself graphically, false if it cannot.
**/
- public abstract boolean isPaintable();
+ boolean isPaintable();
/** The RAD tool calls this to paint the actual value of the property.
** The Graphics context will have the same current font, color, etc. as the
@@ -165,13 +165,13 @@ public interface PropertyEditor {
** @param g the Graphics context to paint on
** @param bounds the rectangle you have reserved to work in
**/
- public abstract void paintValue(java.awt.Graphics g, java.awt.Rectangle bounds);
+ void paintValue(java.awt.Graphics g, java.awt.Rectangle bounds);
/** The RAD tool calls this to find out whether the PropertyEditor supports a custom component to edit and display itself.
** @return true if getCustomEditor() will return a component, false if not.
**/
- public abstract boolean supportsCustomEditor();
+ boolean supportsCustomEditor();
/** The RAD tool calls this to grab the component that can edit this type.
** The component may be painted anywhere the RAD tool wants to paint it--
@@ -180,18 +180,18 @@ public interface PropertyEditor {
** change to the value is made, fire a PropertyChangeEvent to the source.<P>
** @return the custom editor for this property type.
**/
- public abstract java.awt.Component getCustomEditor();
+ java.awt.Component getCustomEditor();
/** Adds a property change listener to this PropertyEditor.
** @param listener the listener to add
**/
- public abstract void addPropertyChangeListener(PropertyChangeListener listener);
+ void addPropertyChangeListener(PropertyChangeListener listener);
/** Removes a property change listener from this PropertyEditor.
** @param listener the listener to remove
**/
- public abstract void removePropertyChangeListener(PropertyChangeListener listener);
+ void removePropertyChangeListener(PropertyChangeListener listener);
/** Get a Java language-specific String which could be used to create an Object
** of the specified type. Every PropertyEditor must support this.<P>
@@ -205,5 +205,5 @@ public interface PropertyEditor {
** </OL>
** @return the initialization string for this object in Java.
**/
- public abstract String getJavaInitializationString();
+ String getJavaInitializationString();
}