Package com.rs.seagull.emulator.api
Interface BareField
- All Superinterfaces:
Attributed
- All Known Subinterfaces:
Field
A BareField represents a 'raw' field defined on the host.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the length of the host-defined field.com.seagullsw.common.toolbox.geometry.Point
Returns the screen coordinates (zero-based) of the host-defined field.getText()
Returns the entire text content of the host-defined field.void
Set the text content of the host-defined field.Methods inherited from interface com.rs.seagull.emulator.api.Attributed
getBackgroundColor, getForegroundColor, getHorizontalScale, getVerticalScale, hasAttribute, isAvailable, isBlink, isBold, isBright, isColumnSeparator, isDim, isInvisible, isReverse, isUnderline, isWriteProtect
-
Method Details
-
getText
String getText()Returns the entire text content of the host-defined field.- Returns:
- the entire text content of the host-defined field.
-
getLocation
com.seagullsw.common.toolbox.geometry.Point getLocation()Returns the screen coordinates (zero-based) of the host-defined field.- Returns:
- the screen coordinates (zero-based) of the host-defined field.
-
getLength
int getLength()Returns the length of the host-defined field. TODO: Distinguish contentLength, displayLength, displayOffset?- Returns:
- the length of the host-defined field.
-
setText
Set the text content of the host-defined field.- Parameters:
value
- The text content to place into the host-defined field.
-