Package ro.sync.ecss.extensions.api
Enum Class CursorType
- All Implemented Interfaces:
Serializable
,Comparable<CursorType>
,Constable
Supported cursor types for author.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCross-hair cursorResize East cursor.Hand cursorResize North-East cursor.Normal cursorResize North-West cursor.Deprecated.Resize South cursor.Resize South-East cursor.Select cell cursor.Select cell cursor, for tables that are oriented from left to right.Select cell cursor, for tables that are oriented from right to left.Select cell cursor, for tables that are oriented from left to right.Select cell cursor, for tables that are oriented from right to left.Select column cursorDeprecated.You should use one of the two other constants, specifying the direction.Select row cursor, for tables that are oriented from left to right.Select row cursor, for tables that are oriented from right to left.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.Select row cursor, for tables that are oriented from right to left.Resize South-West cursor.Text cursor -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CursorType
Returns the enum constant of this class with the specified name.static CursorType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CURSOR_NORMAL
Normal cursor -
CURSOR_CROSSHAIR
Cross-hair cursor -
CURSOR_TEXT
Text cursor -
CURSOR_E_RESIZE
Resize East cursor. -
CURSOR_S_RESIZE
Resize South cursor. -
CURSOR_SE_RESIZE
Resize South-East cursor. -
CURSOR_SW_RESIZE
Resize South-West cursor. -
CURSOR_NE_RESIZE
Resize North-East cursor. -
CURSOR_NW_RESIZE
Resize North-West cursor. -
CURSOR_RESIZE
Deprecated.UseCURSOR_E_RESIZE
instead.Resize horizontal cursor. -
CURSOR_HAND
Hand cursor -
CURSOR_SELECT_COLUMN
Select column cursor -
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
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.Select table cursor, for tables that are oriented from left to right. -
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_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
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
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
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
Select cell cursor.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
isResizeCursor
public boolean isResizeCursor()- Returns:
true
if this cursor is one of the resize cursors.
-
CURSOR_E_RESIZE
instead.