Package edu.uci.ics.jung.visualization.picking
package edu.uci.ics.jung.visualization.picking
Visualization mechanisms for supporting the selection of graph elements.
-
ClassDescriptionAn abstract class to support ItemEvents for PickedStateA
GraphElementAccessor
that finds the closest element to the pick point, and returns it if it is within the element's shape.ShapePickSupport provides access to Vertices and EdgeType based on their actual shapes.Maintains the state of what has been 'picked' in the graph.PickedInfo<T>An interface for classes that return information regarding whether a given graph element (vertex or edge) has been selected.PickedState<T>An interface for classes that keep track of the "picked" state of edges or vertices.RadiusPickSupport<V,E> Simple implementation of PickSupport that returns the vertex or edge that is closest to the specified location.ShapePickSupport<V,E> AGraphElementAccessor
that returns elements whoseShape
contains the specified pick point or region.The available picking heuristics:Style.CENTERED
: returns the element whose center is closest to the pick point.ShapePickSupport provides access to Vertices and EdgeType based on their actual shapes.