|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.html.HtmlElement | +--weblogic.html.ElementWithAttributes | +--weblogic.html.SinglePartElement | +--weblogic.html.BoldElement
A BoldElement is used to set the font attribute to bold-face type.
Use a BoldElement as the argument for any of the addElement() methods. You can also make an HtmlElement bold by using the asBoldElement() method in the parent class HtmlElement.
Examples of adding BoldElements to an htmlKona page called "hp":
hp.addElement(new BoldElement(caption));or,
hp.addElement(new StringElement("Please fill out the following form: ").asBoldElement());
HtmlElement.asBoldElement()
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
BoldElement()
Deprecated. Constructs a BoldElement. |
|
BoldElement(HtmlElement val)
Deprecated. Constructs a BoldElement with the specified HtmlElement. |
|
BoldElement(java.lang.String val)
Deprecated. Constructs a BoldElement with the specified string. |
Method Summary | |
protected java.lang.String |
getHtmlCode()
Deprecated. |
Methods inherited from class weblogic.html.SinglePartElement |
getElement,
printBody,
printBody,
printBody,
setElement,
setElement,
widthAsLiteral |
Methods inherited from class weblogic.html.ElementWithAttributes |
addAttribute,
addAttribute,
escapeQuotes,
getBooleanAttribute,
getElementAttribute,
getLocalVar,
getQuotedAttribute,
output,
output,
output,
printBody,
printCR,
printEndingTag,
setBooleanAttribute,
setBooleanAttribute,
setClass,
setDirection,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setId,
setLang,
setLocalVar,
setQuotedAttribute,
setStyle |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public BoldElement()
public BoldElement(java.lang.String val)
val
- String to be boldpublic BoldElement(HtmlElement val)
val
- HtmlElement to be boldMethod Detail |
protected java.lang.String getHtmlCode()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |