Package de.xima.fc.css.builder
Enum ECssCursor
- java.lang.Object
-
- java.lang.Enum<ECssCursor>
-
- de.xima.fc.css.builder.ECssCursor
-
- All Implemented Interfaces:
CssDefaultValue
,Serializable
,Comparable<ECssCursor>
public enum ECssCursor extends Enum<ECssCursor> implements CssDefaultValue
Constants with the pre-defined values for the CSS propertycursor
.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 Constants Enum Constant Description 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.CELL
The table cell or set of cells can be selected.COL_RESIZE
The item/column can be resized horizontally.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.E_RESIZE
The east edge is to be moved.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
The north edge is to be moved.NE_RESIZE
The north-east edge is to be moved.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.NWSE_RESIZE
Bidirectional resize cursor: north-west and south-east.POINTER
The cursor is a pointer that indicates a link.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.S_RESIZE
The south edge is to be moved.SE_RESIZE
The south-east edge is to be moved.SW_RESIZE
The south-west edge is to be moved.TEXT
The text can be selected.VERTICAL_TEXT
The vertical text can be selected.W_RESIZE
The west edge is to be moved.WAIT
The program is busy, and the user can't interact with the interface (in contrast toprogress
).ZOOM_IN
Something can be zoomed in (magnified).ZOOM_OUT
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
String
value()
static ECssCursor
valueOf(String name)
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 Detail
-
ALIAS
public static final ECssCursor ALIAS
An alias or shortcut is to be created.
-
ALL_SCROLL
public static final ECssCursor ALL_SCROLL
Something can be scrolled in any direction (panned).
-
AUTO
public static final ECssCursor AUTO
The user agent will determine the cursor to display based on the current context. E.g., equivalent to text when hovering text.
-
CELL
public static final ECssCursor CELL
The table cell or set of cells can be selected.
-
COL_RESIZE
public static final ECssCursor 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
public static final ECssCursor CONTEXT_MENU
A context menu is available.
-
COPY
public static final ECssCursor COPY
Something is to be copied.
-
CROSSHAIR
public static final ECssCursor CROSSHAIR
Cross cursor, often used to indicate selection in a bitmap.
-
DEFAULT
public static final ECssCursor DEFAULT
The platform-dependent default cursor. Typically an arrow.
-
E_RESIZE
public static final ECssCursor E_RESIZE
-
EW_RESIZE
public static final ECssCursor EW_RESIZE
Bidirectional resize cursor: east and west.
-
GRAB
public static final ECssCursor GRAB
Something can be grabbed (dragged to be moved).
-
GRABBING
public static final ECssCursor GRABBING
Something is being grabbed (dragged to be moved).
-
HELP
public static final ECssCursor HELP
Help information is available.
-
MOVE
public static final ECssCursor MOVE
Something is to be moved.
-
N_RESIZE
public static final ECssCursor N_RESIZE
-
NE_RESIZE
public static final ECssCursor 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
public static final ECssCursor NESW_RESIZE
Bidirectional resize cursor: north-east and south-west.
-
NO_DROP
public static final ECssCursor NO_DROP
An item may not be dropped at the current location.
-
NONE
public static final ECssCursor NONE
No cursor is rendered.
-
NOT_ALLOWED
public static final ECssCursor NOT_ALLOWED
The requested action will not be carried out.
-
NS_RESIZE
public static final ECssCursor NS_RESIZE
Bidirectional resize cursor: north and south.
-
NW_RESIZE
public static final ECssCursor 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
public static final ECssCursor NWSE_RESIZE
Bidirectional resize cursor: north-west and south-east.
-
POINTER
public static final ECssCursor POINTER
The cursor is a pointer that indicates a link. Typically an image of a pointing hand.
-
PROGRESS
public static final ECssCursor PROGRESS
The program is busy in the background, but the user can still interact with the interface (in contrast towait
).
-
ROW_RESIZE
public static final ECssCursor 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
public static final ECssCursor S_RESIZE
-
SE_RESIZE
public static final ECssCursor 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
public static final ECssCursor 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
public static final ECssCursor TEXT
The text can be selected. Typically the shape of an I-beam.
-
VERTICAL_TEXT
public static final ECssCursor VERTICAL_TEXT
The vertical text can be selected. Typically the shape of a sideways I-beam.
-
W_RESIZE
public static final ECssCursor W_RESIZE
-
WAIT
public static final ECssCursor 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
public static final ECssCursor ZOOM_IN
Something can be zoomed in (magnified).
-
ZOOM_OUT
public static final ECssCursor ZOOM_OUT
Something can be zoomed out.
-
-
Method Detail
-
values
public static ECssCursor[] 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 (ECssCursor c : ECssCursor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ECssCursor 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<ECssCursor>
-
value
public String value()
- Returns:
- The string value of this property that can be used when creating CSS strings.
-
-