org.das2.event.ArrowDragRenderer

indicates where an arrow will be added to the canvas by drawing an arrow as the mouse drags.

ArrowDragRenderer( )


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 ) → org.das2.event.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]


isPointSelection

isPointSelection( ) → boolean

Returns:

boolean

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


isUpdatingDragSelection

isUpdatingDragSelection( ) → boolean

Returns:

boolean

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


renderDrag

renderDrag( java.awt.Graphics g, java.awt.Point p1, java.awt.Point p2 ) → java.awt.Rectangle[]

Parameters

g - a Graphics
p1 - a Point
p2 - a Point

Returns:

java.awt.Rectangle[]

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