org.omnaest.utils.structure.table.internal
Interface TableInternal.TableContent<E>

All Superinterfaces:
CloneableStructure<TableInternal.TableContent<E>>, Serializable, Table.TableComponent, TableInternal.TableComponentInternal
All Known Implementing Classes:
TableContentAbstract, TableContentImpl
Enclosing interface:
TableInternal<E>

public static interface TableInternal.TableContent<E>
extends TableInternal.TableComponentInternal, CloneableStructure<TableInternal.TableContent<E>>

Container for TableInternal.StripeDataList instances

Author:
Omnaest

Method Summary
 void clear()
          Clears the TableInternal.TableContent
 int determineStripeListSize(Table.Stripe.StripeType stripeType)
          Determines the size of the TableInternal.StripeDataList for the given Table.Stripe.StripeType
 TableInternal.StripeDataList<E> getColumnStripeDataList()
          Returns the Table.Column list
 TableInternal.StripeDataList<E> getRowStripeDataList()
          Returns the Table.Row list
 TableInternal.StripeDataList<E> getStripeDataList(Table.Stripe.StripeType stripeType)
          Returns the TableInternal.StripeDataList for the given Table.Stripe.StripeType
 Table.TableSize getTableSize()
          Returns a Table.TableSize instance
 void removeStripeDataAndItsCellDatasInOrthogonalStripeDatas(TableInternal.StripeData<E> stripeData)
          Removes the given TableInternal.StripeData from the TableInternal.TableContent including the TableInternal.CellData contained in the orthogonal TableInternal.StripeData instances.
 void switchRowAndColumnStripeList()
          Switches the TableInternal.StripeDataList for the Table.Row and Table.Column.
 
Methods inherited from interface org.omnaest.utils.structure.CloneableStructure
cloneStructure
 

Method Detail

getStripeDataList

TableInternal.StripeDataList<E> getStripeDataList(Table.Stripe.StripeType stripeType)
Returns the TableInternal.StripeDataList for the given Table.Stripe.StripeType

Parameters:
stripeType -
Returns:

getRowStripeDataList

TableInternal.StripeDataList<E> getRowStripeDataList()
Returns the Table.Row list

Returns:

getColumnStripeDataList

TableInternal.StripeDataList<E> getColumnStripeDataList()
Returns the Table.Column list

Returns:

switchRowAndColumnStripeList

void switchRowAndColumnStripeList()
Switches the TableInternal.StripeDataList for the Table.Row and Table.Column.


determineStripeListSize

int determineStripeListSize(Table.Stripe.StripeType stripeType)
Determines the size of the TableInternal.StripeDataList for the given Table.Stripe.StripeType

Parameters:
stripeType -
Returns:

clear

void clear()
Clears the TableInternal.TableContent


getTableSize

Table.TableSize getTableSize()
Returns a Table.TableSize instance

Returns:

removeStripeDataAndItsCellDatasInOrthogonalStripeDatas

void removeStripeDataAndItsCellDatasInOrthogonalStripeDatas(TableInternal.StripeData<E> stripeData)
Removes the given TableInternal.StripeData from the TableInternal.TableContent including the TableInternal.CellData contained in the orthogonal TableInternal.StripeData instances. This should be used to remove complete Table.Rows or Table.Columns

Parameters:
stripeData -


Copyright © 2011. All Rights Reserved.