Klasse BlockCreationTO.Layout

java.lang.Object
org.opentcs.access.to.model.BlockCreationTO.Layout
Alle implementierten Schnittstellen:
Serializable
Umschließende Klasse:
BlockCreationTO

public static class BlockCreationTO.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 BlockCreationTO.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.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object