org.apache.ecs
Class BaseFont

java.lang.Object
  |
  +--org.apache.ecs.Element
        |
        +--org.apache.ecs.ElementAttributes
              |
              +--org.apache.ecs.SinglePartElement
                    |
                    +--org.apache.ecs.BaseFont

public class BaseFont
extends SinglePartElement

This class creates a <BASEFONT> object.

Version:
$Id: BaseFont.java,v 1.1.1.1 1999/04/20 01:18:57 jonbolt Exp $
Author:
Stephan Nagy, Jon S. Stevens

Fields inherited from class org.apache.ecs.Element
attribute_filter, case_type, codeset, element, end_element, end_modifier, end_modifier_defined, filter, filter_attribute_state, filter_state, NO_ATTRIBUTE_VALUE, start_modifier, start_modifier_defined, VERSION
 
Constructor Summary
BaseFont()
          Basic Constructor.
BaseFont(int size)
          Deprecated.  
BaseFont(int size, java.lang.String face)
          Deprecated.  
BaseFont(java.lang.String face)
          Deprecated.  
BaseFont(java.lang.String color, int size)
          Deprecated.  
BaseFont(java.lang.String face, java.lang.String color)
          Deprecated.  
BaseFont(java.lang.String face, java.lang.String color, int size)
          Deprecated.  
 
Method Summary
(package private)  void ()
          Private initializer.
 BaseFont setColor(java.lang.String color)
          Deprecated.  
 BaseFont setFace(java.lang.String face)
          Deprecated.  
 BaseFont setSize(int size)
          Deprecated.  
 BaseFont setSize(java.lang.String size)
          Deprecated.  
 
Methods inherited from class org.apache.ecs.SinglePartElement
output, output
 
Methods inherited from class org.apache.ecs.ElementAttributes
setClass, setDir, setID, setLang, setStyle, setTitle
 
Methods inherited from class org.apache.ecs.Element
addAttribute, alterCase, getAttributeFilterState, getCase, getCodeSet, getElementHashEntry, getEndModifier, getEndModifierDefined, getFilter, getFilterState, getHtmlElementType, getNeedClosingTag, getStartModifier, getStartModifierDefined, getVersion, hasAttribute, removeAttribute, removeEndModifier, removeStartModifier, setAttributeFilter, setAttributeFilterState, setCase, setCodeSet, setEndModifier, setEndModifierDefined, setFilter, setFilterState, setHtmlElementType, setModifier, setModifier, setNeedClosingTag, setStartModifier, setStartModifierDefined, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

BaseFont

public BaseFont()
Basic Constructor. use set* methods.

BaseFont

public BaseFont(java.lang.String face)
Deprecated.  
Basic constructor.
Parameters:
face - create new BaseFont object with this face.

BaseFont

public BaseFont(java.lang.String face,
                java.lang.String color)
Deprecated.  
Basic constructor
Parameters:
face -  
color - Create a new BaseFont object with the face abd color already set. Convience colors are defined in HtmlColor interface.

BaseFont

public BaseFont(java.lang.String face,
                java.lang.String color,
                int size)
Deprecated.  
Basic constructor
Parameters:
face -  
color -  
size - Create a new BaseFont object with the face,color and size already set. Convience colors are defined in HtmlColor interface.

BaseFont

public BaseFont(int size)
Deprecated.  
Basic constructor
Parameters:
size - Create a new BaseFont object with the size already set.

BaseFont

public BaseFont(int size,
                java.lang.String face)
Deprecated.  
Basic constructor
Parameters:
size -  
face - Create a new BaseFont object with the size and face already set.

BaseFont

public BaseFont(java.lang.String color,
                int size)
Deprecated.  
Basic constructor
Parameters:
color -  
size - Create a new BaseFont object with the size and color already set.
Method Detail

void ()
Private initializer.
Overrides:
in class java.lang.Object

setFace

public BaseFont setFace(java.lang.String face)
Deprecated.  
sets the FACE="" attribute.
Parameters:
face - sets the FACE="" attribute.

setColor

public BaseFont setColor(java.lang.String color)
Deprecated.  
sets the COLOR="" attribute.
Parameters:
color - sets the COLOR="" attribute. Convience colors are defined in the HtmlColors interface.

setSize

public BaseFont setSize(int size)
Deprecated.  
sets the SIZE="" attribute.
Parameters:
size - sets the SIZE="" attribute.

setSize

public BaseFont setSize(java.lang.String size)
Deprecated.  
sets the SIZE="" attribute.
Parameters:
size - sets the SIZE="" attribute.