public class HeaderGroupConfig extends Object
| Constructor and Description |
|---|
HeaderGroupConfig(SafeHtml html)
Creates a new header group without rowspan and colspan.
|
HeaderGroupConfig(SafeHtml text,
int rowspan,
int colspan)
Creates a header group.
|
HeaderGroupConfig(String html)
Creates a new header group without rowspan and colspan.
|
HeaderGroupConfig(String text,
int rowspan,
int colspan)
Creates a header group.
|
HeaderGroupConfig(Widget widget,
int rowspan,
int colspan)
Creates a header group.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColspan()
Returns the colspan.
|
int |
getColumn()
Returns the column.
|
HasHorizontalAlignment.HorizontalAlignmentConstant |
getHorizontalAlignment()
Returns the horizontal alignment.
|
SafeHtml |
getHtml()
Returns the html.
|
int |
getRow()
Returns the row.
|
int |
getRowspan()
Returns the rowspan.
|
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(HasHorizontalAlignment.HorizontalAlignmentConstant horizontalAlignment)
Sets the horizontal alignment
|
void |
setHtml(SafeHtml 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(Widget widget)
Sets the group's widget.
|
public HeaderGroupConfig(String html)
html - the group textpublic HeaderGroupConfig(SafeHtml html)
html - the group textpublic HeaderGroupConfig(String text, int rowspan, int colspan)
text - the group textrowspan - the rowspancolspan - the colspanpublic HeaderGroupConfig(SafeHtml text, int rowspan, int colspan)
text - the group textrowspan - the rowspancolspan - the colspanpublic HeaderGroupConfig(Widget widget, int rowspan, int colspan)
widget - the group's widgetrowspan - the rowspancolspan - the colspanpublic int getColspan()
public int getColumn()
public HasHorizontalAlignment.HorizontalAlignmentConstant getHorizontalAlignment()
public SafeHtml getHtml()
public int getRow()
public int getRowspan()
public Widget getWidget()
public void setColspan(int colspan)
colspan - the colspanpublic void setColumn(int column)
column - the columnpublic void setHorizontalAlignment(HasHorizontalAlignment.HorizontalAlignmentConstant horizontalAlignment)
horizontalAlignment - the alignmentpublic void setHtml(SafeHtml html)
html - the html textpublic void setRow(int row)
row - the rowpublic void setRowspan(int rowspan)
rowspan - the rowspanpublic void setWidget(Widget widget)
widget - the widgetCopyright © 2012. All Rights Reserved.