|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface MoveLabelMode.MoveLabelHelper
Handles mouse pressed, dragged, and released events to provide label specific interactive behavior for moving labels.
Method Summary | |
---|---|
void |
cancel()
Invoked when label move was aborted. |
void |
finished(MoveLabelMode.MoveLabelEvent e)
Invoked when label move is done. |
void |
handleMove(MoveLabelMode.MoveLabelEvent e)
Invoked when a label is moved in response to a mouse event. |
void |
initialize(MoveLabelMode.MoveLabelEvent e)
Invoked when a label move is about to be started. |
Method Detail |
---|
void initialize(MoveLabelMode.MoveLabelEvent e)
handleMove
and a final call to finished
or cancel
.
Called from MoveLabelMode
's mousePressedLeft
method.
e
- the MoveLabelEvent
providing context information.handleMove(y.view.MoveLabelMode.MoveLabelEvent)
,
finished(y.view.MoveLabelMode.MoveLabelEvent)
,
cancel()
,
MoveLabelMode.mousePressedLeft(double, double)
void handleMove(MoveLabelMode.MoveLabelEvent e)
initialize
and before the final call to
finished
or cancel
.
Called from MoveLabelMode
's mouseDraggedLeft
method.
e
- the MoveLabelEvent
providing context information.initialize(y.view.MoveLabelMode.MoveLabelEvent)
,
finished(y.view.MoveLabelMode.MoveLabelEvent)
,
cancel()
,
MoveLabelMode.mouseDraggedLeft(double, double)
void finished(MoveLabelMode.MoveLabelEvent e)
initialize
and zero
or more calls to handleMove
.
Called from MoveLabelMode
's mouseReleasedLeft
method.
e
- the MoveLabelEvent
providing context information.initialize(y.view.MoveLabelMode.MoveLabelEvent)
,
handleMove(y.view.MoveLabelMode.MoveLabelEvent)
,
MoveLabelMode.mouseReleasedLeft(double, double)
void cancel()
initialize
and zero
or more calls to handleMove
.
Called from MoveLabelMode
's cancelEditing
method.
initialize(y.view.MoveLabelMode.MoveLabelEvent)
,
handleMove(y.view.MoveLabelMode.MoveLabelEvent)
,
MoveLabelMode.cancelEditing()
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |