org.omnaest.utils.structure.table
Interface Table<E>

Type Parameters:
E - type of the Table elements
All Superinterfaces:
Iterable<Table.Row<E>>, Serializable, TableAdaptable<E>, TableCloneable<E>, TableCore<E>, TableCoreImmutable<E>, TableDataSource<E>, TableSelectable<E>, TableSerializable<E>
All Known Implementing Classes:
ArrayTable, SelectionExecutor.ArrayTableWithAccessibleTableInternal, TableAbstract, TableBasic

public interface Table<E>
extends TableCore<E>, TableSelectable<E>, Iterable<Table.Row<E>>, TableSerializable<E>, TableAdaptable<E>

This is a structure representing a fully qualified Table.

A Table divides in several Table.Rows or/and Table.Columns. Each Table.Row and Table.Column can contain Table.Cells. In the regular case one Table.Cell has only one Table.Row and one Table.Column it belongs to. (After a selection the case can occur that one Table.Cell is shared by multiple Table.Rows)

The Table supports basic CRUD operations:

as well as additional operations nodes like: or simple helper methods like: To iterate over Table.Rows you can use the Table instance itself. The Table allows to iterate over Table.Cells and Table.Columns too of course:

Author:
Omnaest
See Also:
ArrayTable, TableDataSource, TableAdapter, TableView, Selection, TableCloner, TableSerializer, TableCore.setTableName(Object), TableCoreImmutable.getTableSize()

Nested Class Summary
static interface Table.Cell<E>
          A Table.Cell is the atomic part of a Table.
static interface Table.CellImmutable<E>
           
static interface Table.Column<E>
          A Table.Column represents the vertical Table.Stripe of a Table.
static interface Table.Row<E>
          A Table.Row represents the horizontal Table.Stripe of a Table.
static interface Table.Stripe<E>
          Common abstraction for a Table.Column and a Table.Row
static interface Table.TableCellConverter<FROM,TO>
          Interface that is used to convert a Table into another Table generics form.
static interface Table.TableCellVisitor<E>
          Used by the table processor as visitor interface.
static interface Table.TableComponent
          Marker interface for components of a Table
static interface Table.TableSize
          Holds methods to return the current table size for rows and columns.
 
Nested classes/interfaces inherited from interface org.omnaest.utils.structure.table.subspecification.TableCloneable
TableCloneable.TableCloner<E>
 
Nested classes/interfaces inherited from interface org.omnaest.utils.structure.table.subspecification.TableSelectable
TableSelectable.Predicate<E>, TableSelectable.Selection<E>, TableSelectable.SelectionJoin<E>, TableSelectable.Where<E>
 
Nested classes/interfaces inherited from interface org.omnaest.utils.structure.table.subspecification.TableSerializable
TableSerializable.TableSerializer<E>
 
Nested classes/interfaces inherited from interface org.omnaest.utils.structure.table.subspecification.TableAdaptable
TableAdaptable.TableAdapterProvider<E>
 
Method Summary
 
Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableCore
addColumnCellElements, addColumnCellElements, addRowCellElements, addRowCellElements, clear, convertFirstColumnToTitle, convertFirstRowToTitle, ensureNumberOfColumns, ensureNumberOfRows, putArray, putTable, removeColumn, removeColumn, removeRow, removeRow, removeRows, setCellElement, setCellElement, setColumnCellElements, setColumnTitleValue, setColumnTitleValues, setColumnTitleValues, setNumberOfColumns, setNumberOfRows, setRowCellElements, setRowTitleValue, setRowTitleValues, setRowTitleValues, setTableName, transpose, truncateRows
 
Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableCoreImmutable
cells, columns, contains, convert, equals, getCell, getCell, getCell, getCell, getCell, getCellElement, getCellElement, getCellElementList, getCellList, getColumn, getColumn, getColumnList, getColumnTitleValue, getColumnTitleValueList, getFirstColumn, getFirstRow, getLastColumn, getLastRow, getRow, getRow, getRowList, getRowTitleValue, getRowTitleValueList, getTableName, getTableSize, hasColumnTitles, hasRowTitles, hasTableName, iterator, iteratorCell, iteratorColumn, processTableCells, rows
 
Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableCloneable
clone
 
Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableSelectable
select
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableSerializable
serializer
 
Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableAdaptable
as, copyFrom
 



Copyright © 2011. All Rights Reserved.