public class QueryPositionHandlerEventArgs extends InputModeEventArgs
IPositionHandler
that is used to move the items while dragging via
MoveInputMode
.EMPTY
Constructor and Description |
---|
QueryPositionHandlerEventArgs(IInputModeContext context,
PointD queryLocation)
Instantiates a new
QueryPositionHandlerEventArgs . |
Modifier and Type | Method and Description |
---|---|
IPositionHandler |
getPositionHandler()
The
IPositionHandler to use for the movement of the items that are affected by the
MoveInputMode . |
PointD |
getQueryLocation()
Gets the location of the movement (where the drag has started).
|
boolean |
isHandled()
Gets a value indicating whether this
QueryPositionHandlerEventArgs has been handled. |
void |
setHandled(boolean value)
Sets a value indicating whether this
QueryPositionHandlerEventArgs has been handled. |
void |
setPositionHandler(IPositionHandler value)
The
IPositionHandler to use for the movement of the items that are affected by the
MoveInputMode . |
getContext
public QueryPositionHandlerEventArgs(IInputModeContext context, PointD queryLocation)
QueryPositionHandlerEventArgs
.context
- The IInputModeContext
of the operation.queryLocation
- The initial location of the movement.public final IPositionHandler getPositionHandler()
IPositionHandler
to use for the movement of the items that are affected by the
MoveInputMode
.setPositionHandler(IPositionHandler)
public final PointD getQueryLocation()
public final boolean isHandled()
QueryPositionHandlerEventArgs
has been handled.true
if handled; false
otherwise.setHandled(boolean)
public final void setHandled(boolean value)
QueryPositionHandlerEventArgs
has been handled.value
- true
if handled; false
otherwise.isHandled()
public final void setPositionHandler(IPositionHandler value)
IPositionHandler
to use for the movement of the items that are affected by the
MoveInputMode
.value
- The PositionHandler to set.getPositionHandler()