|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.structure.table.concrete.internal.StripeAbstract<E>
org.omnaest.utils.structure.table.concrete.internal.StripeImpl<E>
E - public class StripeImpl<E>
TableInternal.StripeInternal,
StripeAbstract,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.omnaest.utils.structure.table.Table.Stripe |
|---|
Table.Stripe.StripeType, Table.Stripe.Title |
| Field Summary |
|---|
| Fields inherited from class org.omnaest.utils.structure.table.concrete.internal.StripeAbstract |
|---|
stripeData, tableInternal |
| Constructor Summary | |
|---|---|
StripeImpl(TableInternal<E> tableInternal,
TableInternal.StripeData<E> stripeData)
|
|
| Method Summary | |
|---|---|
Iterable<Table.Cell<E>> |
cells()
Returns an Iterable for all Table.Cells of this Table.Stripe |
Table.Stripe<E> |
clearCellElements()
Sets all available Table.Cell.setElement(Object) to null |
boolean |
contains(E element)
Returns true if one of the Table.Cells of this Table.Stripe contains the given element |
boolean |
contains(Table.Cell<E> cell)
Returns true if this Table.Stripe contains the given Table.Cell. |
int |
determineIndexPosition()
Determines the index position of this Table.Stripe within the Table |
int |
determineNumberOfCells()
Determines the number of Table.Cells currently stored within this Table.Stripe |
Table.Cell<E> |
getCell(int indexPosition)
Get the Table.Cell for the given index position. |
Table.Cell<E> |
getCell(Object titleValue)
Returns the Table.Cell for the title value of the orthogonal Table.Stripe.getTitleValue() |
Table.Cell<E> |
getCell(Table.Stripe<E> stripeOrthogonal)
Returns the Table.Cell for the title value of the orthogonal Table.Stripe |
TableInternal.StripeData<E> |
getStripeData()
Returns the underlying TableInternal.StripeData |
Object |
getTitleValue()
Returns the Table.Stripe.Title.getValue() |
boolean |
hasTitle()
Returns true if the Table.Stripe has a Table.Stripe.Title value not null |
Iterator<Table.Cell<E>> |
iterator()
|
protected Table.Cell<E> |
resolvesOrCreateCellWithinNewTableArea(int indexPosition)
|
protected Table.Cell<E> |
resolvesOrCreateCellWithinNewTableArea(Object titleValue)
|
Table.Stripe<E> |
setCellElement(int indexPosition,
E element)
Set the Table.Cell.setElement(Object) for the Table.Cell corresponding to the given orthogonal index position |
Table.Stripe<E> |
setCellElement(Object titleValue,
E element)
Sets the Table.Cell.setElement(Object) for the Table.Cell corresponding to the given title value |
Table.Stripe<E> |
setCellElements(Iterable<E> elements)
Sets the Table.Cell.setElement(Object) of the whole Table.Stripe |
Table.Stripe.Title |
title()
Returns the Table.Stripe.Title. |
| Methods inherited from class org.omnaest.utils.structure.table.concrete.internal.StripeAbstract |
|---|
determineColumnIndexPosition, determineRowIndexPosition, equals, getCellElement, getCellElement, getCellElement, getCellElementList, getColumnTitleValueList, getTable, getTableInternal, hashCode, setCellElements, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StripeImpl(TableInternal<E> tableInternal,
TableInternal.StripeData<E> stripeData)
tableInternal - stripeData - | Method Detail |
|---|
public Table.Stripe.Title title()
Table.StripeTable.Stripe.Title.
public Iterator<Table.Cell<E>> iterator()
public boolean contains(Table.Cell<E> cell)
Table.StripeTable.Stripe contains the given Table.Cell.
public Iterable<Table.Cell<E>> cells()
Table.StripeIterable for all Table.Cells of this Table.Stripe
public Table.Cell<E> getCell(int indexPosition)
Table.StripeTable.Cell for the given index position.
public Table.Cell<E> getCell(Object titleValue)
Table.StripeTable.Cell for the title value of the orthogonal Table.Stripe.getTitleValue()
public Table.Cell<E> getCell(Table.Stripe<E> stripeOrthogonal)
Table.StripeTable.Cell for the title value of the orthogonal Table.Stripe
public Table.Stripe<E> setCellElement(int indexPosition,
E element)
Table.StripeTable.Cell.setElement(Object) for the Table.Cell corresponding to the given orthogonal index position
public Table.Stripe<E> setCellElement(Object titleValue,
E element)
Table.StripeTable.Cell.setElement(Object) for the Table.Cell corresponding to the given title value
public int determineNumberOfCells()
Table.StripeTable.Cells currently stored within this Table.Stripe
public boolean contains(E element)
Table.StripeTable.Cells of this Table.Stripe contains the given element
public TableInternal.StripeData<E> getStripeData()
TableInternal.StripeInternalTableInternal.StripeData
protected Table.Cell<E> resolvesOrCreateCellWithinNewTableArea(int indexPosition)
indexPosition -
protected Table.Cell<E> resolvesOrCreateCellWithinNewTableArea(Object titleValue)
titleValue -
public boolean hasTitle()
Table.StripeTable.Stripe has a Table.Stripe.Title value not null
public int determineIndexPosition()
TableInternal.StripeInternalTable.Stripe within the Table
public Table.Stripe<E> setCellElements(Iterable<E> elements)
Table.StripeTable.Cell.setElement(Object) of the whole Table.Stripe
public Table.Stripe<E> clearCellElements()
Table.StripeTable.Cell.setElement(Object) to null
public Object getTitleValue()
Table.StripeTable.Stripe.Title.getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||