public abstract class ChoiceEditor extends PropertyEditorSupport
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,Object> |
stringsToValues |
protected HashMap<Object,String> |
valuesToStrings |
Constructor and Description |
---|
ChoiceEditor() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
defineValuesToStrings() |
Component |
getCustomEditor() |
protected String |
getNameOfNull() |
void |
setValue(Object value) |
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource
protected abstract void defineValuesToStrings()
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
protected String getNameOfNull()
public void setValue(Object value)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport