org.vectomatic.client.rep.view
Enum Cursor

java.lang.Object
  extended by java.lang.Enum<Cursor>
      extended by org.vectomatic.client.rep.view.Cursor
All Implemented Interfaces:
Serializable, Comparable<Cursor>

public enum Cursor
extends Enum<Cursor>

Enum to represent the different cursors

Author:
Lukas Laag

Enum Constant Summary
CURSOR_CLOSED_POLYLINE
           
CURSOR_CROSSHAIR
           
CURSOR_E_RESIZE
           
CURSOR_MOVE
           
CURSOR_N_RESIZE
           
CURSOR_NE_RESIZE
           
CURSOR_NW_RESIZE
           
CURSOR_OPEN_POLYLINE
           
CURSOR_PICK_COLOR
           
CURSOR_POINTER
           
CURSOR_ROTATE
           
CURSOR_S_RESIZE
           
CURSOR_SE_RESIZE
           
CURSOR_SW_RESIZE
           
CURSOR_W_RESIZE
           
 
Method Summary
 String getCssText()
           
static Cursor valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Cursor[] 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

CURSOR_POINTER

public static final Cursor CURSOR_POINTER

CURSOR_NW_RESIZE

public static final Cursor CURSOR_NW_RESIZE

CURSOR_N_RESIZE

public static final Cursor CURSOR_N_RESIZE

CURSOR_NE_RESIZE

public static final Cursor CURSOR_NE_RESIZE

CURSOR_W_RESIZE

public static final Cursor CURSOR_W_RESIZE

CURSOR_E_RESIZE

public static final Cursor CURSOR_E_RESIZE

CURSOR_SW_RESIZE

public static final Cursor CURSOR_SW_RESIZE

CURSOR_S_RESIZE

public static final Cursor CURSOR_S_RESIZE

CURSOR_SE_RESIZE

public static final Cursor CURSOR_SE_RESIZE

CURSOR_MOVE

public static final Cursor CURSOR_MOVE

CURSOR_ROTATE

public static final Cursor CURSOR_ROTATE

CURSOR_PICK_COLOR

public static final Cursor CURSOR_PICK_COLOR

CURSOR_OPEN_POLYLINE

public static final Cursor CURSOR_OPEN_POLYLINE

CURSOR_CLOSED_POLYLINE

public static final Cursor CURSOR_CLOSED_POLYLINE

CURSOR_CROSSHAIR

public static final Cursor CURSOR_CROSSHAIR
Method Detail

values

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

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

valueOf

public static Cursor valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getCssText

public String getCssText()


Copyright © 2010. All Rights Reserved.