Package com.iizix.term.ee
Class EEField
- java.lang.Object
- com.iizix.term.ee.EEField
Field Summary
Fields Modifier and Type Field Description int
attribute
The host attribute of the field (3270 or 5250 dependent).boolean
isUnderlined
Underline flag.int
length
The length of the field in the PS.int
position
Position of this field in the PS.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(EEField f)
Used for sorting fields.boolean
equals(java.lang.Object o)
Checks for equality.int
hashCode()
Gets the hash code.
Constructor Detail
EEField
public EEField(XFile f, int size) throws java.io.IOException
Loads the EE field from the EE screen file.- Parameters:
f
- The X-file for reading.size
- The file size.- Throws:
java.io.IOException
- for file failures.
EEField
public EEField(int pos, int len, int attr, boolean ul)
Creation of a field for an unformatted screen.- Parameters:
pos
- Position on screen.len
- Length of field (wrapping).attr
- Attribute value.ul
- Underline flag.