Class BufferStartOfField

java.lang.Object
dev.galasa.zos3270.spi.BufferStartOfField
All Implemented Interfaces:
IBufferHolder

public class BufferStartOfField extends Object implements IBufferHolder
Create a Start of Field position, represents to SF order
Author:
Michael Baylis
  • Constructor Details

    • BufferStartOfField

      public BufferStartOfField(int position, boolean fieldProtected, boolean fieldNumeric, boolean fieldDisplay, boolean fieldIntenseDisplay, boolean fieldSelectorPen, boolean fieldModifed)
      Create the start of a field
      Parameters:
      position - - The buffer position the field is to start
    • BufferStartOfField

      public BufferStartOfField(int position, boolean fieldProtected, boolean fieldNumeric, boolean fieldDisplay, boolean fieldIntenseDisplay, boolean fieldSelectorPen, boolean fieldModifed, dev.galasa.zos3270.internal.datastream.AttributeExtendedHighlighting extendedHighlighting, dev.galasa.zos3270.internal.datastream.AttributeForegroundColour foregroundColour, dev.galasa.zos3270.internal.datastream.AttributeBackgroundColour backgroundColour)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isProtected

      public boolean isProtected()
    • isNumeric

      public boolean isNumeric()
    • isDisplay

      public boolean isDisplay()
    • isIntenseDisplay

      public boolean isIntenseDisplay()
    • isSelectorPen

      public boolean isSelectorPen()
    • isFieldModifed

      public boolean isFieldModifed()
    • setFieldModified

      public void setFieldModified()
    • clearFieldModified

      public void clearFieldModified()
    • getHighlight

      public Highlight getHighlight()
    • getForegroundColour

      public Colour getForegroundColour()
    • getBackgroundColour

      public Colour getBackgroundColour()
    • getAttributeExtendedHighlighting

      public dev.galasa.zos3270.internal.datastream.AttributeExtendedHighlighting getAttributeExtendedHighlighting()
    • getAttributeForegroundColour

      public dev.galasa.zos3270.internal.datastream.AttributeForegroundColour getAttributeForegroundColour()
    • getAttributeBackgroundColour

      public dev.galasa.zos3270.internal.datastream.AttributeBackgroundColour getAttributeBackgroundColour()
    • getStringWithoutNulls

      public String getStringWithoutNulls()
      Specified by:
      getStringWithoutNulls in interface IBufferHolder
    • getChar

      public char getChar()
      Specified by:
      getChar in interface IBufferHolder