|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.ui.components.grid.ColumnGroupRow
public class ColumnGroupRow
A column group row represents an auxiliary header or footer row added to the grid. A column group row includes column groups that group columns together.
| Method Summary | |
|---|---|
ColumnGroup |
addGroup(ColumnGroup... groups)
Add a new group to the row by using other already greated groups |
ColumnGroup |
addGroup(GridColumn... columns)
Add a new group to the row by using column instances. |
ColumnGroup |
addGroup(java.lang.Object... propertyIds)
Add a new group to the row by using property ids for the columns. |
java.util.List<ColumnGroup> |
getGroups()
Get the groups in the row. |
boolean |
isFooterVisible()
Is the footer visible for the row. |
boolean |
isHeaderVisible()
Is the header visible for the row. |
void |
removeGroup(ColumnGroup group)
Removes a group from the row. |
void |
setFooterVisible(boolean visible)
Sets the footer visible for the row. |
void |
setHeaderVisible(boolean visible)
Sets the header visible for the row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ColumnGroup addGroup(java.lang.Object... propertyIds)
throws java.lang.IllegalArgumentException
propertyIds - The property ids of the columns that should be included in the
group. A column can only belong in group on a row at a time.
java.lang.IllegalArgumentException
public ColumnGroup addGroup(GridColumn... columns)
throws java.lang.IllegalArgumentException
columns - the columns that should belong to the group
java.lang.IllegalArgumentException
public ColumnGroup addGroup(ColumnGroup... groups)
throws java.lang.IllegalArgumentException
groups - the subgroups of the group
java.lang.IllegalArgumentExceptionpublic void removeGroup(ColumnGroup group)
group - the group to removepublic java.util.List<ColumnGroup> getGroups()
public boolean isHeaderVisible()
true if header is visiblepublic void setHeaderVisible(boolean visible)
visible - should the header be shownpublic boolean isFooterVisible()
true if footer is visiblepublic void setFooterVisible(boolean visible)
visible - should the footer be shown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||