/** * Sets the text to be rendered in the scrolled form text. The text must * contain formatting tags. * * @param text * the text to be rendered */ public void setText(String text) { this.text = text; loadText(text); reflow(true); } /**
/** * Sets the text to be rendered in the scrolled form text. The text must * contain formatting tags. * * @param text * the text to be rendered */ public void setText(String text) { this.text = text; loadText(text); reflow(true); } /**
/** * Sets the form text to be managed by this scrolled form text. The * instance must be a direct child of this class. If this method is used, * <code>false</code> must be passed in either of the constructors to * avoid creating form text instance. * * @param formText * the form text instance to use. */ public void setFormText(FormText formText) { this.content = formText; super.setContent(content); content.setMenu(getMenu()); if (text != null) loadText(text); } /**
/** * Sets the form text to be managed by this scrolled form text. The * instance must be a direct child of this class. If this method is used, * <code>false</code> must be passed in either of the constructors to * avoid creating form text instance. * * @param formText * the form text instance to use. */ public void setFormText(FormText formText) { this.content = formText; super.setContent(content); content.setMenu(getMenu()); if (text != null) loadText(text); } /**