|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Cursor>
com.guiseframework.platform.web.Cursor
public enum Cursor
Standard Guise cursors that are converted to predefined CSS cursors. These cursors allow predefined dummy URIs to be mapped to predefined CSS cursors. These URIs are constructed by using the path with the serialized form of the enum appended.
| Enum Constant Summary | |
|---|---|
CROSSHAIR
A simple crosshair (e.g., short line segments resembling a "+" sign). |
|
DEFAULT
The platform-dependent default cursor. |
|
HELP
Help is available for the object under the cursor. |
|
MOVE
Indicates something is to be moved. |
|
POINTER
The cursor is a pointer that indicates a link. |
|
PROGRESS
A progress indicator. |
|
RESIZE_LINE_FAR
Indicate that some edge is to be moved from the east of the box in left-to-right top-to-bottom orientation. |
|
RESIZE_LINE_FAR_PAGE_FAR
Indicate that some edge is to be moved from the south-east corner of the box in left-to-right top-to-bottom orientation. |
|
RESIZE_LINE_FAR_PAGE_NEAR
Indicate that some edge is to be moved from the north-east corner of the box in left-to-right top-to-bottom orientation. |
|
RESIZE_LINE_NEAR
Indicate that some edge is to be moved from the west of the box in left-to-right top-to-bottom orientation. |
|
RESIZE_LINE_NEAR_PAGE_FAR
Indicate that some edge is to be moved from the south-west corner of the box in left-to-right top-to-bottom orientation. |
|
RESIZE_LINE_NEAR_PAGE_NEAR
Indicate that some edge is to be moved from the north-west corner of the box in left-to-right top-to-bottom orientation. |
|
RESIZE_PAGE_FAR
Indicate that some edge is to be moved from the south corner of the box in left-to-right top-to-bottom orientation. |
|
RESIZE_PAGE_NEAR
Indicate that some edge is to be moved from the north of the box in left-to-right top-to-bottom orientation. |
|
TEXT
Indicates text that may be selected. |
|
WAIT
Indicates that the program is busy and the user should wait. |
|
| Method Summary | |
|---|---|
com.globalmentor.text.xml.stylesheets.css.XMLCSSCursor |
getCSSCursor(Orientation orientation)
Retrieves the CSS cursor that corresponds to the predefined cursor based in the given component orientation. |
static Cursor |
getCursor(java.net.URI uri)
Determines a predefined cursor from the given URI |
java.net.URI |
getURI()
|
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 |
|---|
public static final Cursor CROSSHAIR
public static final Cursor DEFAULT
public static final Cursor HELP
public static final Cursor MOVE
public static final Cursor POINTER
public static final Cursor PROGRESS
WAIT in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass.
public static final Cursor RESIZE_LINE_FAR
public static final Cursor RESIZE_LINE_FAR_PAGE_FAR
public static final Cursor RESIZE_LINE_FAR_PAGE_NEAR
public static final Cursor RESIZE_LINE_NEAR
public static final Cursor RESIZE_LINE_NEAR_PAGE_FAR
public static final Cursor RESIZE_LINE_NEAR_PAGE_NEAR
public static final Cursor RESIZE_PAGE_NEAR
public static final Cursor RESIZE_PAGE_FAR
public static final Cursor TEXT
public static final Cursor WAIT
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic java.net.URI getURI()
public com.globalmentor.text.xml.stylesheets.css.XMLCSSCursor getCSSCursor(Orientation orientation)
orientation - The component orientation for which the cursor should be returned.
java.lang.NullPointerException - if the given orientation is null.public static Cursor getCursor(java.net.URI uri)
uri - The URI of the predefined cursor relative to the application.
null if the given URI does not identify a predefined cursor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||