|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Header.HeaderAppearance
The appearance of a header. A header has a bar that contains an icon and text.
| Method Summary | |
|---|---|
XElement |
getBarElem(XElement parent)
Returns the bar element for the specified header. |
XElement |
getTextElem(XElement parent)
Returns the text element for the specified header. |
void |
render(SafeHtmlBuilder sb)
Renders the appearance of a header as HTML into a SafeHtmlBuilder
suitable for passing to Element.setInnerHTML(String) on a
container element. |
void |
setIcon(XElement parent,
ImageResource icon)
Sets the icon for the specified header. |
| Method Detail |
|---|
XElement getBarElem(XElement parent)
parent - the header root element
XElement getTextElem(XElement parent)
parent - the header root element
void render(SafeHtmlBuilder sb)
SafeHtmlBuilder
suitable for passing to Element.setInnerHTML(String) on a
container element.
sb - receives the rendered appearance
void setIcon(XElement parent,
ImageResource icon)
parent - the header root elementicon - the icon to display in the header
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||