|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--unikix.clientapis.emulator.KixField
A representation of a 3270 field.
This class presents a set of methods for obtaining information about a field, along with methods for setting the data in it.
It should be noted that the setting of the data in a field does not affect the 3270 cursor position in the KixEmulator and does set the MDT for the field.
Method Summary | |
char[] |
getCharAttributes()
Get the extended attributes. |
char[] |
getCharColors()
Get the extended colors. |
short |
getCharSet()
Determine the character set of the field |
char |
getColor()
Determine the 3270 color of the field |
int |
getColumn()
Get the column of the start of the field. |
char[] |
getData()
Get a copy of the data associated with this field. |
int |
getDataLength()
Get the length of the data in the field. |
int |
getFirstCharOffset()
Get the offset of the first character in the field (as opposed to the attribute byte). |
int |
getLastCharOffset()
Get the offset of the last character in the field (as opposed to the attribute byte). |
int |
getLength()
Get the field length. |
int |
getOffset()
Get the field offset. |
int |
getRow()
Get the row of the start of the field. |
String |
getText()
Get a textual representation of the data in the field. |
boolean |
isAskip()
Determine if the field is Askip. |
boolean |
isCursorSelectCapable()
Determine if the field is Cursor Select Capable. |
boolean |
isIntense()
Determine if the field is intense. |
boolean |
isModified()
Determine if the field has the MDT set. |
boolean |
isNumeric()
Determine if the field is Numeric. |
boolean |
isProtected()
Determine if the field is protected. |
boolean |
isSOSI()
Determine if the field allows the user to enter SOSI data. |
boolean |
isVisible()
Determine if the field is visible. |
void |
setData(char[] newData)
Set the data in the field to the data provided. |
void |
setText(String theText)
Set the value of the field from a String. |
String |
toString()
Creates a string representation of the KixField. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public int getOffset()
getRow()
,
getColumn()
public int getLength()
public int getRow()
getColumn()
,
getOffset()
public int getColumn()
getRow()
,
getOffset()
public int getDataLength()
public boolean isProtected()
public boolean isIntense()
public boolean isVisible()
public boolean isSOSI()
public boolean isModified()
public boolean isNumeric()
public boolean isAskip()
public boolean isCursorSelectCapable()
public char getColor()
Kix3270Constants
public short getCharSet()
public char[] getData()
setData(char[])
,
getDataLength()
public void setData(char[] newData)
newData
- The data.getData()
,
getDataLength()
public String getText()
setText(java.lang.String)
public void setText(String theText)
theText
- the text.getText()
public char[] getCharAttributes()
public char[] getCharColors()
public int getFirstCharOffset()
getLastCharOffset()
public int getLastCharOffset()
getFirstCharOffset()
public String toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |