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

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

public class CollapsePanelBaseAppearance
extends Object
implements CollapsePanel.CollapsePanelAppearance


Nested Class Summary
static interface CollapsePanelBaseAppearance.CollapsePanelResources
           
static interface CollapsePanelBaseAppearance.CollapsePanelStyle
           
 
Constructor Summary
CollapsePanelBaseAppearance()
           
CollapsePanelBaseAppearance(CollapsePanelBaseAppearance.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

CollapsePanelBaseAppearance

public CollapsePanelBaseAppearance()

CollapsePanelBaseAppearance

public CollapsePanelBaseAppearance(CollapsePanelBaseAppearance.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.