diva.graphx.tutorial
Class SimpleGraphController.NodeCreator
java.lang.Object
diva.canvas.interactor.AbstractInteractor
diva.graphx.tutorial.SimpleGraphController.NodeCreator
- All Implemented Interfaces:
- LayerListener, LayerMotionListener, Interactor, EventListener
- Enclosing class:
- SimpleGraphController
protected class SimpleGraphController.NodeCreator
- extends AbstractInteractor
An inner class that places a node at the clicked-on point
on the screen, if control-clicked with mouse button 1. This
needs to be made more customizable.
Methods inherited from class diva.canvas.interactor.AbstractInteractor |
accept, getMouseFilter, isConsuming, isEnabled, isMotionEnabled, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, setConsuming, setEnabled, setMotionEnabled, setMouseFilter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleGraphController.NodeCreator
protected SimpleGraphController.NodeCreator()
mousePressed
public void mousePressed(LayerEvent e)
- Description copied from class:
AbstractInteractor
- Do nothing.
- Specified by:
mousePressed
in interface LayerListener
- Overrides:
mousePressed
in class AbstractInteractor
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.