Klasse LayerGroup
java.lang.Object
org.opentcs.data.model.visualization.LayerGroup
- Alle implementierten Schnittstellen:
Serializable
Describes a layer group in a plant model.
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
getId()
Returns the unique ID of this layer group.getName()
Returns the name of this layer group.boolean
Returns whether this layer group is visible or not.toString()
Creates a copy of this object, with the given name.withVisible
(boolean visible) Creates a copy of this object, with the given visible state.
-
Konstruktordetails
-
LayerGroup
Creates a new instance.- Parameter:
id
- The unique ID of the layer group.name
- The name of the layer group.visible
- Whether the layer group is visible or not.
-
-
Methodendetails
-
getId
public int getId()Returns the unique ID of this layer group.- Gibt zurück:
- The unique Id of this layer group.
-
isVisible
public boolean isVisible()Returns whether this layer group is visible or not.- Gibt zurück:
- Whether this layer group is visible or not.
-
withVisible
Creates a copy of this object, with the given visible state.- Parameter:
visible
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
getName
Returns the name of this layer group.- Gibt zurück:
- The name of this layer group.
-
withName
Creates a copy of this object, with the given name.- Parameter:
name
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
toString
-