|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.isti.util.HtmlUtilFns
Class HtmlUtilFns contains various static HTML utility methods.
| Field Summary | |
static java.lang.String |
BOLD_ELEMENT
Bold element. |
static java.lang.String |
COLOR_ATTRIBUTE
Color attribute. |
static java.lang.String |
FONT_ELEMENT
Font element. |
static java.lang.String |
HTML_ELEMENT
HTML element. |
| Method Summary | |
static java.lang.String |
getColorAttributeText(java.awt.Color color)
Gets the font color text. |
static java.lang.String |
getFontText(java.lang.String s,
java.awt.Color color)
Gets the font text for the specified color. |
static java.lang.String |
getHtmlText(java.lang.String s)
Gets the html text by adding the HTML elements if needed. |
static java.lang.String |
getText(java.lang.String s,
java.lang.String element)
Gets the text with the specified element. |
static java.lang.String |
getText(java.lang.String s,
java.lang.String element,
java.lang.String attributeText)
Gets the text with the specified element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String BOLD_ELEMENT
public static final java.lang.String COLOR_ATTRIBUTE
public static final java.lang.String FONT_ELEMENT
public static final java.lang.String HTML_ELEMENT
| Method Detail |
public static java.lang.String getColorAttributeText(java.awt.Color color)
color - the color or null if none.
public static java.lang.String getFontText(java.lang.String s,
java.awt.Color color)
s - the text or null if none.color - the color or null if none.
public static java.lang.String getHtmlText(java.lang.String s)
s - the text or null if none.
public static java.lang.String getText(java.lang.String s,
java.lang.String element)
s - the text or null if none.element - the element (such as BOLD_ELEMENT) or null if none.
public static java.lang.String getText(java.lang.String s,
java.lang.String element,
java.lang.String attributeText)
s - the text or null if none.element - the element (such as BOLD_ELEMENT) or null if none.attributeText - the attribute text or null if none.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||