com.ezware.dialog.task
Enum TaskDialog.CommandTag

java.lang.Object
  extended by java.lang.Enum<TaskDialog.CommandTag>
      extended by com.ezware.dialog.task.TaskDialog.CommandTag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TaskDialog.CommandTag>
Enclosing class:
TaskDialog

public static enum TaskDialog.CommandTag
extends java.lang.Enum<TaskDialog.CommandTag>

Standard Command Tags, correspond directly to button tags in MigLayout


Enum Constant Summary
APPLY
           
BACK
           
CANCEL
           
FINISH
           
HELP
           
HELP2
           
LEFT
           
NEXT
           
NO
           
OK
           
RIGHT
           
YES
           
 
Method Summary
 java.lang.String toString()
           
static TaskDialog.CommandTag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TaskDialog.CommandTag[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OK

public static final TaskDialog.CommandTag OK

CANCEL

public static final TaskDialog.CommandTag CANCEL

HELP

public static final TaskDialog.CommandTag HELP

HELP2

public static final TaskDialog.CommandTag HELP2

YES

public static final TaskDialog.CommandTag YES

NO

public static final TaskDialog.CommandTag NO

APPLY

public static final TaskDialog.CommandTag APPLY

NEXT

public static final TaskDialog.CommandTag NEXT

BACK

public static final TaskDialog.CommandTag BACK

FINISH

public static final TaskDialog.CommandTag FINISH

LEFT

public static final TaskDialog.CommandTag LEFT

RIGHT

public static final TaskDialog.CommandTag RIGHT
Method Detail

values

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

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

valueOf

public static TaskDialog.CommandTag 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<TaskDialog.CommandTag>


Copyright © 2010 ezware. All Rights Reserved.