Class ModelLayoutElement
java.lang.Object
org.opentcs.data.model.visualization.LayoutElement
org.opentcs.data.model.visualization.ModelLayoutElement
- All Implemented Interfaces:
java.io.Serializable
public class ModelLayoutElement extends LayoutElement implements java.io.Serializable
A layout element describing the way in which a model element is to be
displayed.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ModelLayoutElement(TCSObjectReference<?> visualizedObject)
Creates a new ModelLayoutElement for the given model element. -
Method Summary
Modifier and Type Method Description TCSObjectReference<?>
getVisualizedObject()
Returns a reference to the object this layout element corresponds to.Methods inherited from class org.opentcs.data.model.visualization.LayoutElement
getLayer, getProperties, setLayer, setProperties
-
Constructor Details
-
ModelLayoutElement
Creates a new ModelLayoutElement for the given model element.- Parameters:
visualizedObject
- The model element this layout element corresponds to.
-
-
Method Details
-
getVisualizedObject
Returns a reference to the object this layout element corresponds to.- Returns:
- A reference to the object this layout element corresponds to.
-