org.omnaest.utils.structure.table.internal
Interface TableInternal.StripeData<E>
- Type Parameters:
E -
- All Superinterfaces:
- Serializable, Table.TableComponent, TableInternal.TableComponentInternal
- All Known Implementing Classes:
- StripeDataAggregate, StripeDataImpl
- Enclosing interface:
- TableInternal<E>
public static interface TableInternal.StripeData<E>
- extends TableInternal.TableComponentInternal
- Author:
- Omnaest
- See Also:
Table.Stripe
getTitleInternal
TableInternal.StripeData.TitleInternal getTitleInternal()
- Returns the
TableInternal.StripeData.TitleInternal.
- Returns:
contains
boolean contains(TableInternal.CellData<E> cellData)
- Returns true if this
TableInternal.StripeData contains the given TableInternal.CellData.
- Parameters:
cellData -
- Returns:
contains
boolean contains(E element)
- Returns true if one of the
Table.Cells of this TableInternal.StripeData contains the given element
- Parameters:
element -
- Returns:
registerCell
void registerCell(TableInternal.CellData<E> cellData)
- Adds a
TableInternal.CellData to the TableInternal.StripeData if it does not contain the TableInternal.CellData already. This should allow
registering from Table.Cell constructor.
- Parameters:
cellData - - See Also:
#unregisterCell(CellData)
registerCells
void registerCells(Collection<TableInternal.CellData<E>> cellDataCollection)
- Parameters:
cellDataCollection - - See Also:
registerCells(Collection)
unregisterCell
void unregisterCell(TableInternal.CellData<E> cellData)
- Removes a
TableInternal.CellData from the TableInternal.StripeData
- Parameters:
cellData - - See Also:
#registerCell(CellData))
unregisterCells
void unregisterCells(Collection<TableInternal.CellData<E>> cellDataSet)
- Parameters:
cellDataSet - - See Also:
#unregisterCell(CellData)
resolveStripeType
Table.Stripe.StripeType resolveStripeType()
- Resolves the
Table.Stripe.StripeType from the underlying TableInternal.StripeDataList
- Returns:
getCellDataSet
Set<TableInternal.CellData<E>> getCellDataSet()
- Returns the internal
Table.Cell Set
- Returns:
findCellDataSetHavingCellElement
Set<TableInternal.CellData<E>> findCellDataSetHavingCellElement(E element)
- Returns a new
Set of TableInternal.CellData instances which contains the given element
- Parameters:
element -
- Returns:
getCellElementList
List<E> getCellElementList()
- Returns all
Table.CellImmutable.getElement() instances as ordered List as currently ordered within the Table. If
the Table order changes the List will not change. Changes to the List are not reflected into the
Table.
- Returns:
Copyright © 2011. All Rights Reserved.