samples.preview_new_graphdraw.impl
Class GraphLayoutPanelMouseListener.NoEventPolicy

java.lang.Object
  extended bysamples.preview_new_graphdraw.impl.GraphLayoutPanelMouseListener.NoEventPolicy
All Implemented Interfaces:
samples.preview_new_graphdraw.impl.GraphLayoutPanelMouseListener.ClickPolicy
Enclosing class:
GraphLayoutPanelMouseListener

public static class GraphLayoutPanelMouseListener.NoEventPolicy
extends Object
implements samples.preview_new_graphdraw.impl.GraphLayoutPanelMouseListener.ClickPolicy

No graph events are fired from this panel


Constructor Summary
GraphLayoutPanelMouseListener.NoEventPolicy()
           
 
Method Summary
 void fireEvents(GraphLayoutPanelMouseListener gmpl, MouseEvent me, VisEdge ve, double edgeDist, VisVertex vv, double vertexDistance)
           
 boolean shouldCheckEdgeDistance()
           
 boolean shouldCheckVertexDistance()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphLayoutPanelMouseListener.NoEventPolicy

public GraphLayoutPanelMouseListener.NoEventPolicy()
Method Detail

toString

public String toString()

shouldCheckVertexDistance

public boolean shouldCheckVertexDistance()
Specified by:
shouldCheckVertexDistance in interface samples.preview_new_graphdraw.impl.GraphLayoutPanelMouseListener.ClickPolicy

shouldCheckEdgeDistance

public boolean shouldCheckEdgeDistance()
Specified by:
shouldCheckEdgeDistance in interface samples.preview_new_graphdraw.impl.GraphLayoutPanelMouseListener.ClickPolicy

fireEvents

public void fireEvents(GraphLayoutPanelMouseListener gmpl,
                       MouseEvent me,
                       VisEdge ve,
                       double edgeDist,
                       VisVertex vv,
                       double vertexDistance)
Specified by:
fireEvents in interface samples.preview_new_graphdraw.impl.GraphLayoutPanelMouseListener.ClickPolicy