org.das2.graph.DasCanvas.GlassPane

JPanel that lives above all other components, and is capable of blocking keyboard and mouse input from all components underneath.

GlassPane( )


keyPressed

keyPressed( java.awt.event.KeyEvent e ) → void

Invoked when a key has been pressed. See the class description for {@link KeyEvent} for a definition of a key pressed event.

Parameters

e - a KeyEvent

Returns:

void (returns nothing)

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


keyReleased

keyReleased( java.awt.event.KeyEvent e ) → void

Invoked when a key has been released. See the class description for {@link KeyEvent} for a definition of a key released event.

Parameters

e - a KeyEvent

Returns:

void (returns nothing)

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


keyTyped

keyTyped( java.awt.event.KeyEvent e ) → void

Invoked when a key has been typed. See the class description for {@link KeyEvent} for a definition of a key typed event.

Parameters

e - a KeyEvent

Returns:

void (returns nothing)

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


mouseClicked

mouseClicked( java.awt.event.MouseEvent e ) → void

Parameters

e - a MouseEvent

Returns:

void (returns nothing)

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


mouseDragged

mouseDragged( java.awt.event.MouseEvent e ) → void

Parameters

e - a MouseEvent

Returns:

void (returns nothing)

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


mouseEntered

mouseEntered( java.awt.event.MouseEvent e ) → void

Parameters

e - a MouseEvent

Returns:

void (returns nothing)

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


mouseExited

mouseExited( java.awt.event.MouseEvent e ) → void

Parameters

e - a MouseEvent

Returns:

void (returns nothing)

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


mouseMoved

mouseMoved( java.awt.event.MouseEvent e ) → void

Parameters

e - a MouseEvent

Returns:

void (returns nothing)

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


mousePressed

mousePressed( java.awt.event.MouseEvent e ) → void

Parameters

e - a MouseEvent

Returns:

void (returns nothing)

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


mouseReleased

mouseReleased( java.awt.event.MouseEvent e ) → void

Parameters

e - a MouseEvent

Returns:

void (returns nothing)

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


setDragRenderer

setDragRenderer( org.das2.event.DragRenderer r, java.awt.Point p1, java.awt.Point p2 ) → void

set the DragRenderer to be painted on the glasspane.

Parameters

r - DragRenderer, for example the CrossHairRenderer or BoxZoomGesturesRenderer
p1 - the start point to render
p2 - the current point to render

Returns:

void (returns nothing)

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