com.sencha.gxt.theme.base.client.frame
Class NestedDivFrame
java.lang.Object
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.
| Fields inherited from interface com.sencha.gxt.theme.base.client.frame.Frame |
EMPTY_FRAME |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestedDivFrame
public NestedDivFrame(NestedDivFrame.NestedDivFrameResources resources)
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.