/** * Sets the caption for the panel using an HTML fragment. Pass in empty string * to remove the caption completely, leaving just the unadorned panel. * * @param html HTML for the new caption; must not be <code>null</code> */ public void setCaptionHTML(@IsSafeHtml String html) { assert (html != null); impl.setCaption(FieldSetElement.as(getElement()), legend, html, true); }
/** * Sets the caption for the panel using text that will be automatically * escaped. Pass in empty string to remove the caption completely, leaving * just the unadorned panel. * * @param text text for the new caption; must not be <code>null</code> */ @SuppressIsSafeHtmlCastCheck public void setCaptionText(String text) { assert (text != null); impl.setCaption(FieldSetElement.as(getElement()), legend, text, false); }
/** * Sets the caption for the panel using text that will be automatically * escaped. Pass in empty string to remove the caption completely, leaving * just the unadorned panel. * * @param text text for the new caption; must not be <code>null</code> */ public void setCaptionText(String text) { assert (text != null); impl.setCaption(FieldSetElement.as(getElement()), legend, text, false); }
/** * Sets the caption for the panel using an HTML fragment. Pass in empty string * to remove the caption completely, leaving just the unadorned panel. * * @param html HTML for the new caption; must not be <code>null</code> */ public void setCaptionHTML(String html) { assert (html != null); impl.setCaption(FieldSetElement.as(getElement()), legend, html, true); }
/** * Sets the caption for the panel using an HTML fragment. Pass in empty string * to remove the caption completely, leaving just the unadorned panel. * * @param html HTML for the new caption; must not be <code>null</code> */ public void setCaptionHTML(String html) { assert (html != null); impl.setCaption(FieldSetElement.as(getElement()), legend, html, true); }
/** * Sets the caption for the panel using text that will be automatically * escaped. Pass in empty string to remove the caption completely, leaving * just the unadorned panel. * * @param text text for the new caption; must not be <code>null</code> */ public void setCaptionText(String text) { assert (text != null); impl.setCaption(FieldSetElement.as(getElement()), legend, text, false); }