public class CollapsePanelBaseAppearance extends Object implements CollapsePanel.CollapsePanelAppearance
| Modifier and Type | Class and Description |
|---|---|
static interface |
CollapsePanelBaseAppearance.CollapsePanelResources |
static interface |
CollapsePanelBaseAppearance.CollapsePanelStyle |
| Constructor and Description |
|---|
CollapsePanelBaseAppearance() |
CollapsePanelBaseAppearance(CollapsePanelBaseAppearance.CollapsePanelResources resources) |
| Modifier and Type | Method and Description |
|---|---|
XElement |
iconWrap(XElement parent)
Returns the element that wraps the icon for the
CollapsePanel. |
void |
render(SafeHtmlBuilder sb,
Style.LayoutRegion region)
Renders the
CollapsePanel appearance for the given region into
safe HTML. |
public CollapsePanelBaseAppearance()
public CollapsePanelBaseAppearance(CollapsePanelBaseAppearance.CollapsePanelResources resources)
public void render(SafeHtmlBuilder sb, Style.LayoutRegion region)
CollapsePanel.CollapsePanelAppearanceCollapsePanel appearance for the given region into
safe HTML.render in interface CollapsePanel.CollapsePanelAppearancesb - receives the rendered appearanceregion - the regionpublic XElement iconWrap(XElement parent)
CollapsePanel.CollapsePanelAppearanceCollapsePanel.iconWrap in interface CollapsePanel.CollapsePanelAppearanceparent - the parent of the icon wrapper (generally
Component.getElement()).Copyright © 2012. All Rights Reserved.