Package com.iizix.term.tn3270e
Class Display3270
java.lang.Object
com.iizix.term.tn3270e.Display3270
Handles the 3270 display session.
Method Summary
Modifier and TypeMethodDescriptionint[]
Gets the display attributes.int
getFieldAttribute
(int addr) Gets the "new character" 3270 host attribute.int
Returns the screen length.int
getWidth()
Gets the display width.
Method Details
getWidth
public int getWidth()Gets the display width.- Returns:
- Character width.
getScreenLength
public int getScreenLength()Returns the screen length.- Returns:
- Screen size in characters width*height.
getDisplayAttr
public int[] getDisplayAttr()Gets the display attributes.- Returns:
- The display attributes, never null.
getFieldAttribute
public int getFieldAttribute(int addr) Gets the "new character" 3270 host attribute.- Parameters:
addr
- The address on screen of start of field characters, zero based.- Returns:
- The field attribute, normally at least one character before, can wrap screen backwards.