EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.model
Enum Cursor

java.lang.Object
  extended by java.lang.Enum<Cursor>
      extended by echopoint.model.Cursor
All Implemented Interfaces:
Serializable, Comparable<Cursor>

public enum Cursor
extends Enum<Cursor>

Enumeration of the standard CSS2 cursors. Note that the Enum.toString() method should be used in component sync peers to ensure that the proper cursor style values are used.

Version:
$Id: Cursor.java 262 2009-12-18 21:29:16Z sptrakesh $
Author:
Rakesh Vidyadharan 2009-12-18

Enum Constant Summary
auto
          The preferred cursor type for the browser.
crosshair
          The cross-hair cursor.
east
          The right pointing arrow cursor.
hand
          The hand cursor.
help
          The question mark cursor
move
          The move cursor
north
          The north pointing cursor
northEast
          The north-east pointing cursor
northWest
          The north-west pointing cursor
south
          The south pointing cursor
southEast
          The south-east pointing cursor
southWest
          The south-west pointing cursor
text
          The text (I-beam) cursor
wait
          The wait (hour-glass) cursor
west
          The west pointing cursor
 
Method Summary
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

auto

public static final Cursor auto
The preferred cursor type for the browser.


crosshair

public static final Cursor crosshair
The cross-hair cursor.


east

public static final Cursor east
The right pointing arrow cursor.


hand

public static final Cursor hand
The hand cursor.


help

public static final Cursor help
The question mark cursor


move

public static final Cursor move
The move cursor


north

public static final Cursor north
The north pointing cursor


northEast

public static final Cursor northEast
The north-east pointing cursor


northWest

public static final Cursor northWest
The north-west pointing cursor


south

public static final Cursor south
The south pointing cursor


southEast

public static final Cursor southEast
The south-east pointing cursor


southWest

public static final Cursor southWest
The south-west pointing cursor


text

public static final Cursor text
The text (I-beam) cursor


west

public static final Cursor west
The west pointing cursor


wait

public static final Cursor wait
The wait (hour-glass) cursor

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

EchoPoint API - 3.0.0b5
App Webcontainer