Package de.willuhn.jameica.gui.parts
Enum InfoPanel.DrawState
- java.lang.Object
-
- java.lang.Enum<InfoPanel.DrawState>
-
- de.willuhn.jameica.gui.parts.InfoPanel.DrawState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InfoPanel.DrawState>
- Enclosing class:
- InfoPanel
public static enum InfoPanel.DrawState extends java.lang.Enum<InfoPanel.DrawState>
Enums fuer die verschiedenen Zustaende beim Zeichnen des Info-Panel. Kann fuer Erweiterungen genutzt werden.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUTTONS_AFTER
BUTTONS_BEFORE
COMMENT_AFTER
COMMENT_BEFORE
ICON_AFTER
ICON_BEFORE
LINK_AFTER
LINK_BEFORE
TEXT_AFTER
TEXT_BEFORE
TITLE_AFTER
TITLE_BEFORE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InfoPanel.DrawState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InfoPanel.DrawState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ICON_BEFORE
public static final InfoPanel.DrawState ICON_BEFORE
-
ICON_AFTER
public static final InfoPanel.DrawState ICON_AFTER
-
TITLE_BEFORE
public static final InfoPanel.DrawState TITLE_BEFORE
-
TITLE_AFTER
public static final InfoPanel.DrawState TITLE_AFTER
-
TEXT_BEFORE
public static final InfoPanel.DrawState TEXT_BEFORE
-
TEXT_AFTER
public static final InfoPanel.DrawState TEXT_AFTER
-
LINK_BEFORE
public static final InfoPanel.DrawState LINK_BEFORE
-
LINK_AFTER
public static final InfoPanel.DrawState LINK_AFTER
-
COMMENT_BEFORE
public static final InfoPanel.DrawState COMMENT_BEFORE
-
COMMENT_AFTER
public static final InfoPanel.DrawState COMMENT_AFTER
-
BUTTONS_BEFORE
public static final InfoPanel.DrawState BUTTONS_BEFORE
-
BUTTONS_AFTER
public static final InfoPanel.DrawState BUTTONS_AFTER
-
-
Method Detail
-
values
public static InfoPanel.DrawState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InfoPanel.DrawState c : InfoPanel.DrawState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InfoPanel.DrawState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-