This interface defines what should be implemented to intercept interaction events and create custom behavior. @see MouseMotionListener MouseListener MouseWheelListener KeyListener @author Sebastien Jourdain - sebastien.jourdain@kitware.com, Kitware Inc 2012
| 20 | * 15 avenue des Sablieres, CS 60001, 33116 Le Barp, France. |
| 21 | */ |
| 22 | public interface vtkEventInterceptor { |
| 23 | |
| 24 | /** |
| 25 | * @param e |
| 26 | * event |
| 27 | * @return true if the event has been consumed and should not be forwarded |
| 28 | * to the vtkInteractor |
| 29 | */ |
| 30 | boolean keyPressed(KeyEvent e); |
| 31 | |
| 32 | /** |
| 33 | * @param e |
| 34 | * event |
| 35 | * @return true if the event has been consumed and should not be forwarded |
| 36 | * to the vtkInteractor |
| 37 | */ |
| 38 | boolean keyReleased(KeyEvent e); |
| 39 | |
| 40 | /** |
| 41 | * @param e |
| 42 | * event |
| 43 | * @return true if the event has been consumed and should not be forwarded |
| 44 | * to the vtkInteractor |
| 45 | */ |
| 46 | boolean keyTyped(KeyEvent e); |
| 47 | |
| 48 | /** |
| 49 | * @param e |
| 50 | * event |
| 51 | * @return true if the event has been consumed and should not be forwarded |
| 52 | * to the vtkInteractor |
| 53 | */ |
| 54 | boolean mouseDragged(MouseEvent e); |
| 55 | |
| 56 | /** |
| 57 | * @param e |
| 58 | * event |
| 59 | * @return true if the event has been consumed and should not be forwarded |
| 60 | * to the vtkInteractor |
| 61 | */ |
| 62 | boolean mouseMoved(MouseEvent e); |
| 63 | |
| 64 | /** |
| 65 | * @param e |
| 66 | * event |
| 67 | * @return true if the event has been consumed and should not be forwarded |
| 68 | * to the vtkInteractor |
| 69 | */ |
| 70 | boolean mouseClicked(MouseEvent e); |
| 71 | |
| 72 | /** |
| 73 | * @param e |
| 74 | * event |
| 75 | * @return true if the event has been consumed and should not be forwarded |
| 76 | * to the vtkInteractor |
| 77 | */ |
| 78 | boolean mouseEntered(MouseEvent e); |
| 79 |
no outgoing calls
no test coverage detected