infovis.table.visualization
Class TimeSeriesVisualization
java.lang.Object
infovis.utils.ChangeManager
infovis.column.AbstractColumn
infovis.column.ColumnProxy
infovis.table.TableProxy
infovis.visualization.DefaultVisualization
infovis.visualization.StrokingVisualization
infovis.table.visualization.TimeSeriesVisualization
- All Implemented Interfaces:
- IntComparator, Column, Metadata, Constants, Table, RowComparator, Visualization, Layout, LabeledComponent, Orientable, Serializable, EventListener, ChangeListener, TableModelListener, SwingConstants, TableModel
- Direct Known Subclasses:
- ParallelCoordinatesVisualization
public class TimeSeriesVisualization
- extends StrokingVisualization
- implements Layout
BasicVisualization component for Time Series
- Version:
- $Revision: 1.45 $
- Author:
- Jean-Daniel Fekete
- See Also:
- Serialized Form
- InfoVis factory arguments:
- VisualizationFactory "Table Time Series" infovis.Table
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 |
Fields inherited from interface infovis.metadata.Constants |
CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE |
Methods inherited from class infovis.visualization.DefaultVisualization |
addPropertyChangeListener, addPropertyChangeListener, computeMinMax, computeMinMaxFiltered, computeShapes, dispose, findRectAt, findVisualization, firePropertyChange, firePropertyChange, firePropertyChange, fireVisualColumnDescriptorChanged, freeRectAt, getBounds, getComponent, getFilter, getFisheye, getInteractor, getItemRenderer, getItemRenderer, getItemRenderer, getOrientation, getParent, getPermutation, getPreferredSize, getRectAt, getRowAtIndex, getRowCount, getRowIndex, getRulerTable, getSelection, getShapeAt, getShapeBoundsAt, getShapes, getTable, getVisualColumn, getVisualColumnDescriptor, getVisualColumnIterator, getVisualization, getVisualizationBounds, invalidate, invalidate, isFiltered, isInvalidateColumn, isInvalidated, iterator, paint, paintItem, paintItems, paintVisualizations, pickAll, pickItem, pickTop, pickTop, print, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, reverseIterator, setFisheye, setInteractor, setItemRenderer, setOrientation, setParent, setPermutation, setShapeAt, setVisualColumn, tableChanged, validateShapes |
Methods inherited from class infovis.table.TableProxy |
addColumn, addTableModelListener, clear, getColumn, getColumnAt, getColumnClass, getColumnCount, getColumnName, getLastRow, getValueAt, indexOf, indexOf, isCellEditable, isRowValid, removeColumn, removeTableModelListener, setColumnAt, setValueAt |
Methods inherited from class infovis.column.ColumnProxy |
addValue, addValueOrNull, capacity, compare, ensureCapacity, getClientProperty, getFormat, getMaxIndex, getMetadata, getMinIndex, getValueAt, getValueClass, hasUndefinedValue, isEmpty, isInternal, isValueUndefined, setFormat, setName, setSize, setValueAt, setValueOrNullAt, setValueUndefined, size |
Methods inherited from interface infovis.Column |
addChangeListener, addValue, addValueOrNull, capacity, disableNotify, enableNotify, ensureCapacity, getFormat, getMaxIndex, getMinIndex, getValueAt, getValueClass, hasUndefinedValue, isEmpty, isInternal, isValueUndefined, removeChangeListener, setFormat, setName, setSize, setValueAt, setValueOrNullAt, setValueUndefined, size |
PROPERTY_DATA_COLUMNS
public static final String PROPERTY_DATA_COLUMNS
- Name of the property for data columns change notification
- See Also:
- Constant Field Values
TimeSeriesVisualization
public TimeSeriesVisualization(Table table)
- Creates a new TimeSeriesVisualization object.
- Parameters:
table
- the Table to visualize.
getLayout
public Layout getLayout()
- Description copied from class:
DefaultVisualization
- Returns the layout object managed by this visualization or
null if the visualization computes the layout by itself.
- Overrides:
getLayout
in class DefaultVisualization
- Returns:
- the layout object managed by this visualization or null.
getName
public String getName()
- Description copied from class:
ColumnProxy
- Returns the column name.
- Specified by:
getName
in interface Column
- Specified by:
getName
in interface Layout
- Overrides:
getName
in class ColumnProxy
- Returns:
- the column name.
getPreferredSize
public Dimension getPreferredSize(Visualization vis)
- Description copied from interface:
Layout
- Computes and return the preferred size
for this layout and this visualization.
- Specified by:
getPreferredSize
in interface Layout
- Parameters:
vis
- the visualization
- Returns:
- the preferred size
for this layout and this visualization.
invalidate
public void invalidate(Visualization vis)
- Invalidate the cached state of the
layout.
Call this method from the visualization
when it gets invalidated.
- Specified by:
invalidate
in interface Layout
- Parameters:
vis
- the visualization.
addDataColumn
public void addDataColumn(NumberColumn c)
- Adds a column.
- Parameters:
c
- The column.
removeDataColumn
public void removeDataColumn(NumberColumn c)
- Removes a column.
- Parameters:
c
- The column.
addAllDataColumns
public void addAllDataColumns()
- Adds all data columns.
getDataColumnCount
public int getDataColumnCount()
getDataColumnList
public ListModel getDataColumnList()
getNumberColumnAt
public NumberColumn getNumberColumnAt(int index)
stateChanged
public void stateChanged(ChangeEvent e)
- Description copied from class:
DefaultVisualization
-
- Specified by:
stateChanged
in interface ChangeListener
- Overrides:
stateChanged
in class DefaultVisualization
- See Also:
DefaultVisualization.stateChanged(ChangeEvent)
computeShapes
public void computeShapes(Rectangle2D bounds,
Visualization vis)
- Description copied from interface:
Layout
- Computes the layout.
- Specified by:
computeShapes
in interface Layout
- Parameters:
bounds
- the allocated bounds of the
visualization.vis
- the visualization.
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.