org.omnaest.utils.structure.table.subspecification
Interface TableAdaptable<E>

All Known Subinterfaces:
Table<E>
All Known Implementing Classes:
ArrayTable, SelectionExecutor.ArrayTableWithAccessibleTableInternal, TableAbstract, TableBasic

public interface TableAdaptable<E>

This Table subspecification adds an as() method to access a TableAdaptable.TableAdapterProvider as well as an copyFrom(TableDataSource) method to copy from TableDataSources

Author:
Omnaest
See Also:
TableAdapter, TableDataSource

Nested Class Summary
static interface TableAdaptable.TableAdapterProvider<E>
          A TableAdaptable.TableAdapterProvider offers methods to support the default TableAdapter
 
Method Summary
 TableAdaptable.TableAdapterProvider<E> as()
           
 Table<E> copyFrom(TableDataSource<E> tableDataSource)
          Clears the Table and copies the Table.CellImmutable.getElement() values from a given TableDataSource Copyies the cell
 

Method Detail

as

TableAdaptable.TableAdapterProvider<E> as()
Returns:
See Also:
TableAdaptable.TableAdapterProvider

copyFrom

Table<E> copyFrom(TableDataSource<E> tableDataSource)
Clears the Table and copies the Table.CellImmutable.getElement() values from a given TableDataSource Copyies the cell

Parameters:
tableDataSource -
Returns:
this


Copyright © 2011. All Rights Reserved.