Klasse Vehicle.Layout

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

public static class Vehicle.Layout extends Object implements Serializable
Contains information regarding the graphical representation of a vehicle.
Siehe auch:
  • Konstruktordetails

    • Layout

      public Layout()
      Creates a new instance.
    • Layout

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

    • getRouteColor

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

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