|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.PropertyEditorSupport com.bbn.openmap.util.propertyEditor.PropertyConsumerPropertyEditor com.bbn.openmap.util.propertyEditor.OptionPropertyEditor com.bbn.openmap.util.propertyEditor.ComboBoxPropertyEditor
public class ComboBoxPropertyEditor
The ComboBoxPropertyEditor provides a set of options within a JComboBox.
OptionPropertyEditor
Field Summary | |
---|---|
protected javax.swing.JComboBox |
combo
|
Fields inherited from class com.bbn.openmap.util.propertyEditor.OptionPropertyEditor |
---|
customEditor, OptionsProperty, ScopedOptionsProperty |
Fields inherited from class com.bbn.openmap.util.propertyEditor.PropertyConsumerPropertyEditor |
---|
propertyPrefix |
Fields inherited from interface com.bbn.openmap.PropertyConsumer |
---|
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty |
Constructor Summary | |
---|---|
ComboBoxPropertyEditor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.bbn.openmap.util.propertyEditor.OptionPropertyEditor |
---|
focusGained, focusLost, getCustomEditor, setCustomEditor, setProperties, supportsCustomEditor |
Methods inherited from class com.bbn.openmap.util.propertyEditor.PropertyConsumerPropertyEditor |
---|
getProperties, getPropertyInfo, getPropertyPrefix, setProperties, setPropertyPrefix |
Methods inherited from class java.beans.PropertyEditorSupport |
---|
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.swing.JComboBox combo
Constructor Detail |
---|
public ComboBoxPropertyEditor()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |