fr.inria.infovis.table
Class DefaultLayeredTable

java.lang.Object
  extended byinfovis.table.DefaultTable
      extended byfr.inria.infovis.table.DefaultLayeredTable
All Implemented Interfaces:
infovis.metadata.Constants, LayeredTable, infovis.Metadata, infovis.Table, javax.swing.table.TableModel

public class DefaultLayeredTable
extends infovis.table.DefaultTable
implements LayeredTable

Author:
raf Default implementation of a Layered Table. a table that support insertion of LayeredColumn

Field Summary
 
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
DefaultLayeredTable()
           
 
Method Summary
 void addColumn(infovis.Column c)
          Reimplements the standard addColumn method providing automated add into the LayeredColumns collection if the new added columns is a LayeredColumn
 java.util.Collection getLayeredColumns()
           
 void setLayeredColumns(java.util.Collection layeredColumns)
          This method set the pointer to a new collection.
 
Methods inherited from class infovis.table.DefaultTable
addTableModelListener, clear, fireTableChanged, fireTableDataChanged, fireTableStructureChanged, getClientPropery, getColumn, getColumnAt, getColumnClass, getColumnCount, getColumnName, getMetadata, getName, getRowCount, getTable, getValueAt, indexOf, indexOf, isCellEditable, isColumnInternal, isRowValid, iterator, remove, removeTableModelListener, setColumnAt, setName, setValueAt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLayeredTable

public DefaultLayeredTable()
Method Detail

addColumn

public void addColumn(infovis.Column c)
Reimplements the standard addColumn method providing automated add into the LayeredColumns collection if the new added columns is a LayeredColumn

Specified by:
addColumn in interface infovis.Table
See Also:
Table.addColumn(infovis.Column)

getLayeredColumns

public java.util.Collection getLayeredColumns()
Specified by:
getLayeredColumns in interface LayeredTable
Returns:
Returns the layeredColumns.

setLayeredColumns

public void setLayeredColumns(java.util.Collection layeredColumns)
This method set the pointer to a new collection. But this method DOES NOT ADD the columns contained in the collection to the list of Columns of the Table

Specified by:
setLayeredColumns in interface LayeredTable
Parameters:
layeredColumns - The layeredColumns to set.