Klasse VisualLayout
- Alle implementierten Schnittstellen:
Serializable
Describes the visual attributes of a model.
- Siehe auch:
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the layer groups of this layout.Returns the layers of this layout.double
Returns this layout's scale on the X axis (in mm/pixel).double
Returns this layout's scale on the Y axis (in mm/pixel).withHistory
(ObjectHistory history) Creates a copy of this object, with the given history.Creates a copy of this object, with the given history entry integrated.withLayerGroups
(List<LayerGroup> layerGroups) Creates a copy of this object, with the given layer groups.withLayers
(List<Layer> layers) Creates a copy of this object, with the given layers.withProperties
(Map<String, String> properties) Creates a copy of this object, with the given properties.withProperty
(String key, String value) Creates a copy of this object, with the given property integrated.withScaleX
(double scaleX) Creates a copy of this object, with the given scaleX.withScaleY
(double scaleY) Creates a copy of this object, with the given scaleY.Von Klasse geerbte Methoden org.opentcs.data.TCSObject
equals, getHistory, getName, getProperties, getProperty, getReference, hashCode, listWithoutNullValues, mapWithoutNullValues, propertiesWith, setWithoutNullValues, toString
-
Konstruktordetails
-
VisualLayout
Creates a new VisualLayout.- Parameter:
name
- This visual layout's name.
-
-
Methodendetails
-
withProperty
Beschreibung aus Klasse kopiert:TCSObject
Creates a copy of this object, with the given property integrated.- Angegeben von:
withProperty
in KlasseTCSObject<VisualLayout>
- Parameter:
key
- The key of the property to be changed.value
- The new value of the property, ornull
, if the property is to be removed.- Gibt zurück:
- A copy of this object, with the given property integrated.
-
withProperties
Beschreibung aus Klasse kopiert:TCSObject
Creates a copy of this object, with the given properties.- Angegeben von:
withProperties
in KlasseTCSObject<VisualLayout>
- Parameter:
properties
- The properties.- Gibt zurück:
- A copy of this object, with the given properties.
-
withHistoryEntry
Beschreibung aus Klasse kopiert:TCSObject
Creates a copy of this object, with the given history entry integrated.- Angegeben von:
withHistoryEntry
in KlasseTCSObject<VisualLayout>
- Parameter:
entry
- The history entry to be integrated.- Gibt zurück:
- A copy of this object, with the given history entry integrated.
-
withHistory
Beschreibung aus Klasse kopiert:TCSObject
Creates a copy of this object, with the given history.- Angegeben von:
withHistory
in KlasseTCSObject<VisualLayout>
- Parameter:
history
- The history.- Gibt zurück:
- A copy of this object, with the given history.
-
getScaleX
public double getScaleX()Returns this layout's scale on the X axis (in mm/pixel).- Gibt zurück:
- This layout's scale on the X axis.
-
withScaleX
Creates a copy of this object, with the given scaleX.- Parameter:
scaleX
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
getScaleY
public double getScaleY()Returns this layout's scale on the Y axis (in mm/pixel).- Gibt zurück:
- This layout's scale on the Y axis.
-
withScaleY
Creates a copy of this object, with the given scaleY.- Parameter:
scaleY
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
getLayers
Returns the layers of this layout.- Gibt zurück:
- The layers of this layout.
-
withLayers
Creates a copy of this object, with the given layers.- Parameter:
layers
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
getLayerGroups
Returns the layer groups of this layout.- Gibt zurück:
- The layer groups of this layout.
-
withLayerGroups
Creates a copy of this object, with the given layer groups.- Parameter:
layerGroups
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-