org.vectomatic.client.rep.view
Enum Cursor
java.lang.Object
java.lang.Enum<Cursor>
org.vectomatic.client.rep.view.Cursor
- All Implemented Interfaces:
- Serializable, Comparable<Cursor>
public enum Cursor
- extends Enum<Cursor>
Enum to represent the different cursors
- Author:
- Lukas Laag
Method Summary |
String |
getCssText()
|
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. |
CURSOR_POINTER
public static final Cursor CURSOR_POINTER
CURSOR_NW_RESIZE
public static final Cursor CURSOR_NW_RESIZE
CURSOR_N_RESIZE
public static final Cursor CURSOR_N_RESIZE
CURSOR_NE_RESIZE
public static final Cursor CURSOR_NE_RESIZE
CURSOR_W_RESIZE
public static final Cursor CURSOR_W_RESIZE
CURSOR_E_RESIZE
public static final Cursor CURSOR_E_RESIZE
CURSOR_SW_RESIZE
public static final Cursor CURSOR_SW_RESIZE
CURSOR_S_RESIZE
public static final Cursor CURSOR_S_RESIZE
CURSOR_SE_RESIZE
public static final Cursor CURSOR_SE_RESIZE
CURSOR_MOVE
public static final Cursor CURSOR_MOVE
CURSOR_ROTATE
public static final Cursor CURSOR_ROTATE
CURSOR_PICK_COLOR
public static final Cursor CURSOR_PICK_COLOR
CURSOR_OPEN_POLYLINE
public static final Cursor CURSOR_OPEN_POLYLINE
CURSOR_CLOSED_POLYLINE
public static final Cursor CURSOR_CLOSED_POLYLINE
CURSOR_CROSSHAIR
public static final Cursor CURSOR_CROSSHAIR
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
getCssText
public String getCssText()
Copyright © 2010. All Rights Reserved.