ca.sqlpower.architect.swingui
Enum PlayPen.MouseModeType

java.lang.Object
  extended by java.lang.Enum<PlayPen.MouseModeType>
      extended by ca.sqlpower.architect.swingui.PlayPen.MouseModeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PlayPen.MouseModeType>
Enclosing class:
PlayPen

public static enum PlayPen.MouseModeType
extends java.lang.Enum<PlayPen.MouseModeType>


Enum Constant Summary
CREATING_RELATIONSHIP
           
CREATING_TABLE
           
IDLE
           
MULTI_SELECT
           
RUBBERBAND_MOVE
           
SELECT_ITEM
           
SELECT_RELATIONSHIP
           
SELECT_SECTION
           
SELECT_TABLE
           
 
Method Summary
static PlayPen.MouseModeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PlayPen.MouseModeType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IDLE

public static final PlayPen.MouseModeType IDLE

CREATING_TABLE

public static final PlayPen.MouseModeType CREATING_TABLE

CREATING_RELATIONSHIP

public static final PlayPen.MouseModeType CREATING_RELATIONSHIP

SELECT_TABLE

public static final PlayPen.MouseModeType SELECT_TABLE

SELECT_RELATIONSHIP

public static final PlayPen.MouseModeType SELECT_RELATIONSHIP

SELECT_ITEM

public static final PlayPen.MouseModeType SELECT_ITEM

SELECT_SECTION

public static final PlayPen.MouseModeType SELECT_SECTION

MULTI_SELECT

public static final PlayPen.MouseModeType MULTI_SELECT

RUBBERBAND_MOVE

public static final PlayPen.MouseModeType RUBBERBAND_MOVE
Method Detail

values

public static final PlayPen.MouseModeType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PlayPen.MouseModeType c : PlayPen.MouseModeType.values())
        System.out.println(c);

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

valueOf

public static PlayPen.MouseModeType 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


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca