de.lmu.ifi.dbs.elki.visualization.batikutil
Interface DragableArea.DragListener

All Known Implementing Classes:
MoveObjectsToolVisualization, OPTICSPlotCutVisualization, OPTICSPlotSelectionVisualization, SelectionToolCubeVisualization, SelectionToolDotVisualization
Enclosing class:
DragableArea

public static interface DragableArea.DragListener

Listener interface for drag events.


Method Summary
 boolean duringDrag(org.w3c.dom.svg.SVGPoint startPoint, org.w3c.dom.svg.SVGPoint dragPoint, Event evt, boolean inside)
          Method called during drags.
 boolean endDrag(org.w3c.dom.svg.SVGPoint startPoint, org.w3c.dom.svg.SVGPoint dragPoint, Event evt, boolean inside)
          Method called when a drag was ended.
 boolean startDrag(org.w3c.dom.svg.SVGPoint startPoint, Event evt)
          Action to do on drag start.
 

Method Detail

startDrag

boolean startDrag(org.w3c.dom.svg.SVGPoint startPoint,
                  Event evt)
Action to do on drag start.

Parameters:
startPoint - Point where the drag was started.
evt - The event object
Returns:
true to start the drag operation

duringDrag

boolean duringDrag(org.w3c.dom.svg.SVGPoint startPoint,
                   org.w3c.dom.svg.SVGPoint dragPoint,
                   Event evt,
                   boolean inside)
Method called during drags.

Parameters:
startPoint - Drag starting point
dragPoint - Drag end point
evt - The event object
inside - Inside the tracked element
Returns:
true to continue the drag

endDrag

boolean endDrag(org.w3c.dom.svg.SVGPoint startPoint,
                org.w3c.dom.svg.SVGPoint dragPoint,
                Event evt,
                boolean inside)
Method called when a drag was ended.

Parameters:
startPoint - Drag starting point
dragPoint - Drag end point
evt - The event object
inside - Whether the end point was inside the area
Returns:
true to complete the drag

Release 0.4.0 (2011-09-20_1324)