|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.ui.components.grid.ColumnGroup
public class ColumnGroup
Column groups are used to group columns together for adding common auxiliary
headers and footers. Columns groups are added to ColumnGroupRow's.
| Method Summary | |
|---|---|
protected void |
checkGroupIsAttached()
Checks if column group is attached to a row and throws an IllegalStateException if it is not. |
java.util.List<java.lang.Object> |
getColumns()
Returns a list of property ids where all also the child groups property ids are included. |
java.lang.String |
getFooterCaption()
The text displayed in the footer of the column group. |
java.lang.String |
getHeaderCaption()
Sets the text displayed in the header of the column group. |
boolean |
isColumnInGroup(java.lang.Object propertyId)
Is a property id in this group or in some sub group of this group. |
void |
setFooterCaption(java.lang.String footer)
Sets the text displayed in the footer of the column group. |
void |
setHeaderCaption(java.lang.String header)
Sets the text displayed in the header of the column group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setHeaderCaption(java.lang.String header)
header - the text displayed in the header of the columnpublic java.lang.String getHeaderCaption()
public void setFooterCaption(java.lang.String footer)
footer - the text displayed in the footer of the columnpublic java.lang.String getFooterCaption()
public boolean isColumnInGroup(java.lang.Object propertyId)
propertyId - the property id to check for
true if the property id is included in this group.public java.util.List<java.lang.Object> getColumns()
protected void checkGroupIsAttached()
throws java.lang.IllegalStateException
IllegalStateException if it is not.
java.lang.IllegalStateException - if the column is no longer attached to any grid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||