|
||||||||||
| 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.CellImpl<E>
E - public class CellImpl<E>
Wrapper for a CellDataImpl instance which additionally holds references to the TableInternal.StripeData instances which led
to the underlying CellDataImpl
Table.Cell,
TableInternal.CellInternal,
CellDataImpl,
Serialized Form| Field Summary | |
|---|---|
protected TableInternal.CellData<E> |
cellData
|
protected List<TableInternal.StripeData<E>> |
stripeDataList
|
| Constructor Summary | |
|---|---|
protected |
CellImpl(Collection<TableInternal.StripeData<E>> stripeDataCollection,
TableInternal.CellData<E> cellData)
|
| Method Summary | |
|---|---|
Table.Cell<E> |
detachFromTable()
Removes a Table.Cell from its related Table.Row and Table.Column. |
boolean |
equals(Object obj)
|
TableInternal.CellData<E> |
getCellData()
Returns the underlying TableInternal.CellData instance |
E |
getElement()
Returns the value of the Table.Cell |
boolean |
hasElement(E element)
Returns true if the given element equals the current Table.CellImmutable.getElement() |
int |
hashCode()
|
protected TableInternal.StripeData<E> |
resolveStripeData(Table.Stripe.StripeType stripeType)
|
void |
setElement(E element)
Sets the value of the Table.Cell |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<TableInternal.StripeData<E>> stripeDataList
protected TableInternal.CellData<E> cellData
| Constructor Detail |
|---|
protected CellImpl(Collection<TableInternal.StripeData<E>> stripeDataCollection,
TableInternal.CellData<E> cellData)
stripeDataCollection - | Method Detail |
|---|
public Table.Cell<E> detachFromTable()
TableInternal.CellInternalTable.Cell from its related Table.Row and Table.Column.
detachFromTable in interface TableInternal.CellInternal<E>protected TableInternal.StripeData<E> resolveStripeData(Table.Stripe.StripeType stripeType)
public E getElement()
Table.CellImmutableTable.Cell
getElement in interface Table.CellImmutable<E>public void setElement(E element)
Table.CellTable.Cell
setElement in interface Table.Cell<E>public boolean hasElement(E element)
Table.CellImmutableTable.CellImmutable.getElement()
hasElement in interface Table.CellImmutable<E>public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic TableInternal.CellData<E> getCellData()
TableInternal.CellInternalTableInternal.CellData instance
getCellData in interface TableInternal.CellInternal<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||