public static interface DragableArea.DragListener
Modifier and Type | Method and Description |
---|---|
boolean |
duringDrag(org.w3c.dom.svg.SVGPoint startPoint,
org.w3c.dom.svg.SVGPoint dragPoint,
org.w3c.dom.events.Event evt,
boolean inside)
Method called during drags.
|
boolean |
endDrag(org.w3c.dom.svg.SVGPoint startPoint,
org.w3c.dom.svg.SVGPoint dragPoint,
org.w3c.dom.events.Event evt,
boolean inside)
Method called when a drag was ended.
|
boolean |
startDrag(org.w3c.dom.svg.SVGPoint startPoint,
org.w3c.dom.events.Event evt)
Action to do on drag start.
|
boolean startDrag(org.w3c.dom.svg.SVGPoint startPoint, org.w3c.dom.events.Event evt)
startPoint
- Point where the drag was started.evt
- The event objecttrue
to start the drag operationboolean duringDrag(org.w3c.dom.svg.SVGPoint startPoint, org.w3c.dom.svg.SVGPoint dragPoint, org.w3c.dom.events.Event evt, boolean inside)
startPoint
- Drag starting pointdragPoint
- Drag end pointevt
- The event objectinside
- Inside the tracked elementtrue
to continue the dragboolean endDrag(org.w3c.dom.svg.SVGPoint startPoint, org.w3c.dom.svg.SVGPoint dragPoint, org.w3c.dom.events.Event evt, boolean inside)
startPoint
- Drag starting pointdragPoint
- Drag end pointevt
- The event objectinside
- Whether the end point was inside the areatrue
to complete the dragCopyright © 2019 ELKI Development Team. License information.