Class LocalizedEnumListCellRenderer

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
javax.swing.DefaultListCellRenderer
com.inductiveautomation.plaf.ComboListCellRenderer
com.inductiveautomation.ignition.client.util.gui.i18n.LocalizedListCellRenderer
com.inductiveautomation.ignition.client.util.gui.i18n.LocalizedEnumListCellRenderer
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ListCellRenderer<Object>, SwingConstants

public class LocalizedEnumListCellRenderer extends LocalizedListCellRenderer
This class is used to render enum values for a list, in a localization friendly way. It is constructed with the base bundle key, on which it appends the enum's value in order to get the displayable text.
See Also:
  • Constructor Details

    • LocalizedEnumListCellRenderer

      public LocalizedEnumListCellRenderer(String propPath)
      Prop path the path to the localized property key upon which the name value of the enum will be appended.
  • Method Details