Package com.iizix.term.ee
Class EEField
- java.lang.Object
- com.iizix.term.ee.EEField
Field Summary
Fields Modifier and Type Field Description intattributeThe host attribute of the field (3270 or 5250 dependent).booleanisUnderlinedUnderline flag.intlengthThe length of the field in the PS.intpositionPosition of this field in the PS.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(EEField f)Used for sorting fields.booleanequals(java.lang.Object o)Checks for equality.inthashCode()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.