Package org.opentcs.data.model
Class Block.Layout
java.lang.Object
org.opentcs.data.model.Block.Layout
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Block
public static class Block.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.Block.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.
-