com.sencha.gxt.theme.base.client.widget
Class CollapsePanelDefaultAppearance

java.lang.Object
  extended by com.sencha.gxt.theme.base.client.widget.CollapsePanelDefaultAppearance
All Implemented Interfaces:
CollapsePanel.CollapsePanelAppearance

public class CollapsePanelDefaultAppearance
extends java.lang.Object
implements CollapsePanel.CollapsePanelAppearance


Nested Class Summary
static interface CollapsePanelDefaultAppearance.CollapsePanelResources
           
static interface CollapsePanelDefaultAppearance.CollapsePanelStyle
           
 
Constructor Summary
CollapsePanelDefaultAppearance()
           
CollapsePanelDefaultAppearance(CollapsePanelDefaultAppearance.CollapsePanelResources resources)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollapsePanelDefaultAppearance

public CollapsePanelDefaultAppearance()

CollapsePanelDefaultAppearance

public CollapsePanelDefaultAppearance(CollapsePanelDefaultAppearance.CollapsePanelResources resources)
Method Detail

render

public void render(SafeHtmlBuilder sb,
                   Style.LayoutRegion region)
Description copied from interface: CollapsePanel.CollapsePanelAppearance
Renders the CollapsePanel appearance for the given region into safe HTML.

Specified by:
render in interface CollapsePanel.CollapsePanelAppearance
Parameters:
sb - receives the rendered appearance
region - the region

iconWrap

public XElement iconWrap(XElement parent)
Description copied from interface: CollapsePanel.CollapsePanelAppearance
Returns the element that wraps the icon for the CollapsePanel.

Specified by:
iconWrap in interface CollapsePanel.CollapsePanelAppearance
Parameters:
parent - the parent of the icon wrapper (generally Component.getElement()).
Returns:
the icon wrapper


Copyright © 2012. All Rights Reserved.