public static enum PluginAction.Property extends java.lang.Enum<PluginAction.Property>
Enum Constant and Description |
---|
ENABLED
The key of the property of
Boolean type that specifies
if an action is enabled or not. |
MENU
The key of the property of
String type that specifies
in which menu of the main menu bar an action should appear. |
MNEMONIC
The key of the property of
Character type that specifies
the ASCII character used as the mnemonic of an action. |
NAME
The key of the property of
String type that specifies
the name of an action, used for a menu or button. |
SHORT_DESCRIPTION
The key of the property of
String type that specifies
a short description of an action, used for tool tip text. |
SMALL_ICON
The key of the property of
Content type that specifies
an image content of an action, used for tool bar buttons. |
TOOL_BAR
The key of the property of
Boolean type that specifies
if an action will appear in the main tool bar. |
Modifier and Type | Method and Description |
---|---|
static PluginAction.Property |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluginAction.Property[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginAction.Property NAME
String
type that specifies
the name of an action, used for a menu or button.public static final PluginAction.Property SHORT_DESCRIPTION
String
type that specifies
a short description of an action, used for tool tip text.public static final PluginAction.Property SMALL_ICON
Content
type that specifies
an image content of an action, used for tool bar buttons.public static final PluginAction.Property MNEMONIC
Character
type that specifies
the ASCII character used as the mnemonic of an action.public static final PluginAction.Property TOOL_BAR
Boolean
type that specifies
if an action will appear in the main tool bar.public static final PluginAction.Property MENU
String
type that specifies
in which menu of the main menu bar an action should appear.public static final PluginAction.Property ENABLED
Boolean
type that specifies
if an action is enabled or not.public static PluginAction.Property[] values()
for (PluginAction.Property c : PluginAction.Property.values()) System.out.println(c);
public static PluginAction.Property 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 null
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License