Class EditableDropdownEditor<T>
- java.lang.Object
-
- com.inductiveautomation.ignition.common.util.AbstractChangeable
-
- com.inductiveautomation.perspective.designer.styles.StyleAttributeEditor
-
- com.inductiveautomation.perspective.designer.styles.editors.EditableDropdownEditor<T>
-
- All Implemented Interfaces:
Changeable
public class EditableDropdownEditor<T> extends StyleAttributeEditor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
EditableDropdownEditor.Renderer
-
Field Summary
-
Fields inherited from class com.inductiveautomation.perspective.designer.styles.StyleAttributeEditor
attribute
-
Fields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
changeEvent, listenerList
-
-
Constructor Summary
Constructors Constructor Description EditableDropdownEditor(StyleAttribute attribute, java.util.List<T> choices)
EditableDropdownEditor(StyleAttribute attribute, T[] choices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
getComponent()
java.lang.String
getValue()
protected javax.swing.ListCellRenderer
newListCellRenderer()
void
setValue(java.lang.String value)
-
Methods inherited from class com.inductiveautomation.perspective.designer.styles.StyleAttributeEditor
getAttribute, optionToString
-
Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
-
-
-
-
Constructor Detail
-
EditableDropdownEditor
public EditableDropdownEditor(StyleAttribute attribute, T[] choices)
-
EditableDropdownEditor
public EditableDropdownEditor(StyleAttribute attribute, java.util.List<T> choices)
-
-
Method Detail
-
newListCellRenderer
protected javax.swing.ListCellRenderer newListCellRenderer()
-
getComponent
public javax.swing.JComponent getComponent()
- Specified by:
getComponent
in classStyleAttributeEditor
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in classStyleAttributeEditor
-
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue
in classStyleAttributeEditor
-
-