protected class JGVTComponent.Listener extends Object implements GVTTreeRendererListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener
| Modifier | Constructor and Description |
|---|---|
protected |
Listener()
Creates a new Listener.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
deselectInteractor()
Deselects an interactor, if the interaction has finished.
|
protected void |
dispatchKeyPressed(KeyEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchKeyReleased(KeyEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchKeyTyped(KeyEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchMouseClicked(MouseEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchMouseDragged(MouseEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchMouseEntered(MouseEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchMouseExited(MouseEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchMouseMoved(MouseEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchMousePressed(MouseEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchMouseReleased(MouseEvent e)
Dispatches the event to the GVT tree.
|
protected void |
dispatchMouseWheelMoved(MouseWheelEvent e)
Dispatches the mouse event to the GVT tree.
|
void |
gvtRenderingCancelled(GVTTreeRendererEvent e)
Called when a rendering was cancelled.
|
void |
gvtRenderingCompleted(GVTTreeRendererEvent e)
Called when a rendering was completed.
|
void |
gvtRenderingFailed(GVTTreeRendererEvent e)
Called when a rendering failed.
|
void |
gvtRenderingPrepare(GVTTreeRendererEvent e)
Called when a rendering is in its preparing phase.
|
void |
gvtRenderingStarted(GVTTreeRendererEvent e)
Called when a rendering started.
|
void |
handleMouseClicked(MouseEvent e) |
void |
keyPressed(KeyEvent e)
Invoked when a key has been pressed.
|
void |
keyReleased(KeyEvent e)
Invoked when a key has been released.
|
void |
keyTyped(KeyEvent e)
Invoked when a key has been typed.
|
void |
mouseClicked(MouseEvent e)
Invoked when the mouse has been clicked on a component.
|
void |
mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then
dragged.
|
void |
mouseEntered(MouseEvent e)
Invoked when the mouse enters a component.
|
void |
mouseExited(MouseEvent e)
Invoked when the mouse exits a component.
|
void |
mouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a component
(with no buttons no down).
|
void |
mousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a component.
|
void |
mouseReleased(MouseEvent e)
Invoked when a mouse button has been released on a component.
|
void |
mouseWheelMoved(MouseWheelEvent e)
Invoked when the mouse wheel has been scrolled.
|
protected void |
selectInteractor(InputEvent ie)
Selects an interactor, given an input event.
|
public void gvtRenderingPrepare(GVTTreeRendererEvent e)
gvtRenderingPrepare in interface GVTTreeRendererListenerpublic void gvtRenderingStarted(GVTTreeRendererEvent e)
gvtRenderingStarted in interface GVTTreeRendererListenerpublic void gvtRenderingCompleted(GVTTreeRendererEvent e)
gvtRenderingCompleted in interface GVTTreeRendererListenerpublic void gvtRenderingCancelled(GVTTreeRendererEvent e)
gvtRenderingCancelled in interface GVTTreeRendererListenerpublic void gvtRenderingFailed(GVTTreeRendererEvent e)
gvtRenderingFailed in interface GVTTreeRendererListenerpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerprotected void dispatchKeyTyped(KeyEvent e)
public void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerprotected void dispatchKeyPressed(KeyEvent e)
public void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerprotected void dispatchKeyReleased(KeyEvent e)
public void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void handleMouseClicked(MouseEvent e)
protected void dispatchMouseClicked(MouseEvent e)
public void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerprotected void dispatchMousePressed(MouseEvent e)
public void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerprotected void dispatchMouseReleased(MouseEvent e)
public void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerprotected void dispatchMouseEntered(MouseEvent e)
public void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerprotected void dispatchMouseExited(MouseEvent e)
public void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerprotected void dispatchMouseDragged(MouseEvent e)
public void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerprotected void dispatchMouseMoved(MouseEvent e)
public void mouseWheelMoved(MouseWheelEvent e)
mouseWheelMoved in interface MouseWheelListenerprotected void dispatchMouseWheelMoved(MouseWheelEvent e)
protected void selectInteractor(InputEvent ie)
protected void deselectInteractor()
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.