org.jdesktop.swingx.editors
Class EnumerationValuePropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jdesktop.swingx.editors.EnumerationValuePropertyEditor
- All Implemented Interfaces:
- PropertyEditor
- Direct Known Subclasses:
- AbstractPainterBeanInfo.AlphaInterpolationPropertyEditor, AbstractPainterBeanInfo.AntialiasingPropertyEditor, AbstractPainterBeanInfo.ColorRenderingPropertyEditor, AbstractPainterBeanInfo.CompositePropertyEditor, AbstractPainterBeanInfo.DitheringPropertyEditor, AbstractPainterBeanInfo.FractionalMetricsPropertyEditor, AbstractPainterBeanInfo.InterpolationPropertyEditor, AbstractPainterBeanInfo.RenderingPropertyEditor, AbstractPainterBeanInfo.ResizeClipPropertyEditor, AbstractPainterBeanInfo.StrokeControlPropertyEditor, AbstractPainterBeanInfo.TextAntialiasingPropertyEditor
public abstract class EnumerationValuePropertyEditor
- extends PropertyEditorSupport
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumerationValuePropertyEditor
public EnumerationValuePropertyEditor(EnumerationValue defaultEnum,
EnumerationValue... enums)
- Creates a new instance of EnumerationValuePropertyEditor
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationString
in interface PropertyEditor
- Overrides:
getJavaInitializationString
in class PropertyEditorSupport
getTags
public String[] getTags()
- Specified by:
getTags
in interface PropertyEditor
- Overrides:
getTags
in class PropertyEditorSupport
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException