com.smartgwt.client.types
Enum Cursor

java.lang.Object
  extended by java.lang.Enum<Cursor>
      extended by com.smartgwt.client.types.Cursor
All Implemented Interfaces:
ValueEnum, java.io.Serializable, java.lang.Comparable<Cursor>

public enum Cursor
extends java.lang.Enum<Cursor>
implements ValueEnum

You can use whatever cursors are valid for your deployment platforms, but keep in mind that visual representation may vary by browser and OS.


Enum Constant Summary
ALL_SCROLL
           
ARROW
           
AUTO
          Use the default cursor for this element type in this browser/OS
COL_RESIZE
          Use the column resize cursor (horizontal double-tipped arrow)
CROSSHAIR
          Use the 'crosshair' ( + ) cursor.
DEFAULT
          Use the default arrow cursor for this browser/OS.
E_RESIZE
          Use the "east resize" cursor.
HAND
          Use the hand cursor.
HELP
          Use the 'help' cursor.
MOVE
          Use the "move" (crosshairs) cursor.
N_RESIZE
          Use the "north resize" cursor.
NE_RESIZE
          Use the "north-east resize" cursor.
NOT_ALLOWED
          Use the "not-allowed" cursor.
NW_RESIZE
          Use the "north-west resize" cursor.
POINTER
          Use the normal hand pointer that appears when you hover over a link
ROW_RESIZE
          Use the row resize cursor (vertical double-tipped arrow)
S_RESIZE
          Use the "south resize" cursor.
SE_RESIZE
          Use the "south-east resize" cursor.
SW_RESIZE
          Use the "south-west resize" cursor.
TEXT
          Use the 'text' (i-beam) cursor.
W_RESIZE
          Use the "west resize" cursor.
WAIT
          Use the wait cursor.
 
Method Summary
 java.lang.String getValue()
           
static Cursor valueOf(java.lang.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'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

ALL_SCROLL

public static final Cursor ALL_SCROLL

ARROW

public static final Cursor ARROW

DEFAULT

public static final Cursor DEFAULT
Use the default arrow cursor for this browser/OS.


AUTO

public static final Cursor AUTO
Use the default cursor for this element type in this browser/OS


WAIT

public static final Cursor WAIT
Use the wait cursor.


HAND

public static final Cursor HAND
Use the hand cursor.


MOVE

public static final Cursor MOVE
Use the "move" (crosshairs) cursor.


HELP

public static final Cursor HELP
Use the 'help' cursor.


TEXT

public static final Cursor TEXT
Use the 'text' (i-beam) cursor.


CROSSHAIR

public static final Cursor CROSSHAIR
Use the 'crosshair' ( + ) cursor.


COL_RESIZE

public static final Cursor COL_RESIZE
Use the column resize cursor (horizontal double-tipped arrow)


POINTER

public static final Cursor POINTER
Use the normal hand pointer that appears when you hover over a link


ROW_RESIZE

public static final Cursor ROW_RESIZE
Use the row resize cursor (vertical double-tipped arrow)


E_RESIZE

public static final Cursor E_RESIZE
Use the "east resize" cursor.


W_RESIZE

public static final Cursor W_RESIZE
Use the "west resize" cursor.


N_RESIZE

public static final Cursor N_RESIZE
Use the "north resize" cursor.


S_RESIZE

public static final Cursor S_RESIZE
Use the "south resize" cursor.


SE_RESIZE

public static final Cursor SE_RESIZE
Use the "south-east resize" cursor.


NE_RESIZE

public static final Cursor NE_RESIZE
Use the "north-east resize" cursor.


NW_RESIZE

public static final Cursor NW_RESIZE
Use the "north-west resize" cursor.


SW_RESIZE

public static final Cursor SW_RESIZE
Use the "south-west resize" cursor.


NOT_ALLOWED

public static final Cursor NOT_ALLOWED
Use the "not-allowed" cursor.

Method Detail

values

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

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

valueOf

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

getValue

public java.lang.String getValue()
Specified by:
getValue in interface ValueEnum