|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.ui.Grid.HeaderRow
public static class Grid.HeaderRow
Represents a header row in Grid.
Field Summary | |
---|---|
protected com.vaadin.ui.Grid.StaticSection<?> |
section
|
Constructor Summary | |
---|---|
protected |
Grid.HeaderRow(com.vaadin.ui.Grid.StaticSection<?> section)
|
Method Summary | |
---|---|
protected void |
addCell(java.lang.Object propertyId)
|
protected Grid.HeaderCell |
createCell()
Creates and returns a new instance of the cell type. |
CELLTYPE |
getCell(java.lang.Object propertyId)
Returns the cell for the given property id on this row. |
protected java.lang.String |
getCellTagName()
|
protected com.vaadin.shared.ui.grid.GridStaticSectionState.RowState |
getRowState()
|
java.lang.String |
getStyleName()
Returns the custom style name for this row. |
CELLTYPE |
join(CELLTYPE... cells)
Merges columns cells in a row |
CELLTYPE |
join(java.lang.Object... propertyIds)
Merges columns cells in a row |
protected CELLTYPE |
join(java.util.Set<CELLTYPE> cells)
|
protected void |
readDesign(org.jsoup.nodes.Element trElement,
DesignContext designContext)
Reads the declarative design from the given table row element. |
protected void |
removeCell(java.lang.Object propertyId)
|
void |
setStyleName(java.lang.String styleName)
Sets a custom style name for this row. |
protected void |
writeDesign(org.jsoup.nodes.Element trElement,
DesignContext designContext)
Writes the declarative design to the given table row element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.vaadin.ui.Grid.StaticSection<?> section
Constructor Detail |
---|
protected Grid.HeaderRow(com.vaadin.ui.Grid.StaticSection<?> section)
Method Detail |
---|
protected Grid.HeaderCell createCell()
protected java.lang.String getCellTagName()
protected void writeDesign(org.jsoup.nodes.Element trElement, DesignContext designContext)
trElement
- Element to write design todesignContext
- the design contextprotected void readDesign(org.jsoup.nodes.Element trElement, DesignContext designContext)
trElement
- Element to read design fromdesignContext
- the design contextprotected void addCell(java.lang.Object propertyId)
protected void removeCell(java.lang.Object propertyId)
protected com.vaadin.shared.ui.grid.GridStaticSectionState.RowState getRowState()
public CELLTYPE getCell(java.lang.Object propertyId)
propertyId
- the property id of the column
public CELLTYPE join(java.lang.Object... propertyIds)
propertyIds
- The property ids of columns to merge
public CELLTYPE join(CELLTYPE... cells)
cells
- The cells to merge. Must be from the same row.
protected CELLTYPE join(java.util.Set<CELLTYPE> cells)
public java.lang.String getStyleName()
public void setStyleName(java.lang.String styleName)
styleName
- the style name to set or null to not use any style
name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |