Class Display

java.lang.Object
bec.descriptor.Display

public abstract class Display extends Object

Display.

Link to GitHub: Source File.

Author:
S-Port: Definition of S-code, Øystein Myhre Andersen
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static Array<Descriptor>
    The Descriptor Display
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    delete(int fromTag)
    Delete Display entries.
    static Descriptor
    get(int tag)
    Returns the Descriptor at the specified tag index
    static Descriptor
    getMeaning(int tag)
    Returns the non null Descriptor at the specified tag index.
    static void
    Init the Descriptor Display
    static void
    intoDisplay(Descriptor d, int tag)
    Set the element at the specified position in the Display to the specified Descriptor.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Display

      public Display()
      Default Constructor
  • Method Details

    • init

      public static void init()
      Init the Descriptor Display
    • get

      public static Descriptor get(int tag)
      Returns the Descriptor at the specified tag index
      Parameters:
      tag - the tag index
      Returns:
      the Descriptor at the specified tag index
    • getMeaning

      public static Descriptor getMeaning(int tag)
      Returns the non null Descriptor at the specified tag index.
      Parameters:
      tag - the tag index
      Returns:
      the non null Descriptor at the specified tag index
    • intoDisplay

      public static void intoDisplay(Descriptor d, int tag)
      Set the element at the specified position in the Display to the specified Descriptor. Update the Display at tag index with the given Descriptor. The Display-entry being already defined is an error.
      Parameters:
      d - the Descriptor
      tag - the tag index
    • delete

      public static void delete(int fromTag)
      Delete Display entries. All tag s defined with values greater than or equal to from:tag are made undefined.
      Parameters:
      fromTag - the fromTag index