org.pm4j.core.pm
Enum PmCommand.CommandSet

java.lang.Object
  extended by java.lang.Enum<PmCommand.CommandSet>
      extended by org.pm4j.core.pm.PmCommand.CommandSet
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PmCommand.CommandSet>
Enclosing interface:
PmCommand

public static enum PmCommand.CommandSet
extends java.lang.Enum<PmCommand.CommandSet>


Enum Constant Summary
ALL
           
BUTTONS
           
MENU_BAR
           
POPUP
           
TOOL_BAR
           
 
Method Summary
static PmCommand.CommandSet valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PmCommand.CommandSet[] 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

ALL

public static final PmCommand.CommandSet ALL

POPUP

public static final PmCommand.CommandSet POPUP

MENU_BAR

public static final PmCommand.CommandSet MENU_BAR

TOOL_BAR

public static final PmCommand.CommandSet TOOL_BAR

BUTTONS

public static final PmCommand.CommandSet BUTTONS
Method Detail

values

public static PmCommand.CommandSet[] 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 (PmCommand.CommandSet c : PmCommand.CommandSet.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PmCommand.CommandSet 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 name
java.lang.NullPointerException - if the argument is null