org.apache.batik.swing.gvt

Class AbstractJGVTComponent.Listener

protected class AbstractJGVTComponent.Listener extends Object implements GVTTreeRendererListener, KeyListener, MouseListener, MouseMotionListener

To hide the listener methods.
Constructor Summary
protected Listener()
Creates a new Listener.
Method Summary
protected voiddeselectInteractor()
Deselects an interactor, if the interaction has finished.
protected voiddispatchKeyPressed(KeyEvent e)
Dispatches the event to the GVT tree.
protected voiddispatchKeyReleased(KeyEvent e)
Dispatches the event to the GVT tree.
protected voiddispatchKeyTyped(KeyEvent e)
Dispatches the event to the GVT tree.
protected voiddispatchMouseClicked(MouseEvent e)
Dispatches the event to the GVT tree.
protected voiddispatchMouseDragged(MouseEvent e)
Dispatches the event to the GVT tree.
protected voiddispatchMouseEntered(MouseEvent e)
Dispatches the event to the GVT tree.
protected voiddispatchMouseExited(MouseEvent e)
Dispatches the event to the GVT tree.
protected voiddispatchMouseMoved(MouseEvent e)
Dispatches the event to the GVT tree.
protected voiddispatchMousePressed(MouseEvent e)
Dispatches the event to the GVT tree.
protected voiddispatchMouseReleased(MouseEvent e)
Dispatches the event to the GVT tree.
voidgvtRenderingCancelled(GVTTreeRendererEvent e)
Called when a rendering was cancelled.
voidgvtRenderingCompleted(GVTTreeRendererEvent e)
Called when a rendering was completed.
voidgvtRenderingFailed(GVTTreeRendererEvent e)
Called when a rendering failed.
voidgvtRenderingPrepare(GVTTreeRendererEvent e)
Called when a rendering is in its preparing phase.
voidgvtRenderingStarted(GVTTreeRendererEvent e)
Called when a rendering started.
voidhandleMouseClicked(MouseEvent e)
voidkeyPressed(KeyEvent e)
Invoked when a key has been pressed.
voidkeyReleased(KeyEvent e)
Invoked when a key has been released.
voidkeyTyped(KeyEvent e)
Invoked when a key has been typed.
voidmouseClicked(MouseEvent e)
Invoked when the mouse has been clicked on a component.
voidmouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged.
voidmouseEntered(MouseEvent e)
Invoked when the mouse enters a component.
voidmouseExited(MouseEvent e)
Invoked when the mouse exits a component.
voidmouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons no down).
voidmousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a component.
voidmouseReleased(MouseEvent e)
Invoked when a mouse button has been released on a component.
protected voidselectInteractor(InputEvent ie)
Selects an interactor, given an input event.

Constructor Detail

Listener

protected Listener()
Creates a new Listener.

Method Detail

deselectInteractor

protected void deselectInteractor()
Deselects an interactor, if the interaction has finished.

dispatchKeyPressed

protected void dispatchKeyPressed(KeyEvent e)
Dispatches the event to the GVT tree.

dispatchKeyReleased

protected void dispatchKeyReleased(KeyEvent e)
Dispatches the event to the GVT tree.

dispatchKeyTyped

protected void dispatchKeyTyped(KeyEvent e)
Dispatches the event to the GVT tree.

dispatchMouseClicked

protected void dispatchMouseClicked(MouseEvent e)
Dispatches the event to the GVT tree.

dispatchMouseDragged

protected void dispatchMouseDragged(MouseEvent e)
Dispatches the event to the GVT tree.

dispatchMouseEntered

protected void dispatchMouseEntered(MouseEvent e)
Dispatches the event to the GVT tree.

dispatchMouseExited

protected void dispatchMouseExited(MouseEvent e)
Dispatches the event to the GVT tree.

dispatchMouseMoved

protected void dispatchMouseMoved(MouseEvent e)
Dispatches the event to the GVT tree.

dispatchMousePressed

protected void dispatchMousePressed(MouseEvent e)
Dispatches the event to the GVT tree.

dispatchMouseReleased

protected void dispatchMouseReleased(MouseEvent e)
Dispatches the event to the GVT tree.

gvtRenderingCancelled

public void gvtRenderingCancelled(GVTTreeRendererEvent e)
Called when a rendering was cancelled.

gvtRenderingCompleted

public void gvtRenderingCompleted(GVTTreeRendererEvent e)
Called when a rendering was completed.

gvtRenderingFailed

public void gvtRenderingFailed(GVTTreeRendererEvent e)
Called when a rendering failed.

gvtRenderingPrepare

public void gvtRenderingPrepare(GVTTreeRendererEvent e)
Called when a rendering is in its preparing phase.

gvtRenderingStarted

public void gvtRenderingStarted(GVTTreeRendererEvent e)
Called when a rendering started.

handleMouseClicked

public void handleMouseClicked(MouseEvent e)

keyPressed

public void keyPressed(KeyEvent e)
Invoked when a key has been pressed.

keyReleased

public void keyReleased(KeyEvent e)
Invoked when a key has been released.

keyTyped

public void keyTyped(KeyEvent e)
Invoked when a key has been typed. This event occurs when a key press is followed by a key release.

mouseClicked

public void mouseClicked(MouseEvent e)
Invoked when the mouse has been clicked on a component.

mouseDragged

public void mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. Mouse drag events will continue to be delivered to the component where the first originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).

mouseEntered

public void mouseEntered(MouseEvent e)
Invoked when the mouse enters a component.

mouseExited

public void mouseExited(MouseEvent e)
Invoked when the mouse exits a component.

mouseMoved

public void mouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons no down).

mousePressed

public void mousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a component.

mouseReleased

public void mouseReleased(MouseEvent e)
Invoked when a mouse button has been released on a component.

selectInteractor

protected void selectInteractor(InputEvent ie)
Selects an interactor, given an input event.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.