Package ro.sync.ecss.extensions.api
Enum CursorType
- java.lang.Object
-
- java.lang.Enum<CursorType>
-
- ro.sync.ecss.extensions.api.CursorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CursorType>
@API(type=NOT_EXTENDABLE, src=PUBLIC) public enum CursorType extends java.lang.Enum<CursorType>
Supported cursor types for author.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURSOR_CROSSHAIR
Cross-hair cursorCURSOR_E_RESIZE
Resize East cursor.CURSOR_HAND
Hand cursorCURSOR_NE_RESIZE
Resize North-East cursor.CURSOR_NORMAL
Normal cursorCURSOR_NW_RESIZE
Resize North-West cursor.CURSOR_RESIZE
Deprecated.UseCURSOR_E_RESIZE
instead.CURSOR_S_RESIZE
Resize South cursor.CURSOR_SE_RESIZE
Resize South-East cursor.CURSOR_SELECT_CELL
Select cell cursor.CURSOR_SELECT_CELL_DOWN_LTR
Select cell cursor, for tables that are oriented from left to right.CURSOR_SELECT_CELL_DOWN_RTL
Select cell cursor, for tables that are oriented from right to left.CURSOR_SELECT_CELL_UP_LTR
Select cell cursor, for tables that are oriented from left to right.CURSOR_SELECT_CELL_UP_RTL
Select cell cursor, for tables that are oriented from right to left.CURSOR_SELECT_COLUMN
Select column cursorCURSOR_SELECT_ROW
Deprecated.You should use one of the two other constants, specifying the direction.CURSOR_SELECT_ROW_LTR
Select row cursor, for tables that are oriented from left to right.CURSOR_SELECT_ROW_RTL
Select row cursor, for tables that are oriented from right to left.CURSOR_SELECT_TABLE
Deprecated.You should use one of the two other constants, specifying the direction.CURSOR_SELECT_TABLE_LTR
Select row cursor, for tables that are oriented from left to right.CURSOR_SELECT_TABLE_RTL
Select row cursor, for tables that are oriented from right to left.CURSOR_SW_RESIZE
Resize South-West cursor.CURSOR_TEXT
Text cursor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isResizeCursor()
static CursorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CursorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURSOR_NORMAL
public static final CursorType CURSOR_NORMAL
Normal cursor
-
CURSOR_CROSSHAIR
public static final CursorType CURSOR_CROSSHAIR
Cross-hair cursor
-
CURSOR_TEXT
public static final CursorType CURSOR_TEXT
Text cursor
-
CURSOR_E_RESIZE
public static final CursorType CURSOR_E_RESIZE
Resize East cursor.
-
CURSOR_S_RESIZE
public static final CursorType CURSOR_S_RESIZE
Resize South cursor.
-
CURSOR_SE_RESIZE
public static final CursorType CURSOR_SE_RESIZE
Resize South-East cursor.
-
CURSOR_SW_RESIZE
public static final CursorType CURSOR_SW_RESIZE
Resize South-West cursor.
-
CURSOR_NE_RESIZE
public static final CursorType CURSOR_NE_RESIZE
Resize North-East cursor.
-
CURSOR_NW_RESIZE
public static final CursorType CURSOR_NW_RESIZE
Resize North-West cursor.
-
CURSOR_RESIZE
@Deprecated public static final CursorType CURSOR_RESIZE
Deprecated.UseCURSOR_E_RESIZE
instead.Resize horizontal cursor.
-
CURSOR_HAND
public static final CursorType CURSOR_HAND
Hand cursor
-
CURSOR_SELECT_COLUMN
public static final CursorType CURSOR_SELECT_COLUMN
Select column cursor
-
CURSOR_SELECT_ROW
public static final CursorType CURSOR_SELECT_ROW
Deprecated.You should use one of the two other constants, specifying the direction.Select row cursor, for tables that are oriented from left to right.
-
CURSOR_SELECT_ROW_LTR
public static final CursorType CURSOR_SELECT_ROW_LTR
Select row cursor, for tables that are oriented from left to right.
-
CURSOR_SELECT_ROW_RTL
public static final CursorType CURSOR_SELECT_ROW_RTL
Select row cursor, for tables that are oriented from right to left.
-
CURSOR_SELECT_TABLE
public static final CursorType CURSOR_SELECT_TABLE
Deprecated.You should use one of the two other constants, specifying the direction.Select table cursor, for tables that are oriented from left to right.
-
CURSOR_SELECT_TABLE_LTR
public static final CursorType CURSOR_SELECT_TABLE_LTR
Select row cursor, for tables that are oriented from left to right.
-
CURSOR_SELECT_TABLE_RTL
public static final CursorType CURSOR_SELECT_TABLE_RTL
Select row cursor, for tables that are oriented from right to left.
-
CURSOR_SELECT_CELL_UP_LTR
public static final CursorType CURSOR_SELECT_CELL_UP_LTR
Select cell cursor, for tables that are oriented from left to right. This is used when the mouse is placed in the left up corner of the cell.
-
CURSOR_SELECT_CELL_DOWN_LTR
public static final CursorType CURSOR_SELECT_CELL_DOWN_LTR
Select cell cursor, for tables that are oriented from left to right. This is used when the mouse is placed in the left down corner of the cell.
-
CURSOR_SELECT_CELL_UP_RTL
public static final CursorType CURSOR_SELECT_CELL_UP_RTL
Select cell cursor, for tables that are oriented from right to left. This is used when the mouse is placed in the right up corner of the cell.
-
CURSOR_SELECT_CELL_DOWN_RTL
public static final CursorType CURSOR_SELECT_CELL_DOWN_RTL
Select cell cursor, for tables that are oriented from right to left. This is used when the mouse is placed in the right down corner of the cell.
-
CURSOR_SELECT_CELL
public static final CursorType CURSOR_SELECT_CELL
Select cell cursor.
-
-
Method Detail
-
values
public static CursorType[] 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 (CursorType c : CursorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CursorType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isResizeCursor
public boolean isResizeCursor()
- Returns:
true
if this cursor is one of the resize cursors.
-
-