GWT Tk 0.2.3

asquare.gwt.tk.client.ui
Class BorderPanel

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by asquare.gwt.tk.client.ui.BorderPanel
All Implemented Interfaces:
EventListener, HasWidgets

public class BorderPanel
extends SimplePanel

A panel which wraps a single widget. This differs from Composite in that BorderPanel wraps the widget's element with its own element.

CSS Style Rules


Constructor Summary
BorderPanel()
          Creates an empty BorderPanel.
BorderPanel(Widget child)
          Creates an empty BorderPanel with the specified child widget.
 
Method Summary
 void setId(String id)
          Sets a unique id for referencing this specific panel.
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator, remove, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, clear, disown, onAttach, onDetach
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onBrowserEvent, onLoad, removeFromParent
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BorderPanel

public BorderPanel()
Creates an empty BorderPanel. Call setWidget() to set the widget.


BorderPanel

public BorderPanel(Widget child)
Creates an empty BorderPanel with the specified child widget.

Method Detail

setId

public void setId(String id)
Sets a unique id for referencing this specific panel.

Parameters:
id - a unique id
See Also:
DomUtil.setId(com.google.gwt.user.client.ui.UIObject, String)

GWT Tk 0.2.3

© 2007 Mat Gessel