infovis.table
Class DynamicTableProxy

java.lang.Object
  extended by infovis.utils.ChangeManager
      extended by infovis.column.AbstractColumn
          extended by infovis.column.ColumnProxy
              extended by infovis.table.TableProxy
                  extended by infovis.table.DynamicTableProxy
All Implemented Interfaces:
IntComparator, Column, DynamicTable, Metadata, Constants, Table, RowComparator, Serializable, EventListener, ChangeListener, TableModelListener, TableModel
Direct Known Subclasses:
TreeProxy

public class DynamicTableProxy
extends TableProxy
implements DynamicTable

Proxy of a Dynamic Table.

Version:
$Revision: 1.2 $
Author:
Jean-Daniel Fekete
See Also:
Serialized Form

Field Summary
 
Fields inherited from class infovis.column.AbstractColumn
MODIFIED_ALL, MODIFIED_NONE
 
Fields inherited from interface infovis.Table
FILTER_COLUMN, INTERNAL_PREFIX, NIL, SELECTION_COLUMN
 
Fields inherited from interface infovis.metadata.Constants
CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE
 
Constructor Summary
DynamicTableProxy(DynamicTable table)
          Constructor.
 
Method Summary
 int addRow()
          Creates a new row and returns it.
 DynamicTable getDynamicTable()
          Returns the reference dynamic table.
 void removeRow(int row)
          Removes a specified row.
 
Methods inherited from class infovis.table.TableProxy
addColumn, addTableModelListener, clear, getColumn, getColumnAt, getColumnClass, getColumnCount, getColumnName, getLastRow, getRowCount, getTable, getValueAt, indexOf, indexOf, isCellEditable, isRowValid, removeColumn, removeTableModelListener, reverseIterator, setColumnAt, setValueAt, tableChanged
 
Methods inherited from class infovis.column.ColumnProxy
addValue, addValueOrNull, capacity, compare, dispose, ensureCapacity, getClientProperty, getFormat, getMaxIndex, getMetadata, getMinIndex, getName, getValueAt, getValueClass, hasUndefinedValue, isEmpty, isInternal, isValueUndefined, iterator, setFormat, setName, setSize, setValueAt, setValueOrNullAt, setValueUndefined, size, stateChanged
 
Methods inherited from class infovis.column.AbstractColumn
addChangeListener, compareValues, computeValueMap, computeValueMap, equalObj, equals, getLastModifiedRow, toString
 
Methods inherited from class infovis.utils.ChangeManager
disableNotify, enableNotify, getModCount, removeChangeListener
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface infovis.Table
addColumn, clear, getColumn, getColumnAt, getColumnCount, getLastRow, getRowCount, getTable, indexOf, indexOf, isRowValid, removeColumn, reverseIterator, setColumnAt
 
Methods inherited from interface infovis.Column
addChangeListener, addValue, addValueOrNull, capacity, disableNotify, enableNotify, ensureCapacity, getFormat, getMaxIndex, getMinIndex, getName, getValueAt, getValueClass, hasUndefinedValue, isEmpty, isInternal, isValueUndefined, iterator, removeChangeListener, setFormat, setName, setSize, setValueAt, setValueOrNullAt, setValueUndefined, size
 
Methods inherited from interface infovis.Metadata
getClientProperty, getMetadata
 
Methods inherited from interface cern.colt.function.IntComparator
compare, equals
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnName, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Constructor Detail

DynamicTableProxy

public DynamicTableProxy(DynamicTable table)
Constructor.

Parameters:
table - the reference dynamic table.
Method Detail

getDynamicTable

public DynamicTable getDynamicTable()
Returns the reference dynamic table.

Returns:
the reference dynamic table

addRow

public int addRow()
Creates a new row and returns it.

Specified by:
addRow in interface DynamicTable
Returns:
the new created row.

removeRow

public void removeRow(int row)
Removes a specified row.

Specified by:
removeRow in interface DynamicTable
Parameters:
row - the row to remove.


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