eu.webtoolkit.jwt
Enum Cursor

java.lang.Object
  extended by java.lang.Enum<Cursor>
      extended by eu.webtoolkit.jwt.Cursor
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Cursor>

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

Enumeration for a cursor style.

See Also:
WCssDecorationStyle.setCursor(Cursor c), WAbstractArea.setCursor(Cursor cursor)

Enum Constant Summary
ArrowCursor
          Arrow, CSS 'default' cursor.
AutoCursor
          Cursor chosen by the browser, CSS 'auto' cursor.
CrossCursor
          Crosshair, CSS 'cross' cursor.
IBeamCursor
          Text edit, CSS 'text' cursor.
OpenHandCursor
          Open hand, CSS 'move' cursor.
PointingHandCursor
          Pointing hand, CSS 'pointer' cursor.
WaitCursor
          Wait, CSS 'wait' cursor.
WhatsThisCursor
          Help, CSS 'help' cursor.
 
Method Summary
 int getValue()
          Returns the numerical representation of this enum.
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 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

ArrowCursor

public static final Cursor ArrowCursor
Arrow, CSS 'default' cursor.


AutoCursor

public static final Cursor AutoCursor
Cursor chosen by the browser, CSS 'auto' cursor.


CrossCursor

public static final Cursor CrossCursor
Crosshair, CSS 'cross' cursor.


PointingHandCursor

public static final Cursor PointingHandCursor
Pointing hand, CSS 'pointer' cursor.


OpenHandCursor

public static final Cursor OpenHandCursor
Open hand, CSS 'move' cursor.


WaitCursor

public static final Cursor WaitCursor
Wait, CSS 'wait' cursor.


IBeamCursor

public static final Cursor IBeamCursor
Text edit, CSS 'text' cursor.


WhatsThisCursor

public static final Cursor WhatsThisCursor
Help, CSS 'help' 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(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

getValue

public int getValue()
Returns the numerical representation of this enum.