com.sencha.gxt.theme.base.client.frame
Class NestedDivFrame

java.lang.Object
  extended by com.sencha.gxt.theme.base.client.frame.NestedDivFrame
All Implemented Interfaces:
CollapsibleFrame, Frame

public class NestedDivFrame
extends java.lang.Object
implements Frame, CollapsibleFrame

Frame and CollapsibleFrame implementation that creates its frame using 3 sets of 3 nested DIVs. See NestedDivFrame.html and NestedDivFrame.css.


Nested Class Summary
static interface NestedDivFrame.NestedDivFrameResources
           
static interface NestedDivFrame.NestedDivFrameStyle
           
static interface NestedDivFrame.Template
           
 
Nested classes/interfaces inherited from interface com.sencha.gxt.theme.base.client.frame.Frame
Frame.FrameOptions
 
Field Summary
 
Fields inherited from interface com.sencha.gxt.theme.base.client.frame.Frame
EMPTY_FRAME
 
Constructor Summary
NestedDivFrame(NestedDivFrame.NestedDivFrameResources resources)
           
 
Method Summary
 XElement getCollapseElem(XElement parent)
          Returns the element who's visibility will be "toggled" for expanding and collapsing.
 XElement getContentElem(XElement parent)
           
 Size getFrameSize()
           
 XElement getHeaderElem(XElement parent)
           
 NestedDivFrame.NestedDivFrameResources getResources()
           
 void onFocus(XElement parent, boolean focus, NativeEvent event)
           
 void onHideHeader(XElement parent, boolean hide)
           
 void onOver(XElement parent, boolean over, NativeEvent event)
           
 void onPress(XElement parent, boolean pressed, NativeEvent event)
           
 java.lang.String overClass()
           
 java.lang.String pressedClass()
           
 void render(SafeHtmlBuilder builder, Frame.FrameOptions options, SafeHtml content)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedDivFrame

public NestedDivFrame(NestedDivFrame.NestedDivFrameResources resources)
Method Detail

getContentElem

public XElement getContentElem(XElement parent)
Specified by:
getContentElem in interface Frame

getFrameSize

public Size getFrameSize()
Specified by:
getFrameSize in interface Frame

getHeaderElem

public XElement getHeaderElem(XElement parent)
Specified by:
getHeaderElem in interface Frame

getResources

public NestedDivFrame.NestedDivFrameResources getResources()

onFocus

public void onFocus(XElement parent,
                    boolean focus,
                    NativeEvent event)
Specified by:
onFocus in interface Frame

onHideHeader

public void onHideHeader(XElement parent,
                         boolean hide)
Specified by:
onHideHeader in interface Frame

onOver

public void onOver(XElement parent,
                   boolean over,
                   NativeEvent event)
Specified by:
onOver in interface Frame

onPress

public void onPress(XElement parent,
                    boolean pressed,
                    NativeEvent event)
Specified by:
onPress in interface Frame

overClass

public java.lang.String overClass()
Specified by:
overClass in interface Frame

pressedClass

public java.lang.String pressedClass()
Specified by:
pressedClass in interface Frame

render

public void render(SafeHtmlBuilder builder,
                   Frame.FrameOptions options,
                   SafeHtml content)
Specified by:
render in interface Frame

getCollapseElem

public XElement getCollapseElem(XElement parent)
Description copied from interface: CollapsibleFrame
Returns the element who's visibility will be "toggled" for expanding and collapsing.

Specified by:
getCollapseElem in interface CollapsibleFrame
Parameters:
parent - the parent element
Returns:
the collapse target element


Copyright © 2012. All Rights Reserved.