Class TerminalField

java.lang.Object
dev.galasa.zos3270.common.screens.TerminalField

public class TerminalField extends Object
Pojo to represent a Field on the terminal screen.
  • Constructor Details

    • TerminalField

      public TerminalField(int row, int column, boolean unformatted, boolean fieldProtected, boolean fieldNumeric, boolean fieldDisplay, boolean fieldIntenseDisplay, boolean fieldSelectorPen, boolean fieldModifed, Character foregroundColour, Character backgroundColour, Character highlight)
      Constructor
      Parameters:
      row - Start Row
      column - Start Column
      unformatted - Field is unformatted
      fieldProtected - Field if protected
      fieldNumeric - Field is Numeric
      fieldDisplay - Field is displayable
      fieldIntenseDisplay - Field is Intense
      fieldSelectorPen - Field can be selected
      fieldModifed - Field has been modified
  • Method Details

    • getRow

      public int getRow()
      Fetch Start row
      Returns:
      Start row
    • getColumn

      public int getColumn()
      Fetch Start Column
      Returns:
      Start column
    • isUnformatted

      public boolean isUnformatted()
      Is field unformatted. If so, the first position will not be a StartField
      Returns:
      Unformatted
    • isFieldProtected

      public boolean isFieldProtected()
      Is field protected
      Returns:
      Protected
    • isFieldNumeric

      public boolean isFieldNumeric()
      Is field unformatted. If so, the first position will not be a StartField
      Returns:
      Unformatted
    • isFieldDisplay

      public boolean isFieldDisplay()
      Is field Displayable
      Returns:
      displayable
    • isFieldIntenseDisplay

      public boolean isFieldIntenseDisplay()
      Is field intense
      Returns:
      Intense
    • isFieldSelectorPen

      public boolean isFieldSelectorPen()
      Is field selectable
      Returns:
      selectable
    • isFieldModifed

      public boolean isFieldModifed()
      Has field been modified
      Returns:
      modified
    • getForegroundColour

      public Character getForegroundColour()
    • getBackgroundColour

      public Character getBackgroundColour()
    • getHighlight

      public Character getHighlight()
    • getContents

      public List<FieldContents> getContents()
      Fetch the field contents
      Returns:
      Field contents