Package org.opentcs.data.model
Class Block.Layout
java.lang.Object
org.opentcs.data.model.Block.Layout
- All Implemented Interfaces:
Serializable
- Enclosing class:
Block
Contains information regarding the grahical representation of a block.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Returns the color in which block elements are to be emphasized.Creates a copy of this object, with the given color.
-
Constructor Details
-
Layout
public Layout()Creates a new instance. -
Layout
Creates a new instance.- Parameters:
color
- The color in which block elements are to be emphasized.
-
-
Method Details
-
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.
-