Package com.iizix.term.tn3270e
Class Display3270
- java.lang.Object
- com.iizix.term.tn3270e.Display3270
public class Display3270 extends java.lang.Object
Handles the 3270 display session.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getDisplayAttr()
Gets the display attributes.int
getFieldAttribute(int addr)
Gets the "new character" 3270 host attribute.int
getScreenLength()
Returns the screen length.int
getWidth()
Gets the display width.
Method Detail
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.