public class HeaderGroupConfig extends Object
Constructor and Description |
---|
HeaderGroupConfig(SafeHtml html)
Creates a new header group without rowspan and colspan.
|
HeaderGroupConfig(SafeHtml html,
int rowspan,
int colspan)
Creates a header group.
|
HeaderGroupConfig(String html)
Creates a new header group without rowspan and colspan.
|
HeaderGroupConfig(String html,
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.
|
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(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 text or htmlpublic HeaderGroupConfig(SafeHtml html)
html
- the group htmlpublic HeaderGroupConfig(String html, int rowspan, int colspan)
html
- the group text or htmlrowspan
- the rowspancolspan
- the colspanpublic HeaderGroupConfig(SafeHtml html, int rowspan, int colspan)
html
- the group htmlrowspan
- 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 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(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 © 2018. All rights reserved.