|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.widgets.Grid.StaticSectionUpdater
protected class Grid.StaticSectionUpdater
| Field Summary |
|---|
| Fields inherited from interface com.vaadin.client.widget.escalator.EscalatorUpdater |
|---|
NULL |
| Constructor Summary | |
|---|---|
Grid.StaticSectionUpdater(Grid.StaticSection<?> section,
RowContainer container)
|
|
| Method Summary | |
|---|---|
protected Grid |
getGrid()
|
void |
postAttach(Row row,
java.lang.Iterable<FlyweightCell> attachedCells)
Called after attaching new cells to the escalator. |
void |
postDetach(Row row,
java.lang.Iterable<FlyweightCell> detachedCells)
Called after detaching cells from the escalator. |
void |
preAttach(Row row,
java.lang.Iterable<FlyweightCell> cellsToAttach)
Called before attaching new cells to the escalator. |
void |
preDetach(Row row,
java.lang.Iterable<FlyweightCell> cellsToDetach)
Called before detaching cells from the escalator. |
void |
update(Row row,
java.lang.Iterable<FlyweightCell> cellsToUpdate)
Renders a row contained in a row container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Grid.StaticSectionUpdater(Grid.StaticSection<?> section,
RowContainer container)
| Method Detail |
|---|
public void update(Row row,
java.lang.Iterable<FlyweightCell> cellsToUpdate)
EscalatorUpdaterNote: If rendering of cells is deferred (e.g. because asynchronous data retrieval), this method is responsible for explicitly displaying some placeholder data (empty content is valid). Because the cells (and rows) in an escalator are recycled, failing to reset a cell's presentation will lead to wrong data being displayed in the escalator.
For performance reasons, the escalator will never autonomously clear any data in a cell.
update in interface EscalatorUpdaterrow - Information about the row that is being updated.
Note: You should not store nor reuse this reference.cellsToUpdate - A collection of cells that need to be updated. Note:
You should neither store nor reuse the reference to the
iterable, nor to the individual cells.
public void preAttach(Row row,
java.lang.Iterable<FlyweightCell> cellsToAttach)
EscalatorUpdater
preAttach in interface EscalatorUpdaterrow - Information about the row to which the cells will be added.
Note: You should not store nor reuse this reference.cellsToAttach - A collection of cells that are about to be attached.
Note: You should neither store nor reuse the
reference to the iterable, nor to the individual cells.
public void postAttach(Row row,
java.lang.Iterable<FlyweightCell> attachedCells)
EscalatorUpdater
postAttach in interface EscalatorUpdaterrow - Information about the row to which the cells were added.
Note: You should not store nor reuse this reference.attachedCells - A collection of cells that were attached. Note: You
should neither store nor reuse the reference to the iterable,
nor to the individual cells.
public void preDetach(Row row,
java.lang.Iterable<FlyweightCell> cellsToDetach)
EscalatorUpdater
preDetach in interface EscalatorUpdaterrow - Information about the row from which the cells will be
removed. Note: You should not store nor reuse this
reference.protected Grid getGrid()
public void postDetach(Row row,
java.lang.Iterable<FlyweightCell> detachedCells)
EscalatorUpdater
postDetach in interface EscalatorUpdaterrow - Information about the row from which the cells were removed.
Note: You should not store nor reuse this reference.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||