com.ezware.dialog.task
Enum TaskDialog.CommandTag
java.lang.Object
java.lang.Enum<TaskDialog.CommandTag>
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
| 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 |
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
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.