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
attributeFields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
changeEvent, listenerList - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetValue()protected voidprepareRenderer(com.inductiveautomation.plaf.ComboListCellRenderer renderer, T value, int index, boolean isSelected, boolean cellHasFocus) voidMethods inherited from class com.inductiveautomation.perspective.designer.styles.StyleAttributeEditor
getAttribute, optionToStringMethods 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:
 getComponentin classStyleAttributeEditor
 - 
getValue
- Specified by:
 getValuein classStyleAttributeEditor
 - 
setValue
- Specified by:
 setValuein classStyleAttributeEditor
 
 -