echopoint.positionable
Class MouseCursorableDelegate
java.lang.Object
echopoint.positionable.AbstractComponentDelegate
echopoint.positionable.MouseCursorableDelegate
- All Implemented Interfaces:
- MouseCursorable, java.io.Serializable
- public class MouseCursorableDelegate
- extends AbstractComponentDelegate
- implements MouseCursorable, java.io.Serializable
MouseCursorableDelegate
is a simple delegate object
than can be used inside a component that implements
MouseCursorable.
- See Also:
- Serialized Form
Fields inherited from interface echopoint.positionable.MouseCursorable |
borderStyleSymbolics, CURSOR_AUTO, CURSOR_CROSSHAIR, CURSOR_CUSTOM_URI, CURSOR_DEFAULT, CURSOR_E_RESIZE, CURSOR_HELP, CURSOR_MOVE, CURSOR_N_RESIZE, CURSOR_NE_RESIZE, CURSOR_NW_RESIZE, CURSOR_POINTER, CURSOR_S_RESIZE, CURSOR_SE_RESIZE, CURSOR_SW_RESIZE, CURSOR_TEXT, CURSOR_W_RESIZE, CURSOR_WAIT, STYLE_MOUSE_CURSOR, STYLE_MOUSE_CURSOR_URI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MouseCursorableDelegate
public MouseCursorableDelegate(nextapp.echo.Component delegatee)
getMouseCursor
public int getMouseCursor()
- Description copied from interface:
MouseCursorable
- Returns the current mouse cursor in use. This will be one of the following values.
- CURSOR_DEFAULT
- CURSOR_AUTO
- CURSOR_CROSSHAIR
- CURSOR_POINTER
- CURSOR_MOVE
- CURSOR_E_RESIZE
- CURSOR_NE_RESIZE
- CURSOR_NW_RESIZE
- CURSOR_N_RESIZE
- CURSOR_SE_RESIZE
- CURSOR_SW_RESIZE
- CURSOR_S_RESIZE
- CURSOR_W_RESIZE
- CURSOR_TEXT
- CURSOR_WAIT
- CURSOR_HELP
- CURSOR_CUSTOM
- Specified by:
getMouseCursor
in interface MouseCursorable
- Returns:
- The current mouse cursor in use.
- See Also:
MouseCursorable.getMouseCursor()
getMouseCursorURI
public java.lang.String getMouseCursorURI()
- Specified by:
getMouseCursorURI
in interface MouseCursorable
- Returns:
- The custom URI for the mouse cursor or null
- See Also:
MouseCursorable.getMouseCursorURI()
setMouseCursor
public void setMouseCursor(int mouseCursor)
- Description copied from interface:
MouseCursorable
- Sets the mouse cursor to use. This will be one of the following values.
- CURSOR_DEFAULT
- CURSOR_AUTO
- CURSOR_CROSSHAIR
- CURSOR_POINTER
- CURSOR_MOVE
- CURSOR_E_RESIZE
- CURSOR_NE_RESIZE
- CURSOR_NW_RESIZE
- CURSOR_N_RESIZE
- CURSOR_SE_RESIZE
- CURSOR_SW_RESIZE
- CURSOR_S_RESIZE
- CURSOR_W_RESIZE
- CURSOR_TEXT
- CURSOR_WAIT
- CURSOR_HELP
- CURSOR_CUSTOM
- Specified by:
setMouseCursor
in interface MouseCursorable
- Parameters:
mouseCursor
- - the mouse cursor to use- See Also:
MouseCursorable.setMouseCursor(int)
setMouseCursorURI
public void setMouseCursorURI(java.lang.String mouseCursorURI)
- Description copied from interface:
MouseCursorable
- Sets the URI to a custom platform mouse cursor. This will only
be used if the mosue cusor is set to CURSOR_CUSTOM.
- Specified by:
setMouseCursorURI
in interface MouseCursorable
- Parameters:
mouseCursorURI
- the URI to a custom platform mouse cursor.- See Also:
MouseCursorable.setMouseCursorURI(java.lang.String)
applyStyle
public void applyStyle(nextapp.echo.Style style)
- Specified by:
applyStyle
in interface MouseCursorable
- See Also:
MouseCursorable.applyStyle(nextapp.echo.Style)