asquare.gwt.tk.client.ui
Class BorderPanel
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
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.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 |
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.
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)
© 2007 Mat Gessel