Skip navigation links
oracle.jbo.jbotester.properties
Class BaseEnumEditor
java.lang.Object
java.beans.PropertyEditorSupport
oracle.jbo.jbotester.properties.BaseEnumEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor
-
public abstract class BaseEnumEditor
- extends java.beans.PropertyEditorSupport
This class implements an example validation property editor
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getSource, getValue, removePropertyChangeListener, setSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseEnumEditor
public BaseEnumEditor()
getJavaInitializationString
public java.lang.String getJavaInitializationString()
-
- Specified by:
getJavaInitializationString
in interface java.beans.PropertyEditor
- Overrides:
getJavaInitializationString
in class java.beans.PropertyEditorSupport
getCustomEditor
public java.awt.Component getCustomEditor()
-
- Specified by:
getCustomEditor
in interface java.beans.PropertyEditor
- Overrides:
getCustomEditor
in class java.beans.PropertyEditorSupport
supportsCustomEditor
public boolean supportsCustomEditor()
-
- Specified by:
supportsCustomEditor
in interface java.beans.PropertyEditor
- Overrides:
supportsCustomEditor
in class java.beans.PropertyEditorSupport
isPaintable
public boolean isPaintable()
-
- Specified by:
isPaintable
in interface java.beans.PropertyEditor
- Overrides:
isPaintable
in class java.beans.PropertyEditorSupport
paintValue
public void paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box)
-
- Specified by:
paintValue
in interface java.beans.PropertyEditor
- Overrides:
paintValue
in class java.beans.PropertyEditorSupport
setValue
public void setValue(java.lang.Object o)
-
- Specified by:
setValue
in interface java.beans.PropertyEditor
- Overrides:
setValue
in class java.beans.PropertyEditorSupport
setAsText
public void setAsText(java.lang.String txt)
-
- Specified by:
setAsText
in interface java.beans.PropertyEditor
- Overrides:
setAsText
in class java.beans.PropertyEditorSupport
getAsText
public java.lang.String getAsText()
-
- Specified by:
getAsText
in interface java.beans.PropertyEditor
- Overrides:
getAsText
in class java.beans.PropertyEditorSupport
getTags
public abstract java.lang.String[] getTags()
-
- Specified by:
getTags
in interface java.beans.PropertyEditor
- Overrides:
getTags
in class java.beans.PropertyEditorSupport
getEnumName
protected abstract java.lang.String getEnumName()
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.