|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.ui.grid.GridFooter
public class GridFooter
Represents the footer section of a Grid. The footer is always empty.
| Nested Class Summary | |
|---|---|
class |
GridFooter.FooterCell
A single cell in a grid Footer row. |
class |
GridFooter.FooterRow
A single row in a grid Footer section. |
| Constructor Summary | |
|---|---|
GridFooter()
|
|
| Method Summary | |
|---|---|
protected void |
addColumn(GridColumn<?,?> column)
|
ROWTYPE |
addRow(int index)
Inserts a new row at the given position. |
ROWTYPE |
appendRow()
Adds a new row at the bottom of this section. |
protected GridFooter.FooterRow |
createRow()
Creates and returns a new instance of the row type. |
protected Grid<?> |
getGrid()
|
ROWTYPE |
getRow(int index)
Returns the row at the given position. |
int |
getRowCount()
Returns the number of rows in this section. |
protected java.util.List<ROWTYPE> |
getRows()
|
protected int |
getVisibleRowCount()
|
boolean |
isVisible()
Returns the visibility of this section. |
ROWTYPE |
prependRow()
Adds a new row at the top of this section. |
protected void |
removeColumn(GridColumn<?,?> column)
|
void |
removeRow(int index)
Removes the row at the given position. |
void |
removeRow(ROWTYPE row)
Removes the given row from the section. |
protected void |
requestSectionRefresh()
Informs the grid that this section should be re-rendered. |
protected void |
setGrid(Grid<?> grid)
|
void |
setVisible(boolean visible)
Sets the visibility of the whole section. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridFooter()
| Method Detail |
|---|
protected GridFooter.FooterRow createRow()
protected void requestSectionRefresh()
Note that re-render means calling update() on each cell, preAttach()/postAttach()/preDetach()/postDetach() is not called as the cells are not removed from the DOM.
public void setVisible(boolean visible)
visible - true to show this section, false to hidepublic boolean isVisible()
public ROWTYPE addRow(int index)
index - the position at which to insert the row
java.lang.IndexOutOfBoundsException - if the index is out of boundspublic ROWTYPE prependRow()
public ROWTYPE appendRow()
public void removeRow(int index)
index - the position of the row
java.lang.IndexOutOfBoundsException - if the index is out of boundspublic void removeRow(ROWTYPE row)
row - the row to be removed
java.lang.IllegalArgumentException - if the row does not exist in this sectionpublic ROWTYPE getRow(int index)
index - the position of the row
java.lang.IndexOutOfBoundsException - if the index is out of boundspublic int getRowCount()
protected java.util.List<ROWTYPE> getRows()
protected int getVisibleRowCount()
protected void addColumn(GridColumn<?,?> column)
protected void removeColumn(GridColumn<?,?> column)
protected void setGrid(Grid<?> grid)
protected Grid<?> getGrid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||