public class DynamicListSelectionPropertyEditor extends PropertyEditor
Modifier and Type | Field and Description |
---|---|
protected ListDataSource |
data |
protected javax.swing.JComboBox |
defaultEditor |
protected boolean |
isEditable |
protected javax.swing.ComboBoxModel |
model |
key, po
Constructor and Description |
---|
DynamicListSelectionPropertyEditor(ListDataSource data,
boolean isEditable)
Creates a new dynamic List selection editor that can provide an editor for
custom 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
|
boolean |
isEditable() |
boolean |
isReadOnly() |
void |
setReadOnly(boolean b) |
void |
setValue(java.lang.String value)
Sets the input
|
void |
update()
Updates the content of this PropertyEditor.
|
getProcessObject, getPropertyKey, setProcessObject
protected javax.swing.JComboBox defaultEditor
protected javax.swing.ComboBoxModel model
protected ListDataSource data
protected boolean isEditable
public DynamicListSelectionPropertyEditor(ListDataSource data, boolean isEditable)
data
- isEditable
- public boolean isEditable()
public void update()
PropertyEditor
update
in class PropertyEditor
public java.awt.Component getComponent()
PropertyEditor
getComponent
in class PropertyEditor
public java.lang.String getValue()
PropertyEditor
getValue
in class PropertyEditor
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