facets.core.app
Enum ActionViewerTarget.Action

java.lang.Object
  extended by java.lang.Enum<ActionViewerTarget.Action>
      extended by facets.core.app.ActionViewerTarget.Action
All Implemented Interfaces:
ViewableAction, java.io.Serializable, java.lang.Comparable<ActionViewerTarget.Action>
Enclosing class:
ActionViewerTarget

public static enum ActionViewerTarget.Action
extends java.lang.Enum<ActionViewerTarget.Action>
implements ViewableAction

Defines a range of ViewableActions.


Enum Constant Summary
COPY
           
CUT
           
DELETE
           
EDIT
           
FOLDER_OPEN
           
FOLDER_UP
           
ITERATE_BACK
           
ITERATE_FORWARD
           
PASTE
           
PASTE_INTO
           
REDO
           
SELECT_ALL
           
UNDO
           
 
Field Summary
 
Fields inherited from interface facets.core.superficial.app.ViewableAction
NO_ACTIONS
 
Method Summary
 java.lang.String toString()
           
static ActionViewerTarget.Action valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ActionViewerTarget.Action[] 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

COPY

public static final ActionViewerTarget.Action COPY

CUT

public static final ActionViewerTarget.Action CUT

PASTE

public static final ActionViewerTarget.Action PASTE

PASTE_INTO

public static final ActionViewerTarget.Action PASTE_INTO

DELETE

public static final ActionViewerTarget.Action DELETE

EDIT

public static final ActionViewerTarget.Action EDIT

ITERATE_FORWARD

public static final ActionViewerTarget.Action ITERATE_FORWARD

ITERATE_BACK

public static final ActionViewerTarget.Action ITERATE_BACK

SELECT_ALL

public static final ActionViewerTarget.Action SELECT_ALL

FOLDER_UP

public static final ActionViewerTarget.Action FOLDER_UP

FOLDER_OPEN

public static final ActionViewerTarget.Action FOLDER_OPEN

UNDO

public static final ActionViewerTarget.Action UNDO

REDO

public static final ActionViewerTarget.Action REDO
Method Detail

values

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

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

valueOf

public static ActionViewerTarget.Action 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<ActionViewerTarget.Action>