Interface CollapsePanel.CollapsePanelAppearance
-
- All Known Implementing Classes:
BlueCollapsePanelAppearance
,CollapsePanelDefaultAppearance
,GrayCollapsePanelAppearance
- Enclosing class:
- CollapsePanel
public static interface CollapsePanel.CollapsePanelAppearance
Provides the appearance of aCollapsePanel
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XElement
iconWrap(XElement parent)
Returns the element that wraps the icon for theCollapsePanel
.void
render(com.google.gwt.safehtml.shared.SafeHtmlBuilder sb, Style.LayoutRegion region, boolean header)
Renders theCollapsePanel
appearance for the given region into safe HTML.XElement
textWrap(XElement parent)
Returns the element that wraps the text for theCollapsePanel
.
-
-
-
Method Detail
-
render
void render(com.google.gwt.safehtml.shared.SafeHtmlBuilder sb, Style.LayoutRegion region, boolean header)
Renders theCollapsePanel
appearance for the given region into safe HTML.- Parameters:
sb
- receives the rendered appearanceregion
- the regionheader
- true to include header text
-
iconWrap
XElement iconWrap(XElement parent)
Returns the element that wraps the icon for theCollapsePanel
.- Parameters:
parent
- the parent of the icon wrapper (generallyComponent.getElement()
).- Returns:
- the icon wrapper
-
textWrap
XElement textWrap(XElement parent)
Returns the element that wraps the text for theCollapsePanel
.- Parameters:
parent
- the parent of the text wrapper (generallyComponent.getElement()
).- Returns:
- the text wrapper
-
-