Package diva.graph.basic
Class BasicGraphController.NodeCreator
- java.lang.Object
-
- diva.canvas.interactor.AbstractInteractor
-
- diva.graph.basic.BasicGraphController.NodeCreator
-
- All Implemented Interfaces:
LayerListener
,LayerMotionListener
,Interactor
,java.util.EventListener
- Enclosing class:
- BasicGraphController
protected class BasicGraphController.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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NodeCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mousePressed(LayerEvent e)
Do nothing.-
Methods inherited from class diva.canvas.interactor.AbstractInteractor
accept, getMouseFilter, isConsuming, isEnabled, isMotionEnabled, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, setConsuming, setEnabled, setMotionEnabled, setMouseFilter
-
-
-
-
Method Detail
-
mousePressed
public void mousePressed(LayerEvent e)
Description copied from class:AbstractInteractor
Do nothing.- Specified by:
mousePressed
in interfaceLayerListener
- Overrides:
mousePressed
in classAbstractInteractor
- Parameters:
e
- The event
-
-