|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.structure.table.concrete.TableAbstract<E>
E - public abstract class TableAbstract<E>
Implements all facade methods which are only operating on the facade itself
Table,
TableSerializer,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.omnaest.utils.structure.table.Table |
|---|
Table.Cell<E>, Table.CellImmutable<E>, Table.Column<E>, Table.Row<E>, Table.Stripe<E>, Table.TableCellConverter<FROM,TO>, Table.TableCellVisitor<E>, Table.TableComponent, Table.TableSize |
| 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> |
| Constructor Summary | |
|---|---|
protected |
TableAbstract()
|
| Method Summary | |
|---|---|
TableCloneable.TableCloner<E> |
clone()
Returns the TableCloneable.TableCloner for the Table which allows to clone it. |
boolean |
contains(E element)
Returns true, if the whole Table contains the given element. |
Table<E> |
convertFirstColumnToTitle()
Converts the first column to row titles. |
Table<E> |
convertFirstRowToTitle()
Takes the first row of the table converts it to text and removes it from the table. |
Table<E> |
ensureNumberOfColumns(int numberOfColumns)
Ensures the number of Table.Columns to be present |
Table<E> |
ensureNumberOfRows(int numberOfRows)
Ensures the number of Table.Rows to be present |
E |
getCellElement(int rowIndexPosition,
int columnIndexPosition)
Resolves an element from the table at the given index positions. |
List<E> |
getCellElementList()
Returns a new List of all Table.Cell instances of the Table serialized . |
List<Table.Cell<E>> |
getCellList()
Returns a to the table backed list of all cells. |
List<Table.Column<E>> |
getColumnList()
Returns a List of all Table.Columns |
Table.Column<E> |
getFirstColumn()
Returns the first Table.Column of the Table |
Table.Row<E> |
getFirstRow()
Returns the first Table.Row of the Table |
Table.Column<E> |
getLastColumn()
Returns the last Table.Column of the Table |
Table.Row<E> |
getLastRow()
Returns the last Table.Row of the Table |
List<Table.Row<E>> |
getRowList()
Returns a List of all Table.Rows |
boolean |
hasColumnTitles()
Returns true if at least one Table.Column has a Table.Stripe.Title |
boolean |
hasRowTitles()
Returns true if at least one Table.Row has a Table.Stripe.Title |
boolean |
hasTableName()
Returns true if the TableCoreImmutable.getTableName() is not null |
List<E> |
removeColumn(Table.Column<E> column)
Removes the given Table.Column from the Table |
List<E> |
removeRow(Table.Row<E> row)
Removes the given Table.Row from the Table |
List<List<E>> |
removeRows(int[] rowIndexPositions)
Removes all the given rows. |
Table<E> |
setColumnCellElements(int columnIndexPosition,
List<? extends E> columnCellElementList)
Puts a column at the given column index position. |
Table<E> |
setNumberOfColumns(int numberOfColumns)
Sets the number of Table.Columns |
Table<E> |
setNumberOfRows(int numberOfRows)
Sets the number of Table.Rows |
Table<E> |
setRowCellElements(int rowIndexPosition,
List<? extends E> rowCellElementList)
Puts a row at the given row index position |
Table<E> |
truncateRows(int rowIndexPosition)
Deletes all Table.Rows including the given Table.Row index position to the end of the Table |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableCore |
|---|
addColumnCellElements, addColumnCellElements, addRowCellElements, addRowCellElements, clear, putArray, putTable, removeColumn, removeRow, setCellElement, setCellElement, setColumnTitleValue, setColumnTitleValues, setColumnTitleValues, setRowTitleValue, setRowTitleValues, setRowTitleValues, setTableName, transpose |
| Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableCoreImmutable |
|---|
cells, columns, convert, equals, getCell, getCell, getCell, getCell, getCell, getCellElement, getColumn, getColumn, getColumnTitleValue, getColumnTitleValueList, getRow, getRow, getRowTitleValue, getRowTitleValueList, getTableName, getTableSize, iterator, iteratorCell, iteratorColumn, processTableCells, rows |
| 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 |
| Constructor Detail |
|---|
protected TableAbstract()
| Method Detail |
|---|
public E getCellElement(int rowIndexPosition,
int columnIndexPosition)
TableCoreImmutable
getCellElement in interface TableCoreImmutable<E>TableCoreImmutable.getCellElement(int)public List<List<E>> removeRows(int[] rowIndexPositions)
TableCore
removeRows in interface TableCore<E>public Table<E> truncateRows(int rowIndexPosition)
TableCoreTable.Rows including the given Table.Row index position to the end of the Table
truncateRows in interface TableCore<E>
public Table<E> setRowCellElements(int rowIndexPosition,
List<? extends E> rowCellElementList)
TableCore
setRowCellElements in interface TableCore<E>
public Table<E> setColumnCellElements(int columnIndexPosition,
List<? extends E> columnCellElementList)
TableCore
setColumnCellElements in interface TableCore<E>public boolean contains(E element)
TableCoreImmutableTable contains the given element.
contains in interface TableCoreImmutable<E>public Table<E> convertFirstRowToTitle()
TableCore
convertFirstRowToTitle in interface TableCore<E>public Table<E> convertFirstColumnToTitle()
TableCore
convertFirstColumnToTitle in interface TableCore<E>public List<Table.Cell<E>> getCellList()
TableCoreImmutable
getCellList in interface TableCoreImmutable<E>TableCorepublic List<E> getCellElementList()
TableCoreImmutableList of all Table.Cell instances of the Table serialized .
getCellElementList in interface TableCoreImmutable<E>TableCoreImmutable.getCellElement(int)public List<Table.Row<E>> getRowList()
TableCoreImmutableList of all Table.Rows
getRowList in interface TableCoreImmutable<E>public List<Table.Column<E>> getColumnList()
TableCoreImmutableList of all Table.Columns
getColumnList in interface TableCoreImmutable<E>public boolean hasColumnTitles()
TableCoreImmutableTable.Column has a Table.Stripe.Title
hasColumnTitles in interface TableCoreImmutable<E>public boolean hasTableName()
TableCoreImmutableTableCoreImmutable.getTableName() is not null
hasTableName in interface TableCoreImmutable<E>public boolean hasRowTitles()
TableCoreImmutableTable.Row has a Table.Stripe.Title
hasRowTitles in interface TableCoreImmutable<E>public Table<E> setNumberOfColumns(int numberOfColumns)
TableCoreTable.Columns
setNumberOfColumns in interface TableCore<E>public Table<E> ensureNumberOfColumns(int numberOfColumns)
TableCoreTable.Columns to be present
ensureNumberOfColumns in interface TableCore<E>public Table<E> setNumberOfRows(int numberOfRows)
TableCoreTable.Rows
setNumberOfRows in interface TableCore<E>public Table<E> ensureNumberOfRows(int numberOfRows)
TableCoreTable.Rows to be present
ensureNumberOfRows in interface TableCore<E>public List<E> removeColumn(Table.Column<E> column)
TableCoreTable.Column from the Table
removeColumn in interface TableCore<E>public List<E> removeRow(Table.Row<E> row)
TableCoreTable.Row from the Table
removeRow in interface TableCore<E>public Table.Row<E> getLastRow()
TableCoreImmutableTable.Row of the Table
getLastRow in interface TableCoreImmutable<E>public Table.Column<E> getLastColumn()
TableCoreImmutableTable.Column of the Table
getLastColumn in interface TableCoreImmutable<E>public Table.Row<E> getFirstRow()
TableCoreImmutableTable.Row of the Table
getFirstRow in interface TableCoreImmutable<E>public Table.Column<E> getFirstColumn()
TableCoreImmutableTable.Column of the Table
getFirstColumn in interface TableCoreImmutable<E>
public TableCloneable.TableCloner<E> clone()
throws CloneNotSupportedException
TableCloneableTableCloneable.TableCloner for the Table which allows to clone it.
clone in interface TableCloneable<E>clone in class ObjectCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||