com.osbcp.css.constants
Enum Cursor

java.lang.Object
  extended by java.lang.Enum<Cursor>
      extended by com.osbcp.css.constants.Cursor
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Cursor>

public enum Cursor
extends java.lang.Enum<Cursor>
implements java.io.Serializable

Values for the cursor property.

Author:
Christoffer Pettersson
See Also:
CSS cursor Property

Enum Constant Summary
AUTO
          Default.
CROSSHAIR
          The cursor render as a crosshair.
DEFAULT
          The default cursor.
E_RESIZE
          The cursor indicates that an edge of a box is to be moved right (east).
HELP
          The cursor indicates that help is available.
INHERIT
          Specifies that the value of the cursor property should be inherited from the parent element.
MOVE
          The cursor indicates something that should be moved.
N_RESIZE
          The cursor indicates that an edge of a box is to be moved up (north).
NE_RESIZE
          The cursor indicates that an edge of a box is to be moved up and right (north/east).
NW_RESIZE
          The cursor indicates that an edge of a box is to be moved up and left (north/west).
POINTER
          The cursor render as a pointer.
PROGRESS
          The cursor indicates that the program is busy (in progress).
S_RESIZE
          The cursor indicates that an edge of a box is to be moved down (south).
SE_RESIZE
          The cursor indicates that an edge of a box is to be moved down and right (south/east).
SW_RESIZE
          The cursor indicates that an edge of a box is to be moved down and left (south/west).
TEXT
          The cursor indicates text.
W_RESIZE
          The cursor indicates that an edge of a box is to be moved left (west).
WAIT
          The cursor indicates that the program is busy.
 
Method Summary
 java.lang.String toString()
           
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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POINTER

public static final Cursor POINTER
The cursor render as a pointer.


CROSSHAIR

public static final Cursor CROSSHAIR
The cursor render as a crosshair.


MOVE

public static final Cursor MOVE
The cursor indicates something that should be moved.


TEXT

public static final Cursor TEXT
The cursor indicates text.


WAIT

public static final Cursor WAIT
The cursor indicates that the program is busy.


HELP

public static final Cursor HELP
The cursor indicates that help is available.


PROGRESS

public static final Cursor PROGRESS
The cursor indicates that the program is busy (in progress).


DEFAULT

public static final Cursor DEFAULT
The default cursor.


AUTO

public static final Cursor AUTO
Default. The browser sets a cursor.


N_RESIZE

public static final Cursor N_RESIZE
The cursor indicates that an edge of a box is to be moved up (north).


NE_RESIZE

public static final Cursor NE_RESIZE
The cursor indicates that an edge of a box is to be moved up and right (north/east).


NW_RESIZE

public static final Cursor NW_RESIZE
The cursor indicates that an edge of a box is to be moved up and left (north/west).


S_RESIZE

public static final Cursor S_RESIZE
The cursor indicates that an edge of a box is to be moved down (south).


SE_RESIZE

public static final Cursor SE_RESIZE
The cursor indicates that an edge of a box is to be moved down and right (south/east).


SW_RESIZE

public static final Cursor SW_RESIZE
The cursor indicates that an edge of a box is to be moved down and left (south/west).


W_RESIZE

public static final Cursor W_RESIZE
The cursor indicates that an edge of a box is to be moved left (west).


E_RESIZE

public static final Cursor E_RESIZE
The cursor indicates that an edge of a box is to be moved right (east).


INHERIT

public static final Cursor INHERIT
Specifies that the value of the cursor property should be inherited from the parent element.

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Cursor>