Class GraphicsChainedSegment

All Implemented Interfaces:
Completable, Startable, Streamable, StructuredData

public final class GraphicsChainedSegment extends AbstractGraphicsDrawingOrderContainer
A GOCA graphics segment
  • Field Details

    • MAX_DATA_LEN

      public static final int MAX_DATA_LEN
      The maximum segment data length
      See Also:
    • predecessorNameBytes

      private byte[] predecessorNameBytes
    • appended

      private boolean appended
    • prologPresent

      private boolean prologPresent
    • APPEND_NEW_SEGMENT

      private static final byte APPEND_NEW_SEGMENT
      See Also:
    • APPEND_TO_EXISING

      private static final byte APPEND_TO_EXISING
      See Also:
    • PROLOG

      private static final byte PROLOG
      See Also:
    • NAME_LENGTH

      private static final int NAME_LENGTH
      See Also:
  • Constructor Details

    • GraphicsChainedSegment

      public GraphicsChainedSegment(String name)
      Main constructor
      Parameters:
      name - the name of this graphics segment
    • GraphicsChainedSegment

      public GraphicsChainedSegment(String name, byte[] predecessorNameBytes, boolean appended, boolean prologPresent)
      Constructor
      Parameters:
      name - the name of this graphics segment
      predecessorNameBytes - the name of the predecessor in this chain
      appended - true if this segment is appended to the previous one
      prologPresent - true if this segment starts with a prolog
  • Method Details