/** * Returns the widget content including style information as tags. * * @return String the text including style information as tags. */ public String getTaggedText() { return StyleParser.getInstance().getTagged(textWidget); }
/** * Sets the tagged text (i.e. the text styles included in tags) to the widget for that it can be * displayed styled. * * @param inTextTagged String the text including style information as tags. * @throws IOException * @throws SAXException */ public void setTaggedText(final String inTextTagged) throws IOException, SAXException { StyleParser.getInstance().parseTagged(inTextTagged, textWidget); }