Class OptionDropdownEditor<T extends Enum<T>>
java.lang.Object
com.inductiveautomation.ignition.common.util.AbstractChangeable
com.inductiveautomation.perspective.designer.styles.StyleAttributeEditor
com.inductiveautomation.perspective.designer.styles.editors.OptionDropdownEditor<T>
- All Implemented Interfaces:
Changeable
Option editor for attributes who a large number of options, more than 4-5. The options will be displayed in a
dropdown component.
-
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 -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
protected void
prepareRenderer
(com.inductiveautomation.plaf.ComboListCellRenderer renderer, T value, int index, boolean isSelected, boolean cellHasFocus) void
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 Details
-
OptionDropdownEditor
-
-
Method Details
-
prepareRenderer
protected void prepareRenderer(com.inductiveautomation.plaf.ComboListCellRenderer renderer, T value, int index, boolean isSelected, boolean cellHasFocus) -
getComponent
- Specified by:
getComponent
in classStyleAttributeEditor
-
getValue
- Specified by:
getValue
in classStyleAttributeEditor
-
setValue
- Specified by:
setValue
in classStyleAttributeEditor
-