com.sencha.gxt.theme.base.client.grid
Class GroupingViewDefaultAppearance

java.lang.Object
  extended by com.sencha.gxt.theme.base.client.grid.GroupingViewDefaultAppearance
All Implemented Interfaces:
GroupingView.GroupingViewAppearance

public class GroupingViewDefaultAppearance
extends java.lang.Object
implements GroupingView.GroupingViewAppearance


Nested Class Summary
static interface GroupingViewDefaultAppearance.DefaultHeaderTemplate
           
static interface GroupingViewDefaultAppearance.GroupHeaderTemplate<M>
           
static interface GroupingViewDefaultAppearance.GroupingViewResources
           
static interface GroupingViewDefaultAppearance.GroupTemplate<M>
           
 
Constructor Summary
GroupingViewDefaultAppearance()
           
GroupingViewDefaultAppearance(GroupingViewDefaultAppearance.GroupingViewResources resources)
           
 
Method Summary
 XElement findHead(XElement element)
           
 XElement getGroup(XElement head)
           
 ImageResource groupByIcon()
           
 boolean isCollapsed(XElement group)
           
 void onGroupExpand(XElement group, boolean expanded)
           
 SafeHtml renderGroupHeader(GroupingView.GroupingData<?> groupInfo)
           
 void setHeaderTemplate(GroupingViewDefaultAppearance.GroupHeaderTemplate<?> headerTemplate)
           
 GroupingView.GroupingViewStyle style()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupingViewDefaultAppearance

public GroupingViewDefaultAppearance()

GroupingViewDefaultAppearance

public GroupingViewDefaultAppearance(GroupingViewDefaultAppearance.GroupingViewResources resources)
Method Detail

findHead

public XElement findHead(XElement element)
Specified by:
findHead in interface GroupingView.GroupingViewAppearance

getGroup

public XElement getGroup(XElement head)
Specified by:
getGroup in interface GroupingView.GroupingViewAppearance

groupByIcon

public ImageResource groupByIcon()
Specified by:
groupByIcon in interface GroupingView.GroupingViewAppearance

isCollapsed

public boolean isCollapsed(XElement group)
Specified by:
isCollapsed in interface GroupingView.GroupingViewAppearance

onGroupExpand

public void onGroupExpand(XElement group,
                          boolean expanded)
Specified by:
onGroupExpand in interface GroupingView.GroupingViewAppearance

renderGroupHeader

public SafeHtml renderGroupHeader(GroupingView.GroupingData<?> groupInfo)
Specified by:
renderGroupHeader in interface GroupingView.GroupingViewAppearance

setHeaderTemplate

public void setHeaderTemplate(GroupingViewDefaultAppearance.GroupHeaderTemplate<?> headerTemplate)

style

public GroupingView.GroupingViewStyle style()
Specified by:
style in interface GroupingView.GroupingViewAppearance


Copyright © 2012. All Rights Reserved.