Package com.rs.seagull.emulator.api
Interface Cursor
- All Superinterfaces:
BareCursor
A Cursor represents the current "type-in" point on the screen.
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rs.seagull.emulator.api.BareCursor
BareCursor.CursorType
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the cursor is positioned inside the named field.boolean
Returns true if the cursor is positioned inside the index'th part of the multi-part named field.void
setPosition
(String fieldName) Set the cursor position to the beginning of the named field.void
setPosition
(String fieldName, int index) Set the cursor position to the beginning of the index'th part of the multi-part named field.Methods inherited from interface com.rs.seagull.emulator.api.BareCursor
getPosition, getType, isVisible, setPosition, setPosition, setPosition
-
Method Details
-
setPosition
Set the cursor position to the beginning of the named field.- Parameters:
fieldName
- the field into which the cursor should be positioned.
-
setPosition
Set the cursor position to the beginning of the index'th part of the multi-part named field.- Parameters:
fieldName
- the field into which the cursor should be positioned.index
- the zero-based element of the multi-part field
-
isInField
Returns true if the cursor is positioned inside the named field.- Parameters:
fieldName
- the field to check- Returns:
- true if the cursor is in the field.
-
isInField
Returns true if the cursor is positioned inside the index'th part of the multi-part named field.- Parameters:
fieldName
- the field to checkindex
- the zero-based element of the multi-part field- Returns:
- true if the cursor is in the field.
-