Package de.xima.fc.css.builder
Enum ECssCursor
- All Implemented Interfaces:
CssDefaultValue
,Serializable
,Comparable<ECssCursor>
Constants with the pre-defined values for the CSS property
cursor
.
The cursor CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element.
The cursor setting should inform users of the mouse operations that can be performed at the current location, including: text selection, activating help or context menus, copying content, resizing tables, and so on. You can specify either the type of cursor using a keyword, or load a specific icon to use (with optional fallback images and mandatory keyword as a final fallback).
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn alias or shortcut is to be created.Something can be scrolled in any direction (panned).The user agent will determine the cursor to display based on the current context.The table cell or set of cells can be selected.The item/column can be resized horizontally.A context menu is available.Something is to be copied.Cross cursor, often used to indicate selection in a bitmap.The platform-dependent default cursor.The east edge is to be moved.Bidirectional resize cursor: east and west.Something can be grabbed (dragged to be moved).Something is being grabbed (dragged to be moved).Help information is available.Something is to be moved.The north edge is to be moved.The north-east edge is to be moved.Bidirectional resize cursor: north-east and south-west.An item may not be dropped at the current location.No cursor is rendered.The requested action will not be carried out.Bidirectional resize cursor: north and south.The north-west edge is to be moved.Bidirectional resize cursor: north-west and south-east.The cursor is a pointer that indicates a link.The program is busy in the background, but the user can still interact with the interface (in contrast towait
).The item/row can be resized vertically.The south edge is to be moved.The south-east edge is to be moved.The south-west edge is to be moved.The text can be selected.The vertical text can be selected.The west edge is to be moved.The program is busy, and the user can't interact with the interface (in contrast toprogress
).Something can be zoomed in (magnified).Something can be zoomed out. -
Field Summary
Fields inherited from interface de.xima.fc.css.builder.CssDefaultValue
INHERIT, INITIAL, REVERT, REVERT_LAYER, UNSET
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
value()
static ECssCursor
Returns the enum constant of this type with the specified name.static ECssCursor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALIAS
An alias or shortcut is to be created. -
ALL_SCROLL
Something can be scrolled in any direction (panned). -
AUTO
The user agent will determine the cursor to display based on the current context. E.g., equivalent to text when hovering text. -
CELL
The table cell or set of cells can be selected. -
COL_RESIZE
The item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them. -
CONTEXT_MENU
A context menu is available. -
COPY
Something is to be copied. -
CROSSHAIR
Cross cursor, often used to indicate selection in a bitmap. -
DEFAULT
The platform-dependent default cursor. Typically an arrow. -
E_RESIZE
-
EW_RESIZE
Bidirectional resize cursor: east and west. -
GRAB
Something can be grabbed (dragged to be moved). -
GRABBING
Something is being grabbed (dragged to be moved). -
HELP
Help information is available. -
MOVE
Something is to be moved. -
N_RESIZE
-
NE_RESIZE
The north-east edge is to be moved. This cursor is used when the movement starts from the north-east corner of the box. In some environments, an equivalent bidirectional resize cursor is shown:ne-resize
andsw-resize
are the same asnesw-resize
. -
NESW_RESIZE
Bidirectional resize cursor: north-east and south-west. -
NO_DROP
An item may not be dropped at the current location. -
NONE
No cursor is rendered. -
NOT_ALLOWED
The requested action will not be carried out. -
NS_RESIZE
Bidirectional resize cursor: north and south. -
NW_RESIZE
The north-west edge is to be moved. This cursor is used when the movement starts from the north-west corner of the box. In some environments, an equivalent bidirectional resize cursor is shown:nw-resize
andse-resize
are the same asnwse-resize
. -
NWSE_RESIZE
Bidirectional resize cursor: north-west and south-east. -
POINTER
The cursor is a pointer that indicates a link. Typically an image of a pointing hand. -
PROGRESS
The program is busy in the background, but the user can still interact with the interface (in contrast towait
). -
ROW_RESIZE
The item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them. -
S_RESIZE
-
SE_RESIZE
The south-east edge is to be moved. This cursor is used when the movement starts from the south-east corner of the box. In some environments, an equivalent bidirectional resize cursor is shown:nw-resize
andse-resize
are the same asnwse-resize
. -
SW_RESIZE
The south-west edge is to be moved. This cursor is used when the movement starts from the south-west corner of the box. In some environments, an equivalent bidirectional resize cursor is shown:ne-resize
andsw-resize
are the same asnesw-resize
. -
TEXT
The text can be selected. Typically the shape of an I-beam. -
VERTICAL_TEXT
The vertical text can be selected. Typically the shape of a sideways I-beam. -
W_RESIZE
-
WAIT
The program is busy, and the user can't interact with the interface (in contrast toprogress
). Sometimes an image of an hourglass or a watch. -
ZOOM_IN
Something can be zoomed in (magnified). -
ZOOM_OUT
Something can be zoomed out.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<ECssCursor>
-
value
- Returns:
- The string value of this property that can be used when creating CSS strings.
-