public class ListSelectionPropertyEditor extends PropertyEditor
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JComboBox |
defaultEditor |
protected javax.swing.ComboBoxModel |
model |
protected java.lang.String[] |
values |
key, po
Constructor and Description |
---|
ListSelectionPropertyEditor(java.lang.String[] values) |
Modifier and Type | Method and Description |
---|---|
void |
free()
Frees the resources of this PropertyEditor.
|
java.awt.Component |
getComponent()
Returns the editor component
|
PropertyEditorType |
getType() |
java.lang.String |
getValue()
Returns the result as String
|
java.lang.String[] |
getValues() |
boolean |
isReadOnly() |
void |
setReadOnly(boolean b) |
void |
setValue(java.lang.String value)
Sets the input
|
getProcessObject, getPropertyKey, setProcessObject, update
protected javax.swing.JComboBox defaultEditor
protected javax.swing.ComboBoxModel model
protected java.lang.String[] values
public ListSelectionPropertyEditor(java.lang.String[] values)
public java.awt.Component getComponent()
PropertyEditor
getComponent
in class PropertyEditor
public java.lang.String getValue()
PropertyEditor
getValue
in class PropertyEditor
public java.lang.String[] getValues()
public void setValue(java.lang.String value)
PropertyEditor
setValue
in class PropertyEditor
public PropertyEditorType getType()
getType
in class PropertyEditor
public boolean isReadOnly()
isReadOnly
in class PropertyEditor
public void setReadOnly(boolean b)
setReadOnly
in class PropertyEditor
public void free()
PropertyEditor
free
in class PropertyEditor