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

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

public class TableFrame
extends java.lang.Object
implements Frame

Frame implementation that creates the frame using a 3 x 3 HTML TABLE. Sides and corners are rendered using images. See TableFrame.html and TableFrame.css.


Nested Class Summary
static interface TableFrame.TableFrameResources
           
static interface TableFrame.TableFrameStyle
           
static interface TableFrame.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
TableFrame(TableFrame.TableFrameResources resources)
           
 
Method Summary
 XElement getContentElem(XElement parent)
           
 Size getFrameSize()
           
 XElement getHeaderElem(XElement parent)
           
 TableFrame.TableFrameResources 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

TableFrame

public TableFrame(TableFrame.TableFrameResources resources)
Method Detail

getContentElem

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

getHeaderElem

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

getResources

public TableFrame.TableFrameResources getResources()

onFocus

public void onFocus(XElement parent,
                    boolean focus,
                    NativeEvent event)
Specified by:
onFocus 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

render

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

pressedClass

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

getFrameSize

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

onHideHeader

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

overClass

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


Copyright © 2012. All Rights Reserved.