Class BlockCreationTO.Layout

java.lang.Object
org.opentcs.access.to.model.BlockCreationTO.Layout
All Implemented Interfaces:
Serializable
Enclosing class:
BlockCreationTO

public static class BlockCreationTO.Layout extends Object implements Serializable
Contains information regarding the grahical representation of a block.
See Also:
  • Constructor Details

    • Layout

      public Layout()
      Creates a new instance.
    • Layout

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

    • getColor

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

      public BlockCreationTO.Layout withColor(Color color)
      Creates a copy of this object, with the given color.
      Parameters:
      color - The value to be set in the copy.
      Returns:
      A copy of this object, differing in the given value.
    • toString

      public String toString()
      Overrides:
      toString in class Object