infovis.visualization.inter
Class BasicVisualizationInteractor

java.lang.Object
  extended by infovis.visualization.VisualizationProxy
      extended by infovis.visualization.inter.BasicVisualizationInteractor
All Implemented Interfaces:
Visualization, LabeledComponent, Orientable, VisualizationInteractor, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, EventListener, SwingConstants
Direct Known Subclasses:
DefaultVisualizationInteractor, ExcentricVisualizationInteractor, VisualFisheyeInteractor, VisualSelectionInteractor

public class BasicVisualizationInteractor
extends VisualizationProxy
implements MouseListener, MouseMotionListener, MouseWheelListener, KeyListener, VisualizationInteractor

Base class for VisualizationInteractor. Also useful as a null interactor.

Version:
$Revision: 1.6 $
Author:
Jean-Daniel Fekete
InfoVis factory arguments:
InteractorFactory infovis.visualization.StrokingVisualization infovis.Visualization

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
BasicVisualizationInteractor()
           
BasicVisualizationInteractor(Visualization vis)
           
 
Method Summary
 JComponent getJComponent()
           
 Visualization getVisualization()
          Returns the visualization.
 void install(JComponent comp)
           
 void keyPressed(KeyEvent e)
           
 void keyReleased(KeyEvent e)
           
 void keyTyped(KeyEvent e)
           
 void mouseClicked(MouseEvent e)
           
 void mouseDragged(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mouseMoved(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 void mouseWheelMoved(MouseWheelEvent e)
           
 void setVisualization(Visualization vis)
          Sets the visualization.
 void uninstall(JComponent comp)
           
 
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

BasicVisualizationInteractor

public BasicVisualizationInteractor()

BasicVisualizationInteractor

public BasicVisualizationInteractor(Visualization vis)
Method Detail

mouseClicked

public void mouseClicked(MouseEvent e)
Specified by:
mouseClicked in interface MouseListener

mouseEntered

public void mouseEntered(MouseEvent e)
Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent e)
Specified by:
mouseExited in interface MouseListener

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener

mouseDragged

public void mouseDragged(MouseEvent e)
Specified by:
mouseDragged in interface MouseMotionListener

mouseMoved

public void mouseMoved(MouseEvent e)
Specified by:
mouseMoved in interface MouseMotionListener

mouseWheelMoved

public void mouseWheelMoved(MouseWheelEvent e)
Specified by:
mouseWheelMoved in interface MouseWheelListener

keyPressed

public void keyPressed(KeyEvent e)
Specified by:
keyPressed in interface KeyListener

keyReleased

public void keyReleased(KeyEvent e)
Specified by:
keyReleased in interface KeyListener

keyTyped

public void keyTyped(KeyEvent e)
Specified by:
keyTyped in interface KeyListener

getJComponent

public JComponent getJComponent()
Specified by:
getJComponent in interface VisualizationInteractor

getVisualization

public Visualization getVisualization()
Description copied from class: VisualizationProxy
Returns the visualization.

Specified by:
getVisualization in interface VisualizationInteractor
Overrides:
getVisualization in class VisualizationProxy
Returns:
the visualization

install

public void install(JComponent comp)
Specified by:
install in interface VisualizationInteractor

setVisualization

public void setVisualization(Visualization vis)
Description copied from class: VisualizationProxy
Sets the visualization.

Specified by:
setVisualization in interface VisualizationInteractor
Overrides:
setVisualization in class VisualizationProxy
Parameters:
vis - the visualization

uninstall

public void uninstall(JComponent comp)
Specified by:
uninstall in interface VisualizationInteractor


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