2004.04.29


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

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

public final class Frame
extends Attribute

Frame is used to create an HTML frame attribute required by HTML tags implemented as classes such as Table. The Frame class is implemented as an enumerated type. It cannot be instantiated.

Version:
1.0
Author:
Jay Damon
See Also:
Table, Border, Serialized Form

Field Summary
static Frame ABOVE
          Only display a border above the table.
static Frame BELOW
          Only display a border below the table.
static Frame BORDER
          Display all four borders.
static Frame HORIZONTAL
          Display a border on the left and right side.
static Frame LEFT
          Only display a border on the left-hand side of the table.
static Frame RIGHT
          Only display a border on the right-hand side of the table.
static Frame VERTICAL
          Display a border above and below the table.
static Frame VOID
          No borders around the table will be displayed.
 
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 frame 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

VOID

public static final Frame VOID
No borders around the table will be displayed. Borders between cells will be displayed.


ABOVE

public static final Frame ABOVE
Only display a border above the table.


BELOW

public static final Frame BELOW
Only display a border below the table.


RIGHT

public static final Frame RIGHT
Only display a border on the right-hand side of the table.


LEFT

public static final Frame LEFT
Only display a border on the left-hand side of the table.


HORIZONTAL

public static final Frame HORIZONTAL
Display a border on the left and right side.


VERTICAL

public static final Frame VERTICAL
Display a border above and below the table.


BORDER

public static final Frame BORDER
Display all four borders. A Frame attribute is not required to achieve this effect; using only the Border attribute will accomplish the same.

Method Detail

create

public String create()
Create and return the frame 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.