Class Action
- java.lang.Object
-
- com.supermap.data.Enum
-
- com.supermap.mapping.Action
-
public class Action extends Enum
The class specifies the constants that define the state of operation performed.Completes the operation settings corresponding to the map display. Usually, the operations related to map display include: pan and the simple edit operations, such as drawing point, line and region.
-
-
Field Summary
Fields Modifier and Type Field and Description static Action
COMPOSE_HOLLOW_REGION
Combine island hole objects, select multiple objects with overlay relationships, and combine island hole objectsstatic Action
COMPOSE_REGION
polygon-to-polygon combination, Set the polygon layer is editable, set Action, select two objects in succession, submit, view resultsstatic Action
CREATE_CIRCLE_2P
Deprecated.Obsolete. Draws the 2P Circles in the editable layer.Steps:
Press once with you finger to identify the location of the center, uplift your finger, press again to identify the radius, do not uplift your finger, glide to change the length of the radius, uplift to finish the drawing.
static Action
CREATE_POSITIONAL_REGION
create polygon by public sidestatic Action
CREATELINE
Deprecated.Obsolete. Draws the lines in the editable layer.Steps:
Press once with you finger to identify the location of the line, uplift your finger, press again to identify the radius, do not uplift your finger, glide to change the length of the radius, uplift to finish the drawing.
static Action
CREATEPLOT
The action of posture plotting.static Action
CREATEPOINT
Click to draw points in the editable layer.static Action
CREATEPOLYGON
Click to draw polygon in the editable layer.static Action
CREATEPOLYLINE
Click to draw lines in the editable layer.static Action
CREATERECTANGLE
Deprecated.Obsolete. Draws the rectangles in the editable layer.Steps:
Press once with you finger to identify a vertex of the rectangle, uplift your finger, press again to identify the next vertex on the diagonal, do not uplift your finger, glide to change the length and direction of the diagonal, press with two fingers to finish the drawing.
static Action
DRAW_HOLLOW_REGION
draw island hole object, draw polygon on the original object, generate an island hole object, a polygon object, an original objectstatic Action
DRAWLINE
Draw a free line.static Action
DRAWPLOYGON
Draw a free region.static Action
DRAWREGION_ERASE_REGION
polygon erased by polygonstatic Action
DRAWREGION_HOLLOW_REGION
draw island hole polygonstatic Action
ERASE_REGION
Erase face, Set the polygon layer is editable, set Action, Draw a polygon where the polygon need to erase, submit, view the results, the intersection is erasedstatic Action
FILL_HOLLOW_REGION
Fill the island hole objectstatic Action
FREEDRAW
Scrawl.static Action
INTERSECT_REGION
overlay of polygons, Set the polygon layer is editable, set Action, select two objects in succession, submit, view resultsstatic Action
MEASUREANGLE
The measure angle Draw a angle through three points, and give the chronological rotating angle value from the first to the second edges.static Action
MEASUREAREA
Measures area.static Action
MEASURELENGTH
Measure length.static Action
MOVE_COMMON_NODE
Common point editing (coordinated editing)static Action
MOVE_GEOMETRY
Pan object, Set the operation layer is editable, set Action, click one object, drag the object to panstatic Action
MULTI_SELECT
Multiple selectionstatic Action
NULL
Performs no operation.static Action
PAN
Pans in the window.static Action
PATCH_HOLLOW_REGION
Split island hole object (Supplement island hole), set Action, draw a line across the polygon on the island hole that needs to be split, submit, view result, island hole cut into two separate objectsstatic Action
PATCH_POSOTIONAL_REGION
Multi-object fill holestatic Action
SELECT
Selects features by clicking on the feature.static Action
SELECT_BY_RECTANGLE
Frame selection operationstatic Action
SELECT2
Deprecated.Obsolete. Use SELECT to replace. In the editing mode, click the selected object to edit the selected object.static Action
SELECTCIRCLE
Deprecated.Obsolete. Selects features by drawing a circle. The default selection mode is that the feature whose inner points in the circle can be selected. Users can change the selection mode through theSelectionMode
class.static Action
SELECTLINE
Deprecated.Obsolete. Selects features by drawing a rectangle. The default selection mode is that the feature whose inner points in the rectangle can be selected.static Action
SELECTREGION
Deprecated.Obsolete. Selects features by drawing a polygon. The default selection mode is that the feature whose inner points in the polygon can be selected. Users can change the selection mode through theSelectionMode
class.static Action
SPLIT_BY_DRAWLINE
polygon cut by polylinestatic Action
SPLIT_BY_DRAWREGION
polygon cut by polygonstatic Action
SPLIT_BY_LINE
polygon cut by polyline, set Action, draw a line across the polygon where it needs to be cut, submit, view resultsstatic Action
SPLIT_BY_REGION
Using face segmentationstatic Action
SWIPE
Rolling shutter status, currently only supports line, face, CAD and image layersstatic Action
UNION_REGION
polygon-to-polygon merger, Set the polygon layer is editable, set Action, select two objects in succession, submit, view resultsstatic Action
VERTEXADD
Adds the node of the objects in the editable layer.static Action
VERTEXDELETE
Delete the node of the objects in the editable layer.static Action
VERTEXEDIT
Edits the vertexes in the editable layer.
-
-
-
Field Detail
-
NULL
public static final Action NULL
Performs no operation.
-
PAN
public static final Action PAN
Pans in the window. When performs this function, the map which displays in the map window will convert to a bitmap, namely when you pan the layer, the bitmap will display in the map window; when this operation has been done, the real data will display in the map window. This kind of pan is faster than pan2.
-
SELECT2
@Deprecated public static final Action SELECT2
Deprecated. Obsolete. Use SELECT to replace. In the editing mode, click the selected object to edit the selected object.
-
SELECT
public static final Action SELECT
Selects features by clicking on the feature.SELECT is a simple click-and-select action. The object selected by this action cannot be edited (remove, rotate, zoom); SELECT2 can edit the selected object.
-
SELECTCIRCLE
@Deprecated public static final Action SELECTCIRCLE
Deprecated. Obsolete. Selects features by drawing a circle. The default selection mode is that the feature whose inner points in the circle can be selected. Users can change the selection mode through theSelectionMode
class.
-
SELECTREGION
@Deprecated public static final Action SELECTREGION
Deprecated. Obsolete. Selects features by drawing a polygon. The default selection mode is that the feature whose inner points in the polygon can be selected. Users can change the selection mode through theSelectionMode
class.
-
SELECTLINE
@Deprecated public static final Action SELECTLINE
Deprecated. Obsolete. Selects features by drawing a rectangle. The default selection mode is that the feature whose inner points in the rectangle can be selected.
-
CREATEPOINT
public static final Action CREATEPOINT
Click to draw points in the editable layer.
-
CREATELINE
@Deprecated public static final Action CREATELINE
Deprecated. Obsolete. Draws the lines in the editable layer.Steps:
Press once with you finger to identify the location of the line, uplift your finger, press again to identify the radius, do not uplift your finger, glide to change the length of the radius, uplift to finish the drawing.
-
CREATEPOLYLINE
public static final Action CREATEPOLYLINE
Click to draw lines in the editable layer.Steps:
Press once with you finger to identify the location of the line, uplift your finger, press again to identify the radius, uplift to finish the drawing.
-
CREATERECTANGLE
@Deprecated public static final Action CREATERECTANGLE
Deprecated. Obsolete. Draws the rectangles in the editable layer.Steps:
Press once with you finger to identify a vertex of the rectangle, uplift your finger, press again to identify the next vertex on the diagonal, do not uplift your finger, glide to change the length and direction of the diagonal, press with two fingers to finish the drawing.
-
CREATEPOLYGON
public static final Action CREATEPOLYGON
Click to draw polygon in the editable layer.
-
CREATE_CIRCLE_2P
@Deprecated public static final Action CREATE_CIRCLE_2P
Deprecated. Obsolete. Draws the 2P Circles in the editable layer.Steps:
Press once with you finger to identify the location of the center, uplift your finger, press again to identify the radius, do not uplift your finger, glide to change the length of the radius, uplift to finish the drawing.
-
VERTEXEDIT
public static final Action VERTEXEDIT
Edits the vertexes in the editable layer.Steps:
In the editable state of the node of the geometric object, the position of the geometric object node is adjusted by dragging the node.
-
VERTEXADD
public static final Action VERTEXADD
Adds the node of the objects in the editable layer.Steps:
Add nodes by single-clicking on the geometry object in the editable state of the geometry object.
-
VERTEXDELETE
public static final Action VERTEXDELETE
Delete the node of the objects in the editable layer.Steps:
Delete nodes by single-clicking on the geometry object in the editable state of the geometry object.
-
DRAWLINE
public static final Action DRAWLINE
Draw a free line.
-
DRAWPLOYGON
public static final Action DRAWPLOYGON
Draw a free region.
-
FREEDRAW
public static final Action FREEDRAW
Scrawl.
-
MEASURELENGTH
public static final Action MEASURELENGTH
Measure length.Steps:
Press twice with your finger to identify the first line, the distance of the line is the measure length; press the third time to identify the second line, the measure result is the total length of the two lines.
-
MEASUREAREA
public static final Action MEASUREAREA
Measures area.Press at least three time to identify the graphic region to measure.
-
CREATEPLOT
public static final Action CREATEPLOT
The action of posture plotting.If you are drawing, except setting Action as CREATEPLOT,
MapControl.addPlotLibrary(java.lang.String)
you also need to call the load library, and callMapControl.setPlotSymbol(long, long)
to set the symbols.If you want to edit the submitted symbols, you need to select the object, and set the Action as VERTEXEDIT.
-
MEASUREANGLE
public static final Action MEASUREANGLE
The measure angleDraw a angle through three points, and give the chronological rotating angle value from the first to the second edges. Get the measurement through
MeasureListener.angleMeasured(double, com.supermap.data.Point)
. The method is similar with the measurement length and area
-
SELECT_BY_RECTANGLE
public static final Action SELECT_BY_RECTANGLE
Frame selection operation
-
ERASE_REGION
public static final Action ERASE_REGION
Erase face, Set the polygon layer is editable, set Action, Draw a polygon where the polygon need to erase, submit, view the results, the intersection is erased
-
SPLIT_BY_LINE
public static final Action SPLIT_BY_LINE
polygon cut by polyline, set Action, draw a line across the polygon where it needs to be cut, submit, view results
-
UNION_REGION
public static final Action UNION_REGION
polygon-to-polygon merger, Set the polygon layer is editable, set Action, select two objects in succession, submit, view results
-
COMPOSE_REGION
public static final Action COMPOSE_REGION
polygon-to-polygon combination, Set the polygon layer is editable, set Action, select two objects in succession, submit, view results
-
PATCH_HOLLOW_REGION
public static final Action PATCH_HOLLOW_REGION
Split island hole object (Supplement island hole), set Action, draw a line across the polygon on the island hole that needs to be split, submit, view result, island hole cut into two separate objects
-
INTERSECT_REGION
public static final Action INTERSECT_REGION
overlay of polygons, Set the polygon layer is editable, set Action, select two objects in succession, submit, view results
-
MOVE_GEOMETRY
public static final Action MOVE_GEOMETRY
Pan object, Set the operation layer is editable, set Action, click one object, drag the object to pan
-
FILL_HOLLOW_REGION
public static final Action FILL_HOLLOW_REGION
Fill the island hole object
-
MULTI_SELECT
public static final Action MULTI_SELECT
Multiple selection
-
SPLIT_BY_REGION
public static final Action SPLIT_BY_REGION
Using face segmentation
-
DRAW_HOLLOW_REGION
public static final Action DRAW_HOLLOW_REGION
draw island hole object, draw polygon on the original object, generate an island hole object, a polygon object, an original object
-
COMPOSE_HOLLOW_REGION
public static final Action COMPOSE_HOLLOW_REGION
Combine island hole objects, select multiple objects with overlay relationships, and combine island hole objects
-
PATCH_POSOTIONAL_REGION
public static final Action PATCH_POSOTIONAL_REGION
Multi-object fill hole
-
MOVE_COMMON_NODE
public static final Action MOVE_COMMON_NODE
Common point editing (coordinated editing)
-
CREATE_POSITIONAL_REGION
public static final Action CREATE_POSITIONAL_REGION
create polygon by public side
-
SPLIT_BY_DRAWLINE
public static final Action SPLIT_BY_DRAWLINE
polygon cut by polyline
-
DRAWREGION_HOLLOW_REGION
public static final Action DRAWREGION_HOLLOW_REGION
draw island hole polygon
-
DRAWREGION_ERASE_REGION
public static final Action DRAWREGION_ERASE_REGION
polygon erased by polygon
-
SPLIT_BY_DRAWREGION
public static final Action SPLIT_BY_DRAWREGION
polygon cut by polygon
-
SWIPE
public static final Action SWIPE
Rolling shutter status, currently only supports line, face, CAD and image layers
-
-