|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.widget.grid.HeaderGroupConfig
public class HeaderGroupConfig
Defines the configuration for a header group. Header groups support rowspan and colspan and horizontal alignment. Groups support both HTML and widget for their content.
Field Summary | |
---|---|
protected ColumnHeader.Group |
group
|
Constructor Summary | |
---|---|
HeaderGroupConfig(java.lang.String html)
Creates a new header group without rowspan and colspan. |
|
HeaderGroupConfig(java.lang.String text,
int rowspan,
int colspan)
Creates a header group. |
|
HeaderGroupConfig(com.google.gwt.user.client.ui.Widget widget,
int rowspan,
int colspan)
Creates a header group. |
Method Summary | |
---|---|
int |
getColspan()
Returns the colspan. |
int |
getColumn()
Returns the column. |
Style.HorizontalAlignment |
getHorizontalAlignment()
Returns the horizontal alignment. |
java.lang.String |
getHtml()
Returns the html. |
int |
getRow()
Returns the row. |
int |
getRowspan()
Returns the rowspan. |
com.google.gwt.user.client.ui.Widget |
getWidget()
Returns the widget. |
void |
setColspan(int colspan)
Sets the colspan (defaults to 1). |
void |
setColumn(int column)
Sets the 0-indexed column |
void |
setHorizontalAlignment(Style.HorizontalAlignment horizontalAlignment)
Sets the horizontal alignment |
void |
setHtml(java.lang.String html)
Sets the group's html. |
void |
setRow(int row)
Sets the 0-indexed row. |
void |
setRowspan(int rowspan)
Sets the rowspan (defaults to 1). |
void |
setWidget(com.google.gwt.user.client.ui.Widget widget)
Sets the group's widget. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ColumnHeader.Group group
Constructor Detail |
---|
public HeaderGroupConfig(java.lang.String html)
html
- the group textpublic HeaderGroupConfig(java.lang.String text, int rowspan, int colspan)
text
- the group textrowspan
- the rowspancolspan
- the colspanpublic HeaderGroupConfig(com.google.gwt.user.client.ui.Widget widget, int rowspan, int colspan)
widget
- the group's widgetrowspan
- the rowspancolspan
- the colspanMethod Detail |
---|
public int getColspan()
public int getColumn()
public Style.HorizontalAlignment getHorizontalAlignment()
public int getRow()
public int getRowspan()
public java.lang.String getHtml()
public com.google.gwt.user.client.ui.Widget getWidget()
public void setColspan(int colspan)
colspan
- the colspanpublic void setColumn(int column)
column
- the columnpublic void setHorizontalAlignment(Style.HorizontalAlignment horizontalAlignment)
horizontalAlignment
- the alignmentpublic void setRow(int row)
row
- the rowpublic void setRowspan(int rowspan)
rowspan
- the rowspanpublic void setHtml(java.lang.String html)
html
- the html textpublic void setWidget(com.google.gwt.user.client.ui.Widget widget)
widget
- the widget
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |