public enum Cursor extends java.lang.Enum<Cursor> implements ValueEnum
cursor page for a live demonstration.| Enum Constant and Description | 
|---|
| ALL_SCROLL | 
| ARROW | 
| AUTOUse the default cursor for this element type in this browser/OS | 
| COL_RESIZEUse the column resize cursor (horizontal double-tipped arrow) | 
| CROSSHAIRUse the 'crosshair' ( + ) cursor. | 
| DEFAULTUse the default arrow cursor for this browser/OS. | 
| E_RESIZEUse the "east resize" cursor. | 
| HANDUse the hand cursor. | 
| HELPUse the 'help' cursor. | 
| MOVEUse the "move" (crosshairs) cursor. | 
| N_RESIZEUse the "north resize" cursor. | 
| NE_RESIZEUse the "north-east resize" cursor. | 
| NOT_ALLOWEDUse the "not-allowed" cursor. | 
| NW_RESIZEUse the "north-west resize" cursor. | 
| POINTERUse the normal hand pointer that appears when you hover over a link | 
| ROW_RESIZEUse the row resize cursor (vertical double-tipped arrow) | 
| S_RESIZEUse the "south resize" cursor. | 
| SE_RESIZEUse the "south-east resize" cursor. | 
| SW_RESIZEUse the "south-west resize" cursor. | 
| TEXTUse the 'text' (i-beam) cursor. | 
| W_RESIZEUse the "west resize" cursor. | 
| WAITUse the wait cursor. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 are declared. | 
public static final Cursor DEFAULT
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "default".
public static final Cursor AUTO
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "auto".
public static final Cursor WAIT
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "wait".
public static final Cursor HAND
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "hand".
public static final Cursor MOVE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "move".
public static final Cursor HELP
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "help".
public static final Cursor TEXT
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "text".
public static final Cursor POINTER
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "pointer".
public static final Cursor ARROW
public static final Cursor ALL_SCROLL
public static final Cursor CROSSHAIR
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "crosshair".
public static final Cursor COL_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "col-resize".
public static final Cursor ROW_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "row-resize".
public static final Cursor E_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "e-resize".
public static final Cursor W_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "w-resize".
public static final Cursor N_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "n-resize".
public static final Cursor S_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "s-resize".
public static final Cursor SE_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "se-resize".
public static final Cursor NE_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "ne-resize".
public static final Cursor NW_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "nw-resize".
public static final Cursor SW_RESIZE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "sw-resize".
public static final Cursor NOT_ALLOWED
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "not-allowed".
public static Cursor[] values()
for (Cursor c : Cursor.values()) System.out.println(c);
public static Cursor valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null