Package com.rs.seagull.emulator.api
Interface BareField
-
- All Superinterfaces:
Attributed
- All Known Subinterfaces:
Field
public interface BareField extends Attributed
A BareField represents a 'raw' field defined on the host.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getLength()
Returns the length of the host-defined field.com.seagullsw.common.toolbox.geometry.Point
getLocation()
Returns the screen coordinates (zero-based) of the host-defined field.String
getText()
Returns the entire text content of the host-defined field.void
setText(String value)
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 Detail
-
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
void setText(String value)
Set the text content of the host-defined field.- Parameters:
value
- The text content to place into the host-defined field.
-
-