org.das2.event.BoxZoomGesturesRenderer

BoxZoom renderer that shows delegation to X and Y axis zooms.

BoxZoomGesturesRenderer( org.das2.graph.DasCanvasComponent parent )


clear

clear( java.awt.Graphics g ) → void

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

Parameters

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

Returns:

org.das2.event.MouseDragEvent

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


renderDrag

renderDrag( java.awt.Graphics g1, java.awt.Point p1, java.awt.Point p2 ) → Rectangle

Parameters

g1 - a Graphics
p1 - a Point
p2 - a Point

Returns:

java.awt.Rectangle[]

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