Class Display3270


  • public class Display3270
    extends java.lang.Object
    Handles the 3270 display session.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      int[]getDisplayAttr()
      Gets the display attributes.
      intgetFieldAttribute​(int addr)
      Gets the "new character" 3270 host attribute.
      intgetScreenLength()
      Returns the screen length.
      intgetWidth()
      Gets the display width.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.