Class HtmlBaseFont

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.Node

    public class HtmlBaseFont
    extends HtmlElement
    Wrapper for the HTML element "basefont".
    See Also:
    Serialized Form
    • Field Detail

      • TAG_NAME

        public static final java.lang.String TAG_NAME
        The HTML tag represented by this element.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HtmlBaseFont

        HtmlBaseFont​(java.lang.String qualifiedName,
                     SgmlPage page,
                     java.util.Map<java.lang.String,​DomAttr> attributes)
        Creates a new instance.
        Parameters:
        qualifiedName - the qualified name of the element type to instantiate
        page - the HtmlPage that contains this element
        attributes - the initial attributes
    • Method Detail

      • getIdAttribute

        public final java.lang.String getIdAttribute()
        Returns the value of the attribute id. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute id or an empty string if that attribute isn't defined
      • getSizeAttribute

        public final java.lang.String getSizeAttribute()
        Returns the value of the attribute size. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute size or an empty string if that attribute isn't defined
      • getColorAttribute

        public final java.lang.String getColorAttribute()
        Returns the value of the attribute color. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute color or an empty string if that attribute isn't defined
      • getFaceAttribute

        public final java.lang.String getFaceAttribute()
        Returns the value of the attribute face. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute face or an empty string if that attribute isn't defined