BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.html
Class BaseFontElement

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

Deprecated. Use StyleElement

public class BaseFontElement
extends SinglePartElement

The BaseFontElement supports the Netscape 3.0 extension to set a default font size for the page. It is added to the head portion of an HtmlPage.

The HTML FONT and BASEFONT elements are deprecated in HTML 4.0 in favor of a more generic use of the STYLE element. htmlKona continues to support these HTML elements, but not all browsers may display them properly.

Author:
Copyright (c) 1995-97, WebLogic, Inc. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
See Also:
StyleElement

Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
 
Constructor Summary
BaseFontElement()
          Deprecated. Constructs an empty BaseFontElement.
BaseFontElement(int size)
          Deprecated. Constructs a BaseFontElement set to the specified font size.
 
Method Summary
protected  java.lang.String getHtmlCode()
          Deprecated.  
protected  boolean printBody()
          Deprecated.  
protected  boolean printCR()
          Deprecated.  
protected  boolean printEndingTag()
          Deprecated.  
 BaseFontElement setSize(int val)
          Deprecated. Sets the size of the base font.
 
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, 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

BaseFontElement

public BaseFontElement()
Deprecated. 
Constructs an empty BaseFontElement.

BaseFontElement

public BaseFontElement(int size)
Deprecated. 
Constructs a BaseFontElement set to the specified font size.

Parameters:
size - Font size in points.
Method Detail

getHtmlCode

protected java.lang.String getHtmlCode()
Deprecated. 

Overrides:
getHtmlCode in class ElementWithAttributes

printEndingTag

protected boolean printEndingTag()
Deprecated. 

Overrides:
printEndingTag in class ElementWithAttributes

printBody

protected boolean printBody()
Deprecated. 

Overrides:
printBody in class ElementWithAttributes

printCR

protected boolean printCR()
Deprecated. 

Overrides:
printCR in class ElementWithAttributes

setSize

public BaseFontElement setSize(int val)
Deprecated. 
Sets the size of the base font.

Parameters:
val - Font size in points
Returns:
BaseFontElement object

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