cz.psika.numerist
Enum SharedActions.Actions

java.lang.Object
  extended by java.lang.Enum<SharedActions.Actions>
      extended by cz.psika.numerist.SharedActions.Actions
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SharedActions.Actions>
Enclosing class:
SharedActions

public static enum SharedActions.Actions
extends java.lang.Enum<SharedActions.Actions>

Shareable actions.

Author:
Tomas Psika

Enum Constant Summary
CLEAR_DIAGRAMS
          Clear diagram(s) inside main content area.
DELETE_ALL
          Delete all diagrams and update GUI elements.
DELETE_SELECTED
          Delete the diagram selected.
CHANGE_SORT_TYPE
          Change sorting order.
SAVE_FILE
          Saving file contents.
SORT_ITEMS
          Sort items by currently selected criteria.
 
Method Summary
static SharedActions.Actions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SharedActions.Actions[] 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

DELETE_ALL

public static final SharedActions.Actions DELETE_ALL
Delete all diagrams and update GUI elements.


CLEAR_DIAGRAMS

public static final SharedActions.Actions CLEAR_DIAGRAMS
Clear diagram(s) inside main content area.


SAVE_FILE

public static final SharedActions.Actions SAVE_FILE
Saving file contents.


DELETE_SELECTED

public static final SharedActions.Actions DELETE_SELECTED
Delete the diagram selected.


SORT_ITEMS

public static final SharedActions.Actions SORT_ITEMS
Sort items by currently selected criteria.


CHANGE_SORT_TYPE

public static final SharedActions.Actions CHANGE_SORT_TYPE
Change sorting order.

Method Detail

values

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

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

valueOf

public static SharedActions.Actions 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