Package net.sf.jguiraffe.gui.app
Enum ApplicationResources.Keys
- java.lang.Object
-
- java.lang.Enum<ApplicationResources.Keys>
-
- net.sf.jguiraffe.gui.app.ApplicationResources.Keys
-
- All Implemented Interfaces:
Serializable
,Comparable<ApplicationResources.Keys>
- Enclosing class:
- ApplicationResources
public static enum ApplicationResources.Keys extends Enum<ApplicationResources.Keys>
An enumeration class defining the keys of all resources contained within the application default resource bundle.
- Version:
- $Id: ApplicationResources.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXIT_ACTION_MNEMO
The standard mnemonic for the exit action.EXIT_ACTION_TEXT
The standard text for the exit action.EXIT_ACTION_TOOLTIP
The standard tool tip for the exit action.EXIT_PROMPT_MSG
The message of the application exit prompt dialog.EXIT_PROMPT_TIT
The title of the application exit prompt dialog.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApplicationResources.Keys
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApplicationResources.Keys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXIT_PROMPT_MSG
public static final ApplicationResources.Keys EXIT_PROMPT_MSG
The message of the application exit prompt dialog.
-
EXIT_PROMPT_TIT
public static final ApplicationResources.Keys EXIT_PROMPT_TIT
The title of the application exit prompt dialog.
-
EXIT_ACTION_TEXT
public static final ApplicationResources.Keys EXIT_ACTION_TEXT
The standard text for the exit action.
-
EXIT_ACTION_TOOLTIP
public static final ApplicationResources.Keys EXIT_ACTION_TOOLTIP
The standard tool tip for the exit action.
-
EXIT_ACTION_MNEMO
public static final ApplicationResources.Keys EXIT_ACTION_MNEMO
The standard mnemonic for the exit action.
-
-
Method Detail
-
values
public static ApplicationResources.Keys[] 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 (ApplicationResources.Keys c : ApplicationResources.Keys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationResources.Keys 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
-
-