public class Screen
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
Field |
field(int index)
Gets a field by index.
|
Field |
field(int row,
int col)
Gets a field by screen position.
|
int |
fieldCount()
Gets the number of fields.
|
java.util.Enumeration |
fields()
Returns an Enumeration of the fields in the screen.
|
AID |
getAID()
Gets the AID that will be sent back to the server.
|
int |
getCursorColumn()
Gets the column position of the cursor.
|
int |
getCursorRow()
Gets the row position of the cursor.
|
int |
getDepth()
Gets the screen depth.
|
java.lang.String |
getEncoding()
Returns the character encoding that the Screen will use.
|
java.lang.String |
getMapName()
Gets the map name for this screen.
|
java.lang.String |
getMapSetName()
Gets the map set name for this screen.
|
int |
getWidth()
Gets the screen width.
|
void |
setAID(AID aidkey)
Sets the AID that will be sent back to the server.
|
void |
setCursor(int row,
int column)
Sets the cursor position.
|
public java.lang.String getEncoding()
public java.util.Enumeration fields()
public Field field(int index)
index
- the index of the fieldpublic Field field(int row, int col)
row
- the rowcol
- the columnpublic int fieldCount()
public int getDepth()
public int getWidth()
public void setAID(AID aidkey)
aidkey
- the AID to setpublic AID getAID()
public void setCursor(int row, int column) throws EPIException
row
- the cursor rowcolumn
- the cursor columnEPIException
- if the row or column are out of rangepublic int getCursorRow()
public int getCursorColumn()
public java.lang.String getMapName()
public java.lang.String getMapSetName()