Example usage for Java com.google.gwt.user.client.ui CaptionPanel fields, constructors, methods, implement or subclass
The text is from its open source code.
CaptionPanel(SafeHtml caption) Constructs a CaptionPanel with specified caption text. | |
CaptionPanel(String captionText) Constructs a CaptionPanel with specified caption text. | |
CaptionPanel() Constructs a CaptionPanel with an empty caption. | |
CaptionPanel(String caption, boolean asHTML) Constructs a CaptionPanel having the specified caption. |
void | add(Widget w) |
void | add(IsWidget w) Overloaded version for IsWidget. |
void | setCaptionHTML(String html) Sets the caption for the panel using an HTML fragment. |
void | setCaptionHTML(SafeHtml html) Sets the caption for the panel using a SafeHtml string. |
void | setCaptionText(String text) Sets the caption for the panel using text that will be automatically escaped. |
void | setContentWidget(Widget w) Sets or replaces the content widget within the CaptionPanel. |