|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MouseInputEditorProvider
This interface can be implemented by classes that provide MouseInputEditor
instances for use
in MouseInputMode
for example.
This interface serves as a callback and determines the right editor to use for a given mouse event.
Typically NodeRealizer
, EdgeRealizer
, and Drawable
implementations can implement
this interface to allow for user interaction.
MouseInputMode
,
MouseInputEditor
Method Summary | |
---|---|
MouseInputEditor |
findMouseInputEditor(Graph2DView view,
double x,
double y,
HitInfo hitInfo)
Sole callback method that determines the MouseInputEditor that should be activated if the mouse hovers over the given coordinates. |
Method Detail |
---|
MouseInputEditor findMouseInputEditor(Graph2DView view, double x, double y, HitInfo hitInfo)
view
- the view that will host the editorx
- the x coordinate of the mouse eventy
- the y coordinate of the mouse eventhitInfo
- the HitInfo that may be used to determine what instance to return or null
null
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |