|
Services Builder for Screens | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes a host field. The methods interact with the host field, allowing the getting and setting of text as well as the location and length of the field. All the attributes have been normalized to be generic between all host types.
Method Summary | |
long[] |
getAttributes()
Returns all the attributes for every position in the field. |
long |
getFieldAttribute()
Returns the field attribute for the field. |
int |
getLength()
Returns the length of this field, including field attributes. |
Point |
getScreenPosition()
Returns the starting position of this field on the screen |
java.lang.String |
getText()
Returns the field text as a string |
boolean |
isAttribSpace()
Indicates whether field attributes occupy space on the screen. |
boolean |
isModified()
Indicates whether field has been modified. |
void |
setText(java.lang.String text)
Sets field text to the specified value. |
Method Detail |
public Point getScreenPosition()
public int getLength()
String.length
on the string returned by getText
.
getText( )
public boolean isModified()
setText
on this field.
true
if the field has been modifiedpublic boolean isAttribSpace()
true
if field attributes occupy screen spacepublic long getFieldAttribute()
public long[] getAttributes()
public void setText(java.lang.String text) throws ProtectedFieldException
null
.
text
- the new field text
ProtectedFieldException
- if an attempt
is made to set text on a protected fieldpublic java.lang.String getText()
|
Services Builder for Screens | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |