Package io.github.jonestimd.swing
Enum SwingResource
- java.lang.Object
-
- java.lang.Enum<SwingResource>
-
- io.github.jonestimd.swing.SwingResource
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SwingResource>
public enum SwingResource extends java.lang.Enum<SwingResource>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
key
static char
KEY_SEPARATOR
static char
NAME_SEPARATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getChar()
char
getChar(java.util.ResourceBundle bundle)
java.awt.Color
getColor()
java.awt.Color
getColor(java.util.ResourceBundle bundle)
java.lang.String
getString()
static java.lang.String
getString(java.lang.String key)
java.lang.String
getString(java.util.ResourceBundle bundle)
static SwingResource
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SwingResource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUTTON_TOOLTIP_ACCELERATOR_FORMAT
public static final SwingResource BUTTON_TOOLTIP_ACCELERATOR_FORMAT
-
FILTER_OPERATOR_SYMBOL_AND
public static final SwingResource FILTER_OPERATOR_SYMBOL_AND
-
FILTER_OPERATOR_SYMBOL_OR
public static final SwingResource FILTER_OPERATOR_SYMBOL_OR
-
FILTER_OPERATOR_SYMBOL_NOT
public static final SwingResource FILTER_OPERATOR_SYMBOL_NOT
-
FILTER_OPERATOR_SYMBOL_GROUP_START
public static final SwingResource FILTER_OPERATOR_SYMBOL_GROUP_START
-
FILTER_OPERATOR_SYMBOL_GROUP_END
public static final SwingResource FILTER_OPERATOR_SYMBOL_GROUP_END
-
VALIDATION_MESSAGE_BACKGROUND
public static final SwingResource VALIDATION_MESSAGE_BACKGROUND
-
-
Field Detail
-
NAME_SEPARATOR
public static final char NAME_SEPARATOR
- See Also:
- Constant Field Values
-
KEY_SEPARATOR
public static final char KEY_SEPARATOR
- See Also:
- Constant Field Values
-
key
public final java.lang.String key
-
-
Method Detail
-
values
public static SwingResource[] 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 (SwingResource c : SwingResource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SwingResource 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
-
getString
public java.lang.String getString(java.util.ResourceBundle bundle)
-
getString
public java.lang.String getString()
-
getChar
public char getChar(java.util.ResourceBundle bundle)
-
getChar
public char getChar()
-
getColor
public java.awt.Color getColor(java.util.ResourceBundle bundle)
-
getColor
public java.awt.Color getColor()
-
getString
public static java.lang.String getString(java.lang.String key)
-
-