public class CollapsePanelDefaultAppearance extends Object implements CollapsePanel.CollapsePanelAppearance
Modifier and Type | Class and Description |
---|---|
static interface |
CollapsePanelDefaultAppearance.CollapsePanelResources |
static interface |
CollapsePanelDefaultAppearance.CollapsePanelStyle |
Constructor and Description |
---|
CollapsePanelDefaultAppearance() |
CollapsePanelDefaultAppearance(CollapsePanelDefaultAppearance.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 CollapsePanelDefaultAppearance()
public CollapsePanelDefaultAppearance(CollapsePanelDefaultAppearance.CollapsePanelResources resources)
public void render(SafeHtmlBuilder sb, Style.LayoutRegion region)
CollapsePanel.CollapsePanelAppearance
CollapsePanel
appearance for the given region into
safe HTML.render
in interface CollapsePanel.CollapsePanelAppearance
sb
- receives the rendered appearanceregion
- the regionpublic XElement iconWrap(XElement parent)
CollapsePanel.CollapsePanelAppearance
CollapsePanel
.iconWrap
in interface CollapsePanel.CollapsePanelAppearance
parent
- the parent of the icon wrapper (generally
Component.getElement()
).Copyright © 2018. All rights reserved.