public class EnumProperty<T> extends Property<T>
| Constructor and Description |
|---|
EnumProperty(String
|
| Modifier and Type | Method and Description |
|---|---|
T[] |
getValues()
|
protected String |
listValues()
|
protected void |
validateValue(Object
Subclasses should override this method to throw an IllegalArgumentException if a value is inappropriate for this property.
|
addPropertyChangeListener, firePropertyChangeListeners, getName, getValue, isEnabled, isUserAdjustable, removePropertyChangeListener, setEnabled, setUserAdjustable, setValuepublic T[] getValues()
protected void validateValue(Objectobj)
Property
protected StringlistValues()