BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.html
Class ItalicElement

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

public class ItalicElement
extends SinglePartElement

An ItalicElement displays italicized type. Use an ItalicElement as the argument for any of the addElement() methods. You can also make an element italic by using the asItalicElement() method in the parent class HtmlElement.

Examples of adding ItalicElements to the body of an htmlKona page called "hp":

    hp.addElement(new ItalicElement(caption));
 
or,
    hp.addElement(new FontElement(5, caption).asItalicElement());
 

Version:
2.1
Author:
Copyright (c) 1995-96, WebLogic, Inc.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
See Also:
HtmlElement.asItalicElement()

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

ItalicElement

public ItalicElement()
Deprecated. 
Constructs an ItalicElement.

ItalicElement

public ItalicElement(java.lang.String val)
Deprecated. 
Constructs an ItalicElement with the specified string.

Parameters:
val - String

ItalicElement

public ItalicElement(HtmlElement val)
Deprecated. 
Constructs an ItalicElement with the specified HtmlElement.

Parameters:
val - HtmlElement
Method Detail

getHtmlCode

protected java.lang.String getHtmlCode()
Deprecated. 

Overrides:
getHtmlCode in class ElementWithAttributes

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.