public class HTMLRichText extends HTMLComponent
alignment, alt, bgColor, cancelBubble, events, gMutableTheme, hasInitFocus, id, intStyleSheet, items, name, parent, styleId, styleProperty, tabIndex, toolTip, VALID_NAME_REGEX, VALID_STYLE_REGEX
Constructor and Description |
---|
HTMLRichText(java.lang.String richText) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getText(javax.swing.text.Element elem) |
protected void |
iGenerate(ClientBrowser browser,
java.lang.StringBuilder buffer)
generate the raw HTML for this component.
|
protected boolean |
isText(javax.swing.text.Element elem) |
java.lang.String |
text() |
protected void |
text(javax.swing.text.Element elem) |
protected void |
writeHTMLTags(javax.swing.text.AttributeSet attr) |
addJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, compile, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getId, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, makeListOfEvents, monitorPage, postCompile, resetParent, setAlignment, setAttribute, setClassName, setHasInitFocus, setParent, setStyleProperty, setTabIndex, touch
public HTMLRichText(java.lang.String richText)
richText
- protected void iGenerate(ClientBrowser browser, java.lang.StringBuilder buffer)
iGenerate
in class HTMLComponent
browser
- The target browserbuffer
- The generate HTMLpublic java.lang.String text()
protected java.lang.String getText(javax.swing.text.Element elem) throws javax.swing.text.BadLocationException
elem
- javax.swing.text.BadLocationException
protected void text(javax.swing.text.Element elem) throws javax.swing.text.BadLocationException, java.io.IOException
elem
- javax.swing.text.BadLocationException
java.io.IOException
- if an IO exception occurs.protected boolean isText(javax.swing.text.Element elem)
elem
- protected void writeHTMLTags(javax.swing.text.AttributeSet attr) throws java.io.IOException
attr
- java.io.IOException
- if an IO exception occurs.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.