public static enum Toolbar.ComboBoxValues extends java.lang.Enum<Toolbar.ComboBoxValues>
| Enum Constant and Description |
|---|
NONE |
PRIORITY1 |
PRIORITY2 |
PRIORITY3 |
| Modifier and Type | Field and Description |
|---|---|
AlarmGUIType |
guiType
The AlarmGUIType related to this ComboBox value
|
javax.swing.JLabel |
normalRenderer
Normal renderer
|
javax.swing.JLabel |
selectedRenderer
Normal renderer
|
java.lang.String |
title
The title of the value
|
| Modifier and Type | Method and Description |
|---|---|
static int |
getHeight()
Return the height of each label
|
static int |
getWidth()
Return the width of each label
|
static void |
initSizes()
Init the sizes of all the labels
|
static Toolbar.ComboBoxValues |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Toolbar.ComboBoxValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Toolbar.ComboBoxValues NONE
public static final Toolbar.ComboBoxValues PRIORITY3
public static final Toolbar.ComboBoxValues PRIORITY2
public static final Toolbar.ComboBoxValues PRIORITY1
public final java.lang.String title
public final javax.swing.JLabel normalRenderer
public final javax.swing.JLabel selectedRenderer
public final AlarmGUIType guiType
public static Toolbar.ComboBoxValues[] values()
for (Toolbar.ComboBoxValues c : Toolbar.ComboBoxValues.values()) System.out.println(c);
public static Toolbar.ComboBoxValues valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static void initSizes()
public static int getHeight()
public static int getWidth()