diva.graphx.tutorial
Class SimpleGraphController.NodeCreator

java.lang.Object
  extended by diva.canvas.interactor.AbstractInteractor
      extended by 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.


Constructor Summary
protected SimpleGraphController.NodeCreator()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleGraphController.NodeCreator

protected SimpleGraphController.NodeCreator()
Method Detail

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.