public enum Cursor extends java.lang.Enum<Cursor> implements ValueEnum
cursor page for a live demonstration.| Enum Constant and Description |
|---|
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. |
| 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