Package org.opentcs.access.to.model
Class VehicleCreationTO.Layout
java.lang.Object
org.opentcs.access.to.model.VehicleCreationTO.Layout
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- VehicleCreationTO
public static class VehicleCreationTO.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.ColorgetRouteColor()Returns the color in which vehicle routes are to be emphasized.java.lang.StringtoString()VehicleCreationTO.LayoutwithRouteColor(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.
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-