|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PluginAction.Property>
com.eteks.sweethome3d.plugin.PluginAction.Property
public static enum PluginAction.Property
Enumeration of the various properties this action may define.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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.
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
![]() |
? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |