infovis.tree.visualization
Class TreeInteractor

java.lang.Object
  extended by infovis.visualization.VisualizationProxy
      extended by infovis.visualization.inter.BasicVisualizationInteractor
          extended by infovis.visualization.inter.VisualSelectionInteractor
              extended by infovis.tree.visualization.TreeInteractor
All Implemented Interfaces:
Visualization, LabeledComponent, Orientable, VisualizationInteractor, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, EventListener, SwingConstants

public class TreeInteractor
extends VisualSelectionInteractor

Interactor class for tree visualizations.

Version:
$Revision: 1.6 $
Author:
Jean-Daniel Fekete
InfoVis factory arguments:
RendererInteractorFactory infovis.tree.visualization.TreeVisualSelection

Nested Class Summary
 
Nested classes/interfaces inherited from interface infovis.visualization.magicLens.LabeledComponent
LabeledComponent.LabeledItem
 
Field Summary
 
Fields inherited from interface infovis.Visualization
PROPERTY_INTERACTOR, PROPERTY_ITEM_RENDERER, PROPERTY_LAYOUT, PROPERTY_ORIENTATION, PROPERTY_PARENT, PROPERTY_PERMUTATION, PROPERTY_RULERS, VC_DESCRIPTOR_PROPERTY_PREFIX, VISUAL_ALPHA, VISUAL_COLOR, VISUAL_FILTER, VISUAL_HOVER, VISUAL_LABEL, VISUAL_SELECTION, VISUAL_SHAPE, VISUAL_SIZE
 
Fields inherited from interface infovis.visualization.Orientable
DIRECTION, NAME, ORIENTATION_CENTER, ORIENTATION_EAST, ORIENTATION_INVALID, ORIENTATION_NORTH, ORIENTATION_SOUTH, ORIENTATION_WEST, SQRT2
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
TreeInteractor(ItemRenderer renderer)
          Constructor.
 
Method Summary
 TreeVisualization getTreeVisualization()
          Return the TreeVisualization.
 void mouseClicked(MouseEvent e)
          
 
Methods inherited from class infovis.visualization.inter.VisualSelectionInteractor
addSelection, install, mouseDragged, mousePressed, setSelection, ToggleSelection, uninstall
 
Methods inherited from class infovis.visualization.inter.BasicVisualizationInteractor
getJComponent, getVisualization, keyPressed, keyReleased, keyTyped, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelMoved, setVisualization
 
Methods inherited from class infovis.visualization.VisualizationProxy
addPropertyChangeListener, addPropertyChangeListener, createLabelItem, dispose, findVisualization, fireVisualColumnDescriptorChanged, getBounds, getComponent, getFilter, getInteractor, getItemRenderer, getOrientation, getParent, getPermutation, getPreferredSize, getRowAtIndex, getRowCount, getRowIndex, getRulerTable, getSelection, getShapeAt, getTable, getVisualColumn, getVisualColumnDescriptor, getVisualColumnIterator, getVisualization, invalidate, invalidate, isFiltered, iterator, paint, pickAll, pickAll, pickTop, pickTop, print, removePropertyChangeListener, removePropertyChangeListener, repaint, reverseIterator, setInteractor, setItemRenderer, setOrientation, setParent, setPermutation, setShapeAt, setVisualColumn, validateShapes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeInteractor

public TreeInteractor(ItemRenderer renderer)
Constructor.

Parameters:
renderer - the VisualSelection
Method Detail

getTreeVisualization

public TreeVisualization getTreeVisualization()
Return the TreeVisualization.

Returns:
the TreeVisualization.

mouseClicked

public void mouseClicked(MouseEvent e)

Specified by:
mouseClicked in interface MouseListener
Overrides:
mouseClicked in class BasicVisualizationInteractor


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.