infovis.visualization.inter
Class BasicVisualizationInteractor
java.lang.Object
infovis.visualization.VisualizationProxy
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
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 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 |
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 |
BasicVisualizationInteractor
public BasicVisualizationInteractor()
BasicVisualizationInteractor
public BasicVisualizationInteractor(Visualization vis)
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.