2004.04.29


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

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

public class Color
extends Attribute

Color is used to create an HTML color attribute required by HTML tags implemented as classes like Font.

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

Field Summary
static String AQUA
          Aqua.
static String BLACK
          Black.
static String BLUE
          Blue.
static String FUCHSIA
          Fuchsia.
static String GRAY
          Gray.
static String GREEN
          Green.
static String LIME
          Lime.
static String MAROON
          Maroon.
static String NAVY
          Navy
static String OLIVE
          Olive.
static String PURPLE
          Purple.
static String RED
          Red.
static String SILVER
          Silver.
static String TEAL
          Teal.
static String WHITE
          White.
static String YELLOW
          Yellow.
 
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
 
Constructor Summary
Color()
          Constructs a Color object.
 
Method Summary
 String create(String color)
          Create and return the color/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, 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

AQUA

public static final String AQUA
Aqua.

See Also:
Constant Field Values

BLACK

public static final String BLACK
Black.

See Also:
Constant Field Values

BLUE

public static final String BLUE
Blue.

See Also:
Constant Field Values

FUCHSIA

public static final String FUCHSIA
Fuchsia.

See Also:
Constant Field Values

GRAY

public static final String GRAY
Gray.

See Also:
Constant Field Values

GREEN

public static final String GREEN
Green.

See Also:
Constant Field Values

LIME

public static final String LIME
Lime.

See Also:
Constant Field Values

MAROON

public static final String MAROON
Maroon.

See Also:
Constant Field Values

NAVY

public static final String NAVY
Navy

See Also:
Constant Field Values

OLIVE

public static final String OLIVE
Olive.

See Also:
Constant Field Values

PURPLE

public static final String PURPLE
Purple.

See Also:
Constant Field Values

RED

public static final String RED
Red.

See Also:
Constant Field Values

SILVER

public static final String SILVER
Silver.

See Also:
Constant Field Values

TEAL

public static final String TEAL
Teal.

See Also:
Constant Field Values

WHITE

public static final String WHITE
White.

See Also:
Constant Field Values

YELLOW

public static final String YELLOW
Yellow.

See Also:
Constant Field Values
Constructor Detail

Color

public Color()
Constructs a Color object.

Method Detail

create

public String create(String color)
Create and return the color/value attribute.

Returns:
String Color attribute.

2004.04.29



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