2004.04.29


com.jdc.gui.html.tag.attr
Class FontSize

java.lang.Object
  |
  +--com.jdc.xml.tag.Attribute
        |
        +--com.jdc.gui.html.tag.Attribute
              |
              +--com.jdc.gui.html.tag.attr.FontSize
All Implemented Interfaces:
MarkupLanguage, Serializable

public final class FontSize
extends Attribute

FontSize is used to create an HTML font size attribute required by the HTML tag implemented as class Font. The FontSize class is implemented as an enumerated type. It cannot be instantiated.

Version:
1.0
Author:
Jay Damon
See Also:
Font, Serialized Form

Field Summary
static FontSize POINTS_10
          Displays text in 10 points in most browsers.
static FontSize POINTS_12
          Displays text in 12 points in most browsers.
static FontSize POINTS_14
          Displays text in 14 points in most browsers.
static FontSize POINTS_18
          Displays text in 18 points in most browsers.
static FontSize POINTS_24
          Displays text in 24 points in most browsers.
static FontSize POINTS_36
          Displays text in 36 points in most browsers.
static FontSize POINTS_8
          Displays text in 8 points in most browsers.
 
Fields inherited from class com.jdc.gui.html.tag.Attribute
SINGLE_QUOTE
 
Fields inherited from class com.jdc.xml.tag.Attribute
DOUBLE_QUOTE, EQUALS
 
Fields inherited from interface com.jdc.gui.html.MarkupLanguage
XHTML
 
Method Summary
 String create()
          Create and return the font size name/value attribute.
 
Methods inherited from class com.jdc.gui.html.tag.Attribute
create, create, getName, getQuoteCharacter, getQuotedValue, getValue
 
Methods inherited from class com.jdc.xml.tag.Attribute
create, create, create, create, getQualifier, setName, setQualifier, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POINTS_8

public static final FontSize POINTS_8
Displays text in 8 points in most browsers.


POINTS_10

public static final FontSize POINTS_10
Displays text in 10 points in most browsers.


POINTS_12

public static final FontSize POINTS_12
Displays text in 12 points in most browsers.


POINTS_14

public static final FontSize POINTS_14
Displays text in 14 points in most browsers.


POINTS_18

public static final FontSize POINTS_18
Displays text in 18 points in most browsers.


POINTS_24

public static final FontSize POINTS_24
Displays text in 24 points in most browsers.


POINTS_36

public static final FontSize POINTS_36
Displays text in 36 points in most browsers.

Method Detail

create

public String create()
Create and return the font size name/value attribute.

Overrides:
create in class Attribute
Returns:
An XML tag attribute String.

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.