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 void
graphClicked(V v, java.awt.event.MouseEvent me)
void
graphPressed(V v, java.awt.event.MouseEvent me)
void
graphReleased(V v, java.awt.event.MouseEvent me)
-
-
-
Method Detail
-
graphClicked
public void graphClicked(V v, java.awt.event.MouseEvent me)
- Specified by:
graphClicked
in interfaceGraphMouseListener<V>
-
graphPressed
public void graphPressed(V v, java.awt.event.MouseEvent me)
- Specified by:
graphPressed
in interfaceGraphMouseListener<V>
-
graphReleased
public void graphReleased(V v, java.awt.event.MouseEvent me)
- Specified by:
graphReleased
in interfaceGraphMouseListener<V>
-
-