- java.lang.Object
-
- java.lang.Enum<LabelName>
-
- de.jangassen.labels.LabelName
-
- All Implemented Interfaces:
Serializable,Comparable<LabelName>
public enum LabelName extends Enum<LabelName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOUTBRING_ALL_TO_FRONTCLOSE_WINDOWCYCLE_THROUGH_WINDOWSEDITFILEHELPHIDEHIDE_OTHERSMINIMIZEQUITSHOW_ALLVIEWWINDOWZOOM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPropertyKey()static LabelNamevalueOf(String name)Returns the enum constant of this type with the specified name.static LabelName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIDE
public static final LabelName HIDE
-
QUIT
public static final LabelName QUIT
-
ABOUT
public static final LabelName ABOUT
-
SHOW_ALL
public static final LabelName SHOW_ALL
-
HIDE_OTHERS
public static final LabelName HIDE_OTHERS
-
MINIMIZE
public static final LabelName MINIMIZE
-
ZOOM
public static final LabelName ZOOM
-
CLOSE_WINDOW
public static final LabelName CLOSE_WINDOW
-
BRING_ALL_TO_FRONT
public static final LabelName BRING_ALL_TO_FRONT
-
CYCLE_THROUGH_WINDOWS
public static final LabelName CYCLE_THROUGH_WINDOWS
-
FILE
public static final LabelName FILE
-
WINDOW
public static final LabelName WINDOW
-
VIEW
public static final LabelName VIEW
-
HELP
public static final LabelName HELP
-
EDIT
public static final LabelName EDIT
-
-
Method Detail
-
values
public static LabelName[] 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 (LabelName c : LabelName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LabelName valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getPropertyKey
public String getPropertyKey()
-
-