prefuse.controls |
Control modules for incorporating interaction in prefuse Displays.
Examples include clicking a node to make it the new focus, dragging nodes to
change their position, and performing pan and zoom operations. To add
one of these controls to a visualization, create a new instance of
the desired control and register it using the
{@link prefuse.Display#addControlListener(Control)} method of the
{@link prefuse.Display} class. Custom Controls can easily be constructed
by implementing the {@link prefuse.controls.Control} interface, or, more
conveniently, by subclassing the {@link prefuse.controls.ControlAdapter}
class.
|
Java Source File Name | Type | Comment |
AbstractZoomControl.java | Class | Abstract base class for zoom controls. |
AnchorUpdateControl.java | Class | Follows the mouse cursor, updating the anchor parameter for any number
of layout instances to match the current cursor position. |
Control.java | Interface | Listener interface for processing user interface events on a Display. |
ControlAdapter.java | Class | Adapter class for processing prefuse interface events. |
DragControl.java | Class | Changes a node's location when dragged on screen. |
FocusControl.java | Class | Updates the contents of a TupleSet of focus items in response to mouse
actions. |
HoverActionControl.java | Class | Control that executes an action when the mouse passes over an item. |
NeighborHighlightControl.java | Class |
A ControlListener that sets the highlighted status (using the
prefuse.visual.VisualItem.setHighlighted(boolean)VisualItem.setHighlighted method) for nodes neighboring the node
currently under the mouse pointer. |
PanControl.java | Class | Pans the display, changing the viewable region of the visualization. |
RotationControl.java | Class | Control that can be used to rotate the display. |
SubtreeDragControl.java | Class | Control that changes the location of a whole subtree when dragged on screen. |
ToolTipControl.java | Class | Control that enables a tooltip display for items based on mouse hover. |
WheelZoomControl.java | Class | Zooms the display using the mouse scroll wheel, changing the scale of the
viewable region. |
ZoomControl.java | Class | Zooms the display, changing the scale of the viewable region. |
ZoomingPanControl.java | Class | |
ZoomToFitControl.java | Class | Zooms a display such that all items within a given group will fit within
the display bounds. |