Klasse Block.Layout

java.lang.Object
org.opentcs.data.model.Block.Layout
Alle implementierten Schnittstellen:
Serializable
Umschließende Klasse:
Block

public static class Block.Layout extends Object implements Serializable
Contains information regarding the grahical representation of a block.
Siehe auch:
  • Konstruktordetails

    • Layout

      public Layout()
      Creates a new instance.
    • Layout

      public Layout(Color color)
      Creates a new instance.
      Parameter:
      color - The color in which block elements are to be emphasized.
  • Methodendetails

    • getColor

      public Color getColor()
      Returns the color in which block elements are to be emphasized.
      Gibt zurück:
      The color in which block elements are to be emphasized.
    • withColor

      public Block.Layout withColor(Color color)
      Creates a copy of this object, with the given color.
      Parameter:
      color - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.