Class OptionDropdownEditor<T extends java.lang.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
 
 public class OptionDropdownEditor<T extends java.lang.Enum<T>> extends StyleAttributeEditor 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.StyleAttributeEditorattribute
 - 
Fields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeablechangeEvent, listenerList
 
- 
 - 
Constructor SummaryConstructors Constructor Description OptionDropdownEditor(StyleAttribute attribute, java.lang.Class<T> enumClass)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponentgetComponent()java.lang.StringgetValue()protected voidprepareRenderer(com.inductiveautomation.plaf.ComboListCellRenderer renderer, T value, int index, boolean isSelected, boolean cellHasFocus)voidsetValue(java.lang.String value)- 
Methods inherited from class com.inductiveautomation.perspective.designer.styles.StyleAttributeEditorgetAttribute, optionToString
 - 
Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeableaddChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
 
- 
 
- 
- 
- 
Constructor Detail- 
OptionDropdownEditorpublic OptionDropdownEditor(StyleAttribute attribute, java.lang.Class<T> enumClass) 
 
- 
 - 
Method Detail- 
prepareRendererprotected void prepareRenderer(com.inductiveautomation.plaf.ComboListCellRenderer renderer, T value, int index, boolean isSelected, boolean cellHasFocus)
 - 
getComponentpublic javax.swing.JComponent getComponent() - Specified by:
- getComponentin class- StyleAttributeEditor
 
 - 
getValuepublic java.lang.String getValue() - Specified by:
- getValuein class- StyleAttributeEditor
 
 - 
setValuepublic void setValue(java.lang.String value) - Specified by:
- setValuein class- StyleAttributeEditor
 
 
- 
 
-