BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.html
Class UnderlineElement

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

public class UnderlineElement
extends SinglePartElement

A UnderlineElement is used to set the font attribute to a strike-through text style. Use a UnderlineElement as the argument for any of the addElement() methods. You can also set an element to strike-through by using the asUnderlineElement() method in the parent class HtmlElement. Examples of adding UnderlineElements to an htmlKona page called "hp":

    hp.addElement(new UnderlineElement(caption));
 
or,
    hp.addElement(new StringElement("wrong way").asUnderlineElement());
 

The HTML U element is deprecated in HTML 4.0.

Author:
Copyright (c) 1996, WebLogic, Inc.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
 
Constructor Summary
UnderlineElement()
          Deprecated. Constructs a UnderlineElement.
UnderlineElement(HtmlElement val)
          Deprecated. Constructs a UnderlineElement with the specified HtmlElement.
UnderlineElement(java.lang.String val)
          Deprecated. Constructs a UnderlineElement 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

UnderlineElement

public UnderlineElement()
Deprecated. 
Constructs a UnderlineElement.

UnderlineElement

public UnderlineElement(java.lang.String val)
Deprecated. 
Constructs a UnderlineElement with the specified string.

Parameters:
val - String to be strike-through text style

UnderlineElement

public UnderlineElement(HtmlElement val)
Deprecated. 
Constructs a UnderlineElement with the specified HtmlElement.

Parameters:
val - HtmlElement to be monospace font
Method Detail

getHtmlCode

protected java.lang.String getHtmlCode()
Deprecated. 

Overrides:
getHtmlCode in class ElementWithAttributes

Documentation is available at
http://www.weblogic.com/docs51