EchoPoint
1.0

echopoint.positionable
Interface MouseCursorable

All Known Implementing Classes:
EchoPointComponent, Label, MouseCursorableDelegate, Panel, PushButton, TextField

public interface MouseCursorable

The MouseCursorable interface is used to set a new cursor value when the mouse is moved over a component.


Nested Class Summary
static class MouseCursorable.NestedStyleInfo
          Nested public static StyleInfo class.
 
Field Summary
static SymbolicValue[] borderStyleSymbolics
          Helper static SymbolicValue[] - Borderable borderStyle Symbolics
static int CURSOR_AUTO
          The UA determines the cursor to display based on the current context.
static int CURSOR_CROSSHAIR
          A simple crosshair (e.g., short line segments resembling a "+" sign).
static int CURSOR_CUSTOM_URI
          The user agent retrieves the cursor from the resource designated by the URI.
static int CURSOR_DEFAULT
          The platform-dependent default cursor.
static int CURSOR_E_RESIZE
          Used when the movement starts from the east corner of the box.
static int CURSOR_HELP
          Help is available for the object under the cursor.
static int CURSOR_MOVE
          Indicates something is to be moved.
static int CURSOR_N_RESIZE
          Used when the movement starts from the north corner of the box.
static int CURSOR_NE_RESIZE
          Used when the movement starts from the northeast corner of the box.
static int CURSOR_NW_RESIZE
          Used when the movement starts from the northwest corner of the box.
static int CURSOR_POINTER
          The cursor is a pointer that indicates a link.
static int CURSOR_S_RESIZE
          Used when the movement starts from the south corner of the box.
static int CURSOR_SE_RESIZE
          Used when the movement starts from the southeast corner of the box.
static int CURSOR_SW_RESIZE
          Used when the movement starts from the southwest corner of the box.
static int CURSOR_TEXT
          Indicates text that may be selected.
static int CURSOR_W_RESIZE
          Used when the movement starts from the west corner of the box.
static int CURSOR_WAIT
          Indicates that the program is busy and the user should wait.
static java.lang.String STYLE_MOUSE_CURSOR
          A style constant for the MouseCursor property.
static java.lang.String STYLE_MOUSE_CURSOR_URI
          A style constant for the MouseCursorURI property.
 
Method Summary
 void applyStyle(nextapp.echo.Style style)
           
 int getMouseCursor()
          Returns the current mouse cursor in use.
 java.lang.String getMouseCursorURI()
           
 void setMouseCursor(int mouseCursor)
          Sets the mouse cursor to use.
 void setMouseCursorURI(java.lang.String mouseCursorURI)
          Sets the URI to a custom platform mouse cursor.
 

Field Detail

CURSOR_DEFAULT

public static final int CURSOR_DEFAULT
The platform-dependent default cursor. Often rendered as an arrow.

See Also:
Constant Field Values

CURSOR_AUTO

public static final int CURSOR_AUTO
The UA determines the cursor to display based on the current context.

See Also:
Constant Field Values

CURSOR_CROSSHAIR

public static final int CURSOR_CROSSHAIR
A simple crosshair (e.g., short line segments resembling a "+" sign).

See Also:
Constant Field Values

CURSOR_POINTER

public static final int CURSOR_POINTER
The cursor is a pointer that indicates a link.

See Also:
Constant Field Values

CURSOR_MOVE

public static final int CURSOR_MOVE
Indicates something is to be moved.

See Also:
Constant Field Values

CURSOR_E_RESIZE

public static final int CURSOR_E_RESIZE
Used when the movement starts from the east corner of the box.

See Also:
Constant Field Values

CURSOR_NE_RESIZE

public static final int CURSOR_NE_RESIZE
Used when the movement starts from the northeast corner of the box.

See Also:
Constant Field Values

CURSOR_NW_RESIZE

public static final int CURSOR_NW_RESIZE
Used when the movement starts from the northwest corner of the box.

See Also:
Constant Field Values

CURSOR_N_RESIZE

public static final int CURSOR_N_RESIZE
Used when the movement starts from the north corner of the box.

See Also:
Constant Field Values

CURSOR_SE_RESIZE

public static final int CURSOR_SE_RESIZE
Used when the movement starts from the southeast corner of the box.

See Also:
Constant Field Values

CURSOR_SW_RESIZE

public static final int CURSOR_SW_RESIZE
Used when the movement starts from the southwest corner of the box.

See Also:
Constant Field Values

CURSOR_S_RESIZE

public static final int CURSOR_S_RESIZE
Used when the movement starts from the south corner of the box.

See Also:
Constant Field Values

CURSOR_W_RESIZE

public static final int CURSOR_W_RESIZE
Used when the movement starts from the west corner of the box.

See Also:
Constant Field Values

CURSOR_TEXT

public static final int CURSOR_TEXT
Indicates text that may be selected. Often rendered as an I-bar.

See Also:
Constant Field Values

CURSOR_WAIT

public static final int CURSOR_WAIT
Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass.

See Also:
Constant Field Values

CURSOR_HELP

public static final int CURSOR_HELP
Help is available for the object under the cursor. Often rendered as a question mark or a balloon.

See Also:
Constant Field Values

CURSOR_CUSTOM_URI

public static final int CURSOR_CUSTOM_URI
The user agent retrieves the cursor from the resource designated by the URI.

See Also:
Constant Field Values

STYLE_MOUSE_CURSOR

public static final java.lang.String STYLE_MOUSE_CURSOR
A style constant for the MouseCursor property. Values of this key must be of type int

See Also:
Constant Field Values

STYLE_MOUSE_CURSOR_URI

public static final java.lang.String STYLE_MOUSE_CURSOR_URI
A style constant for the MouseCursorURI property. Values of this key must be of type String

See Also:
Constant Field Values

borderStyleSymbolics

public static final SymbolicValue[] borderStyleSymbolics
Helper static SymbolicValue[] - Borderable borderStyle Symbolics

Method Detail

getMouseCursor

public int getMouseCursor()
Returns the current mouse cursor in use. This will be one of the following values.

Returns:
The current mouse cursor in use.

getMouseCursorURI

public java.lang.String getMouseCursorURI()
Returns:
The custom URI for the mouse cursor or null

setMouseCursor

public void setMouseCursor(int mouseCursor)
Sets the mouse cursor to use. This will be one of the following values.

Parameters:
mouseCursor - - the mouse cursor to use

setMouseCursorURI

public void setMouseCursorURI(java.lang.String mouseCursorURI)
Sets the URI to a custom platform mouse cursor. This will only be used if the mosue cusor is set to CURSOR_CUSTOM.

Parameters:
mouseCursorURI - the URI to a custom platform mouse cursor.

applyStyle

public void applyStyle(nextapp.echo.Style style)
See Also:
Component.applyStyle(nextapp.echo.Style)

EchoPoint
1.0