Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.html
Class BoldElement

    java.lang.Object
      |
      +--weblogic.html.HtmlElement
            |
            +--weblogic.html.ElementWithAttributes
                  |
                  +--weblogic.html.SinglePartElement
                        |
                        +--weblogic.html.BoldElement

public final class BoldElement
extends SinglePartElement

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());

Version:
  2.1
Author:
  Copyright (c) 1995-96, WebLogic, Inc.
See Also:
  `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 weblogic.html.HtmlElement
`asAnchorElement, asBigElement, asBlockquoteElement, asBoldElement, asCenteredElement, asCiteElement, asCodeElement, asCommentElement, asDefineTermElement, asEmphasisElement, asFontElement, asFontElement, asFontElement, asHtmlContainer, asItalicElement, asKeyboardElement, asLiteralElement, asParagraphElement, asSampleElement, asSmallElement, asStrikeElement, asStrongElement, asSubscriptElement, asSuperscriptElement, asTeletypeElement, asUnderlineElement, asVariableElement, getVersion, setAnchorMode, setCodeset, toString, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### BoldElement

    public BoldElement()

  Deprecated.
  Constructs a BoldElement.

### BoldElement

    public BoldElement(java.lang.String val)

  Deprecated.
  Constructs a BoldElement with the specified string.

  Parameters:
    `val` - String to be bold

### BoldElement

    public BoldElement(HtmlElement val)

  Deprecated.
  Constructs a BoldElement with the specified HtmlElement.

  Parameters:
    `val` - HtmlElement to be bold

Method Detail

### getHtmlCode

    protected java.lang.String getHtmlCode()

  Deprecated.

  Overrides:
    getHtmlCode in class ElementWithAttributes

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs70
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference