Package com.luciad.edit.handles
Interface IPointEditAction
public interface IPointEditAction
Abstraction of an action that is executed based on a
Point
.
Examples of this action are:
This class is used by PointEditHandle
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(Point location, ChangeStatus changeStatus) Performs the action.void
execute
(Point location, EventStatus eventStatus, ChangeStatus changeStatus) Performs the part of the action that corresponds to the givenEventStatus
.
-
Method Details
-
execute
Performs the action.- Parameters:
location
- thePoint
location that is used to perform the actionchangeStatus
- the status of the action. Can be used to distinguish between intermediate changes and a finished change.
-
execute
void execute(@NotNull Point location, @NotNull EventStatus eventStatus, @NotNull ChangeStatus changeStatus) Performs the part of the action that corresponds to the givenEventStatus
.- Parameters:
location
- thePoint
location that is used to perform the actioneventStatus
- Used to indicate that an action hasstarted
, isin progress
, or hasended
. This can for example be used by edit handles that apply the action on drag events. It is guaranteed that a sequence of calls to this method will contain at least 1 Start, and 1 End call.changeStatus
- the status of the action. Can be used to distinguish between intermediate changes and a finished change.
-