Package org.opentcs.data.model
Class Vehicle.Layout
java.lang.Object
org.opentcs.data.model.Vehicle.Layout
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Vehicle
public static class Vehicle.Layout
extends java.lang.Object
implements java.io.Serializable
Contains information regarding the grahical representation of a vehicle.
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description java.awt.Color
getRouteColor()
Returns the color in which vehicle routes are to be emphasized.Vehicle.Layout
withRouteColor(java.awt.Color routeColor)
Creates a copy of this object, with the given color.
-
Constructor Details
-
Method Details
-
getRouteColor
public java.awt.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
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.
-