|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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
com.google.gwt.widgetideas.client.TitledPanel
public class TitledPanel
A panel that wraps its contents in a border with a title that appears in the upper left corner of the border. This is an implementation of the fieldset HTML element.
Nested Class Summary | |
---|---|
static class |
TitledPanel.TitledPanelImpl
Implementation class for TitledPanel. |
static class |
TitledPanel.TitledPanelImplMozilla
Implementation class for TitledPanel that handles Mozilla rendering issues. |
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
TitledPanel(java.lang.String title)
Constructor. |
|
TitledPanel(java.lang.String title,
com.google.gwt.user.client.ui.Widget w)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getTitle()
Get the current title. |
void |
setTitle(java.lang.String title)
Set the title in the border. |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
---|
add, getWidget, iterator, remove, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
clear |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
getParent, isAttached, onBrowserEvent, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStylePrimaryName, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TitledPanel(java.lang.String title)
title
- the title to displaypublic TitledPanel(java.lang.String title, com.google.gwt.user.client.ui.Widget w)
title
- the title to displayw
- the widget to add to the panelMethod Detail |
---|
public java.lang.String getTitle()
getTitle
in class com.google.gwt.user.client.ui.UIObject
public void setTitle(java.lang.String title)
setTitle
in class com.google.gwt.user.client.ui.UIObject
title
- the new title
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |