edu.uci.ics.jung.visualization.picking
Class ClassicPickSupport<V,E>

java.lang.Object
  extended by edu.uci.ics.jung.algorithms.layout.RadiusGraphElementAccessor<V,E>
      extended by edu.uci.ics.jung.visualization.picking.RadiusPickSupport<V,E>
          extended by edu.uci.ics.jung.visualization.picking.ClassicPickSupport<V,E>
All Implemented Interfaces:
GraphElementAccessor<V,E>

public class ClassicPickSupport<V,E>
extends RadiusPickSupport<V,E>
implements GraphElementAccessor<V,E>

PickSupport implementation that emulates the picking behavior of versions of VisualizationViewer prior to version 1.6. (VisualizationViewer still has this behavior by default, but the picking behavior can now be changed.)

Author:
Tom Nelson, Joshua O'Madadhain
See Also:
ShapePickSupport

Field Summary
 
Fields inherited from class edu.uci.ics.jung.algorithms.layout.RadiusGraphElementAccessor
maxDistance
 
Constructor Summary
ClassicPickSupport()
           
 
Method Summary
 E getEdge(double x, double y)
           
 
Methods inherited from class edu.uci.ics.jung.visualization.picking.RadiusPickSupport
getEdge, getEdge, getVertex, getVertex
 
Methods inherited from class edu.uci.ics.jung.algorithms.layout.RadiusGraphElementAccessor
getVertices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.uci.ics.jung.algorithms.layout.GraphElementAccessor
getEdge, getVertex, getVertices
 

Constructor Detail

ClassicPickSupport

public ClassicPickSupport()
Method Detail

getEdge

public E getEdge(double x,
                 double y)
Returns:
null ClassicPickSupport does not do edges


Copyright © 2009. All Rights Reserved.