public void mouseDragged(MouseEvent mouseevent) { if (canvasMode != null) { canvasMode.mouseDragged(mouseevent); } }
public void keyTyped(KeyEvent keyevent) { if (canvasMode != null) { canvasMode.keyTyped(keyevent); } }