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 SummaryFields inherited from class com.inductiveautomation.perspective.designer.styles.StyleAttributeEditorattributeFields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeablechangeEvent, listenerList
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.StyleAttributeEditorgetAttribute, optionToStringMethods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeableaddChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
- 
Constructor Details- 
OptionDropdownEditor
 
- 
- 
Method Details- 
prepareRendererprotected void prepareRenderer(com.inductiveautomation.plaf.ComboListCellRenderer renderer, T value, int index, boolean isSelected, boolean cellHasFocus) 
- 
getComponent- Specified by:
- getComponentin class- StyleAttributeEditor
 
- 
getValue- Specified by:
- getValuein class- StyleAttributeEditor
 
- 
setValue- Specified by:
- setValuein class- StyleAttributeEditor
 
 
-