Class GeometryEditorElement
- Direct Known Subclasses:
GeometryEditorGeometry
,GeometryEditorMidVertex
,GeometryEditorPart
,GeometryEditorVertex
GeometryEditor
.
The selected element
is an object that inherits from this base class,
representing the specific type of element that is selected.
- Since:
- 200.1.0
-
Property Summary
TypePropertyDescriptionTrue if this element can be deleted interactively, false otherwise.True if this element can be moved interactively, false otherwise.True if this element can be rotated interactively, false otherwise.True if this element can be scaled interactively, false otherwise.The extent of the selected element in theSpatialReference
of the associatedMapView
. -
Method Summary
Modifier and TypeMethodDescriptionTrue if this element can be deleted interactively, false otherwise.True if this element can be moved interactively, false otherwise.True if this element can be rotated interactively, false otherwise.True if this element can be scaled interactively, false otherwise.The extent of the selected element in theSpatialReference
of the associatedMapView
.boolean
Gets the value of thecanDelete
property.boolean
Gets the value of thecanMove
property.boolean
Gets the value of thecanRotate
property.boolean
Gets the value of thecanScale
property.Gets the value of theextent
property.
-
Property Details
-
canDelete
True if this element can be deleted interactively, false otherwise.The value of
InteractionConfiguration.allowDeletingSelectedElementProperty()
of the currenttool
determines this value. The element can be deleted programmatically regardless of this value, for example usingGeometryEditor.deleteSelectedElement()
.A
GeometryEditorMidVertex
is not part of thegeometry
state, and therefore can never be deleted from the geometry regardless of theInteractionConfiguration
settings.- Since:
- 200.1.0
- See Also:
-
canMove
True if this element can be moved interactively, false otherwise.The value of the
InteractionConfiguration.allowMovingSelectedElementProperty()
of the currenttool
determines this value. The element can be moved programmatically regardless of this value, for example usingGeometryEditor.moveSelectedElement(Point)
.A
GeometryEditorMidVertex
is not part of thegeometry
state, and therefore can never be moved regardless of theInteractionConfiguration
settings.- Since:
- 200.1.0
- See Also:
-
canRotate
True if this element can be rotated interactively, false otherwise.The value of
InteractionConfiguration.allowRotatingSelectedElementProperty()
of the currentGeometryEditor.toolProperty()
determines this value. The element can be rotated programmatically regardless of this value, for example usingGeometryEditor.rotateSelectedElement(double, Point)
.The following can never be rotated interactively, regardless of the
InteractionConfiguration
settings:GeometryEditorVertex
GeometryEditorMidVertex
GeometryEditorGeometry
when the geometry type isGeometryType.POINT
.
- Since:
- 200.2.0
- See Also:
-
canScale
True if this element can be scaled interactively, false otherwise.The value of
InteractionConfiguration.allowScalingSelectedElementProperty()
of the currentGeometryEditor.toolProperty()
determines this value. The element can be scaled programmatically regardless of this value, for example usingGeometryEditor.scaleSelectedElement(double, double, Point)
.The following can never be scaled interactively, regardless of the
InteractionConfiguration
settings:GeometryEditorVertex
GeometryEditorMidVertex
GeometryEditorGeometry
when the geometry type isGeometryType.POINT
.
- Since:
- 200.2.0
- See Also:
-
extent
The extent of the selected element in theSpatialReference
of the associatedMapView
.To find the specific shape of the selected element instead of its extent, use the
GeometryEditorGeometry.geometryProperty()
,GeometryEditorMidVertex.pointProperty()
,GeometryEditorPart.partProperty()
, orGeometryEditorVertex.pointProperty()
.- Since:
- 200.1.0
- See Also:
-
-
Method Details
-
canDeleteProperty
True if this element can be deleted interactively, false otherwise.The value of
InteractionConfiguration.allowDeletingSelectedElementProperty()
of the currenttool
determines this value. The element can be deleted programmatically regardless of this value, for example usingGeometryEditor.deleteSelectedElement()
.A
GeometryEditorMidVertex
is not part of thegeometry
state, and therefore can never be deleted from the geometry regardless of theInteractionConfiguration
settings.- Returns:
- the
canDelete
property - Since:
- 200.1.0
- See Also:
-
getCanDelete
public boolean getCanDelete()Gets the value of thecanDelete
property.- Property description:
- True if this element can be deleted interactively, false otherwise.
The value of
InteractionConfiguration.allowDeletingSelectedElementProperty()
of the currenttool
determines this value. The element can be deleted programmatically regardless of this value, for example usingGeometryEditor.deleteSelectedElement()
.A
GeometryEditorMidVertex
is not part of thegeometry
state, and therefore can never be deleted from the geometry regardless of theInteractionConfiguration
settings. - Returns:
- the value of the
canDelete
property - Since:
- 200.1.0
- See Also:
-
canMoveProperty
True if this element can be moved interactively, false otherwise.The value of the
InteractionConfiguration.allowMovingSelectedElementProperty()
of the currenttool
determines this value. The element can be moved programmatically regardless of this value, for example usingGeometryEditor.moveSelectedElement(Point)
.A
GeometryEditorMidVertex
is not part of thegeometry
state, and therefore can never be moved regardless of theInteractionConfiguration
settings.- Returns:
- the
canMove
property - Since:
- 200.1.0
- See Also:
-
getCanMove
public boolean getCanMove()Gets the value of thecanMove
property.- Property description:
- True if this element can be moved interactively, false otherwise.
The value of the
InteractionConfiguration.allowMovingSelectedElementProperty()
of the currenttool
determines this value. The element can be moved programmatically regardless of this value, for example usingGeometryEditor.moveSelectedElement(Point)
.A
GeometryEditorMidVertex
is not part of thegeometry
state, and therefore can never be moved regardless of theInteractionConfiguration
settings. - Returns:
- the value of the
canMove
property - Since:
- 200.1.0
- See Also:
-
canRotateProperty
True if this element can be rotated interactively, false otherwise.The value of
InteractionConfiguration.allowRotatingSelectedElementProperty()
of the currentGeometryEditor.toolProperty()
determines this value. The element can be rotated programmatically regardless of this value, for example usingGeometryEditor.rotateSelectedElement(double, Point)
.The following can never be rotated interactively, regardless of the
InteractionConfiguration
settings:GeometryEditorVertex
GeometryEditorMidVertex
GeometryEditorGeometry
when the geometry type isGeometryType.POINT
.
- Returns:
- the
canRotate
property - Since:
- 200.2.0
- See Also:
-
getCanRotate
public boolean getCanRotate()Gets the value of thecanRotate
property.- Property description:
- True if this element can be rotated interactively, false otherwise.
The value of
InteractionConfiguration.allowRotatingSelectedElementProperty()
of the currentGeometryEditor.toolProperty()
determines this value. The element can be rotated programmatically regardless of this value, for example usingGeometryEditor.rotateSelectedElement(double, Point)
.The following can never be rotated interactively, regardless of the
InteractionConfiguration
settings:GeometryEditorVertex
GeometryEditorMidVertex
GeometryEditorGeometry
when the geometry type isGeometryType.POINT
.
- Returns:
- the value of the
canRotate
property - Since:
- 200.2.0
- See Also:
-
canScaleProperty
True if this element can be scaled interactively, false otherwise.The value of
InteractionConfiguration.allowScalingSelectedElementProperty()
of the currentGeometryEditor.toolProperty()
determines this value. The element can be scaled programmatically regardless of this value, for example usingGeometryEditor.scaleSelectedElement(double, double, Point)
.The following can never be scaled interactively, regardless of the
InteractionConfiguration
settings:GeometryEditorVertex
GeometryEditorMidVertex
GeometryEditorGeometry
when the geometry type isGeometryType.POINT
.
- Returns:
- the
canScale
property - Since:
- 200.2.0
- See Also:
-
getCanScale
public boolean getCanScale()Gets the value of thecanScale
property.- Property description:
- True if this element can be scaled interactively, false otherwise.
The value of
InteractionConfiguration.allowScalingSelectedElementProperty()
of the currentGeometryEditor.toolProperty()
determines this value. The element can be scaled programmatically regardless of this value, for example usingGeometryEditor.scaleSelectedElement(double, double, Point)
.The following can never be scaled interactively, regardless of the
InteractionConfiguration
settings:GeometryEditorVertex
GeometryEditorMidVertex
GeometryEditorGeometry
when the geometry type isGeometryType.POINT
.
- Returns:
- the value of the
canScale
property - Since:
- 200.2.0
- See Also:
-
extentProperty
The extent of the selected element in theSpatialReference
of the associatedMapView
.To find the specific shape of the selected element instead of its extent, use the
GeometryEditorGeometry.geometryProperty()
,GeometryEditorMidVertex.pointProperty()
,GeometryEditorPart.partProperty()
, orGeometryEditorVertex.pointProperty()
.- Returns:
- the
extent
property - Since:
- 200.1.0
- See Also:
-
getExtent
Gets the value of theextent
property.- Property description:
- The extent of the selected element in the
SpatialReference
of the associatedMapView
.To find the specific shape of the selected element instead of its extent, use the
GeometryEditorGeometry.geometryProperty()
,GeometryEditorMidVertex.pointProperty()
,GeometryEditorPart.partProperty()
, orGeometryEditorVertex.pointProperty()
. - Returns:
- the value of the
extent
property - Since:
- 200.1.0
- See Also:
-