Class VehicleCreationTO.Layout

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

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

    • Layout

      public Layout()
      Creates a new instance.
    • Layout

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

    • getRouteColor

      public Color getRouteColor()
      Returns the color in which vehicle routes are to be emphasized.
      Returns:
      The color in which vehicle routes are to be emphasized.
    • withRouteColor

      public VehicleCreationTO.Layout withRouteColor(Color routeColor)
      Creates a copy of this object, with the given color.
      Parameters:
      routeColor - 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