Class EEField

java.lang.Object
com.iizix.term.ee.EEField
All Implemented Interfaces:
Comparable<EEField>

public class EEField extends Object implements Comparable<EEField>
Loads the EE field from the EE screen file.
Author:
Christopher Mindus
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    int
    The host attribute of the field (3270 or 5250 dependent).
    boolean
    Underline flag.
    final int
    The length of the field in the PS.
    final int
    Position of this field in the PS.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    EEField(int pos, int len, int attr, boolean ul)
    Creation of a field for an unformatted screen.
    EEField(XFile f, int size)
    Loads the EE field from the EE screen file.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    int
    Used for sorting fields.
    boolean
    Checks for equality.
    int
    Gets the hash code.

    Methods inherited from class java.lang.Object Link icon

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • position Link icon

      public final int position
      Position of this field in the PS.
    • length Link icon

      public final int length
      The length of the field in the PS.
    • attribute Link icon

      public int attribute
      The host attribute of the field (3270 or 5250 dependent).
    • isUnderlined Link icon

      public boolean isUnderlined
      Underline flag.
  • Constructor Details Link icon

    • EEField Link icon

      public EEField(XFile f, int size) throws IOException
      Loads the EE field from the EE screen file.
      Parameters:
      f - The X-file for reading.
      size - The file size.
      Throws:
      IOException - for file failures.
    • EEField Link icon

      public EEField(int pos, int len, int attr, boolean ul)
      Creation of a field for an unformatted screen.
      Parameters:
      pos - Position on screen.
      len - Length of field (wrapping).
      attr - Attribute value.
      ul - Underline flag.
  • Method Details Link icon

    • equals Link icon

      public boolean equals(Object o)
      Checks for equality.
      Overrides:
      equals in class Object
      Returns:
      The equality flag.
    • hashCode Link icon

      public int hashCode()
      Gets the hash code.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code.
    • compareTo Link icon

      public int compareTo(EEField f)
      Used for sorting fields.
      Specified by:
      compareTo in interface Comparable<EEField>