Enum 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 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 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
        The east edge is to be moved. This cursor is used when the movement starts from the east corner of the box. In some environments, an equivalent bidirectional resize cursor is shown: e-resize and w-resize are the same as ew-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
        The north edge is to be moved. This cursor is used when the movement starts from the north corner of the box. In some environments, an equivalent bidirectional resize cursor is shown: n-resize and s-resize are the same as ns-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 and sw-resize are the same as nesw-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 and se-resize are the same as nwse-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 to wait).
      • 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
        The south edge is to be moved. This cursor is used when the movement starts from the south corner of the box. In some environments, an equivalent bidirectional resize cursor is shown: n-resize and s-resize are the same as ns-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 and se-resize are the same as nwse-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 and sw-resize are the same as nesw-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
        The west edge is to be moved. This cursor is used when the movement starts from the west corner of the box. In some environments, an equivalent bidirectional resize cursor is shown: e-resize and w-resize are the same as ew-resize.
      • WAIT

        public static final ECssCursor WAIT
        The program is busy, and the user can't interact with the interface (in contrast to progress). 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 name
        NullPointerException - if the argument is null
      • value

        public String value()
        Returns:
        The string value of this property that can be used when creating CSS strings.