Package org.opentcs.data.model.visualization

# Class ModelLayoutElement

java.lang.Object
org.opentcs.data.model.visualization.LayoutElement
org.opentcs.data.model.visualization.ModelLayoutElement

All Implemented Interfaces:
  `java.io.Serializable`

    @Deprecated
    @ScheduledApiChange(details="Will be removed.",
                        when="6.0")
    public class ModelLayoutElement
    extends LayoutElement
    implements java.io.Serializable

Deprecated.
Will be removed in favor of dedicated layout classes in corresponding TCS data objects.
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)` | Deprecated. Creates a new ModelLayoutElement for the given model element.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `TCSObjectReference<?>` | `getVisualizedObject()` | Deprecated. 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`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ModelLayoutElement

    public ModelLayoutElement​(TCSObjectReference<?> visualizedObject)
    Deprecated.
    Creates a new ModelLayoutElement for the given model element.
    Parameters:
      `visualizedObject` - The model element this layout element corresponds to.

- ## Method Details

  - ### getVisualizedObject

    public TCSObjectReference<?> getVisualizedObject()
    Deprecated.
    Returns a reference to the object this layout element corresponds to.
    Returns:
      A reference to the object this layout element corresponds to.