public class ComboBoxPropertyEditor extends OptionPropertyEditor
OptionPropertyEditor
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JComboBox |
combo |
customEditor, OptionsProperty, ScopedOptionsProperty
propertyPrefix
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor and Description |
---|
ComboBoxPropertyEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText()
Returns String from option choices.
|
void |
setOptions(java.lang.String[] options) |
void |
setValue(java.lang.Object string)
Sets option based on string.
|
focusGained, focusLost, getCustomEditor, setCustomEditor, setProperties, supportsCustomEditor
getProperties, getPropertyInfo, getPropertyPrefix, setProperties, setPropertyPrefix
public void setOptions(java.lang.String[] options)
setOptions
in class OptionPropertyEditor
public void setValue(java.lang.Object string)
setValue
in interface java.beans.PropertyEditor
setValue
in class OptionPropertyEditor
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class OptionPropertyEditor
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details