org.das2.event.AbstractDragRenderer

Do-nothing drag renderer and extension point for other DragRenderers.

AbstractDragRenderer( )

AbstractDragRenderer( org.das2.graph.DasCanvasComponent parent )


clear

clear( java.awt.Graphics g ) → void

this is not used, and is left over from an old version of the library.

Parameters

g - a Graphics

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getMouseDragEvent

getMouseDragEvent( Object source, java.awt.Point p1, java.awt.Point p2, boolean isModified ) → MouseDragEvent

return the event for the gesture. A mouse box event is returned.

Parameters

source - an Object
p1 - a Point
p2 - a Point
isModified - a boolean

Returns:

an org.das2.event.MouseDragEvent

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getParent

getParent( ) → DasCanvasComponent

Returns:

org.das2.graph.DasCanvasComponent

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isPointSelection

isPointSelection( ) → boolean

indicates that MM.mousePointSelected() should called as new mouse events come in.

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isUpdatingDragSelection

isUpdatingDragSelection( ) → boolean

range selection events should be fired during drag.

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setParent

setParent( org.das2.graph.DasCanvasComponent parent ) → void

Parameters

parent - a DasCanvasComponent

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]