pl.mbdev.openstage
Enum IppCommand.Default

java.lang.Object
  extended by java.lang.Enum<IppCommand.Default>
      extended by pl.mbdev.openstage.IppCommand.Default
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IppCommand.Default>
Enclosing class:
IppCommand

public static enum IppCommand.Default
extends java.lang.Enum<IppCommand.Default>

Possible values of a field that indicates whether this command will be a default command in the context menu.

Author:
Mateusz Bysiek

Enum Constant Summary
NO
          It will not be default.
YES
          It will be default, unless there already is a default command.
 
Method Summary
static IppCommand.Default valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IppCommand.Default[] 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

YES

public static final IppCommand.Default YES
It will be default, unless there already is a default command.


NO

public static final IppCommand.Default NO
It will not be default.

Method Detail

values

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

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

valueOf

public static IppCommand.Default 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