echopoint.positionable
Interface MouseCursorable

All Known Implementing Classes:
AbstractButton, AbstractDateTimeField, AbstractMeterComponent, AbstractScrollableComponent, AskScriptNameDialog, AskVariableNameDialog, BalloonHelp, BoxSection, ChartPanel, ClientDatePicker, ColorChooser, ComboBox, ComponentInspectorDialog, ConfirmButton, DateEditor, DateField, DatePicker, DateTimeEditor, Dialog, DialogPanel, DropDownBox, DynaButton, DynaColorChooserDialog, DynaConfirmButton, DynaDateField, DynaDateTimeField, DynaLabel, DynaQuickSelectFieldDialog, DynaSaveButton, DynaTabbedPane, DynaTableSortDialog, DynaTimeField, EchoPointComponent, EmbeddedObject, ExitButton, ExpandableMenu, ExpandableSection, FontChooser, GridPanel, GroupBox, HidingSlidingPanel, HorizontalPanel, HtmlTemplatePanel, ImageIcon, ImageMap, InsetsEditorDialog, JavaBeanPropertyEditorDialog, JavaScriptButton, JavaScriptInclude, JspTemplatePanel, Label, ListSection, MouseCursorableDelegate, NewsTicker, NumberFormatField, Panel, PasswordField, PickList, PickScriptVariableDialog, PopUp, ProgressBar, PushButton, RecallComboBox, ReRunButton, ScrapDialog, ScrollableBox, ScrollablePanel, ScrollablePanel2, SelectScriptDialog, Separator, ServerFileNameDialog, SpinField, StackTraceViewerDialog, StopButton, StringViewer, StyleManagerEditStyleDialog, SubmitButton, TabbedPane, TabbedPane, TestDialog, TextField, TimeField, TimeViewer, TitleBar, Tree, ValidationDialog, ViewStackTraceButton, WizardPane

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(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

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

See Also:
Constant Field Values

CURSOR_AUTO

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

See Also:
Constant Field Values

CURSOR_CROSSHAIR

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

See Also:
Constant Field Values

CURSOR_POINTER

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

See Also:
Constant Field Values

CURSOR_MOVE

static final int CURSOR_MOVE
Indicates something is to be moved.

See Also:
Constant Field Values

CURSOR_E_RESIZE

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

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

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

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

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

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

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

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

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

See Also:
Constant Field Values

CURSOR_WAIT

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

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

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

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

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

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

Method Detail

getMouseCursor

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

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

setMouseCursor

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

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

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