Package org.opentcs.access.to.model
Class BlockCreationTO.Layout
java.lang.Object
org.opentcs.access.to.model.BlockCreationTO.Layout
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- BlockCreationTO
public static class BlockCreationTO.Layout
extends java.lang.Object
implements java.io.Serializable
Contains information regarding the grahical representation of a block.
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description java.awt.Color
getColor()
Returns the color in which block elements are to be emphasized.java.lang.String
toString()
BlockCreationTO.Layout
withColor(java.awt.Color color)
Creates a copy of this object, with the given color.
-
Constructor Details
-
Method Details
-
getColor
public java.awt.Color getColor()Returns the color in which block elements are to be emphasized.- Returns:
- The color in which block elements are to be emphasized.
-
withColor
Creates a copy of this object, with the given color.- Parameters:
color
- 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:
toString
in classjava.lang.Object
-