Graph Common

pl.psnc.graph.action.factory
Enum GraphActionType

java.lang.Object
  extended by java.lang.Enum<GraphActionType>
      extended by pl.psnc.graph.action.factory.GraphActionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GraphActionType>, pl.psnc.vlab.util.gui.action.factory.ActionType

public enum GraphActionType
extends java.lang.Enum<GraphActionType>
implements pl.psnc.vlab.util.gui.action.factory.ActionType

GraphActionType class - defines jgraph related actions.

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Enum Constant Summary
COPY
           
DELETE
           
PASTE
           
REDO
           
SAVE
           
UNDO
           
ZOOM_ACTUAL_SIZE
           
ZOOM_IN
           
ZOOM_OUT
           
 
Method Summary
 java.lang.Class<? extends pl.psnc.vlab.util.gui.action.AbstractActionDefault> getType()
           
static GraphActionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GraphActionType[] 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

COPY

public static final GraphActionType COPY

PASTE

public static final GraphActionType PASTE

DELETE

public static final GraphActionType DELETE

ZOOM_ACTUAL_SIZE

public static final GraphActionType ZOOM_ACTUAL_SIZE

ZOOM_IN

public static final GraphActionType ZOOM_IN

ZOOM_OUT

public static final GraphActionType ZOOM_OUT

UNDO

public static final GraphActionType UNDO

REDO

public static final GraphActionType REDO

SAVE

public static final GraphActionType SAVE
Method Detail

values

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

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

valueOf

public static GraphActionType 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

getType

public java.lang.Class<? extends pl.psnc.vlab.util.gui.action.AbstractActionDefault> getType()
Specified by:
getType in interface pl.psnc.vlab.util.gui.action.factory.ActionType

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa