Package edu.uci.ics.jung.samples
Class GraphFromGraphMLDemo.TestGraphMouseListener<V>
- java.lang.Object
-
- edu.uci.ics.jung.samples.GraphFromGraphMLDemo.TestGraphMouseListener<V>
-
- All Implemented Interfaces:
GraphMouseListener<V>
- Enclosing class:
- GraphFromGraphMLDemo
static class GraphFromGraphMLDemo.TestGraphMouseListener<V> extends java.lang.Object implements GraphMouseListener<V>
A nested class to demo the GraphMouseListener finding the right vertices after zoom/pan
-
-
Constructor Summary
Constructors Constructor Description TestGraphMouseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgraphClicked(V v, java.awt.event.MouseEvent me)voidgraphPressed(V v, java.awt.event.MouseEvent me)voidgraphReleased(V v, java.awt.event.MouseEvent me)
-
-
-
Method Detail
-
graphClicked
public void graphClicked(V v, java.awt.event.MouseEvent me)
- Specified by:
graphClickedin interfaceGraphMouseListener<V>
-
graphPressed
public void graphPressed(V v, java.awt.event.MouseEvent me)
- Specified by:
graphPressedin interfaceGraphMouseListener<V>
-
graphReleased
public void graphReleased(V v, java.awt.event.MouseEvent me)
- Specified by:
graphReleasedin interfaceGraphMouseListener<V>
-
-