org.apache.ecs
Class Col

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

public class Col
extends SinglePartElement

This class creates a <COL> object.

Version:
$Id: Col.java,v 1.3 1999/04/22 19:14:46 stephan Exp $
Author:
Stephan Nagy, Jon S. Stevens

Fields inherited from class org.apache.ecs.SinglePartElement
v_element
 
Fields inherited from class org.apache.ecs.ElementAttributes
attribute_filter, end_modifier, end_modifier_defined, filter_attribute_state, NO_ATTRIBUTE_VALUE, start_modifier, start_modifier_defined
 
Fields inherited from class org.apache.ecs.Element
case_type, codeset, element, end_element, filter, filter_state, position, VERSION
 
Constructor Summary
Col()
           
 
Method Summary
(package private)  void ()
          private initializer.
 Col setAlign(java.lang.String align)
          Sets the ALIGN="" attribute convience variables are provided in the AlignType interface
 Col setChar(java.lang.String character)
          Sets the CHAR="" attribute.
 Col setCharOff(int char_off)
          Sets the CHAROFF="" attribute.
 Col setCharOff(java.lang.String char_off)
          Sets the CHAROFF="" attribute.
 Col setSpan(int span)
          Sets the SPAN="" attribute.
 Col setSpan(java.lang.String span)
          Sets the SPAN="" attribute.
 Col setVAlign(java.lang.String valign)
          Sets the VALIGN="" attribute convience variables are provided in the AlignType interface
 Col setWidth(int width)
          Supplies user agents with a recommended cell width.
 Col setWidth(java.lang.String width)
          Supplies user agents with a recommended cell width.
 
Methods inherited from class org.apache.ecs.SinglePartElement
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry
 
Methods inherited from class org.apache.ecs.ElementAttributes
addAttribute, getAttributeFilter, getAttributeFilterState, getEndModifier, getEndModifierDefined, getStartModifier, getStartModifierDefined, hasAttribute, removeAttribute, removeEndModifier, removeStartModifier, setAttributeFilter, setAttributeFilterState, setClass, setDir, setEndModifier, setEndModifierDefined, setID, setLang, setModifier, setModifier, setStartModifier, setStartModifierDefined, setStyle, setTitle
 
Methods inherited from class org.apache.ecs.Element
alterCase, getCase, getCodeSet, getElementHashEntry, getElementType, getFilter, getFilterState, getNeedClosingTag, getTagPosition, getVersion, setCase, setCodeSet, setElementType, setFilter, setFilterState, setNeedClosingTag, setTagPosition, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Col

public Col()
Method Detail

void ()
private initializer.
Overrides:
in class SinglePartElement

setSpan

public Col setSpan(java.lang.String span)
Sets the SPAN="" attribute.
Parameters:
span - sets the SPAN="" attribute.

setSpan

public Col setSpan(int span)
Sets the SPAN="" attribute.
Parameters:
span - sets the SPAN="" attribute.

setWidth

public Col setWidth(int width)
Supplies user agents with a recommended cell width. (Pixel Values)
Parameters:
width - how many pixels to make cell

setWidth

public Col setWidth(java.lang.String width)
Supplies user agents with a recommended cell width. (Pixel Values)
Parameters:
width - how many pixels to make cell

setAlign

public Col setAlign(java.lang.String align)
Sets the ALIGN="" attribute convience variables are provided in the AlignType interface
Parameters:
align - Sets the ALIGN="" attribute

setVAlign

public Col setVAlign(java.lang.String valign)
Sets the VALIGN="" attribute convience variables are provided in the AlignType interface
Parameters:
valign - Sets the ALIGN="" attribute

setChar

public Col setChar(java.lang.String character)
Sets the CHAR="" attribute.
Parameters:
character - the character to use for alignment.

setCharOff

public Col setCharOff(int char_off)
Sets the CHAROFF="" attribute.
Parameters:
char_off - When present this attribute specifies the offset of the first occurrence of the alignment character on each line.

setCharOff

public Col setCharOff(java.lang.String char_off)
Sets the CHAROFF="" attribute.
Parameters:
char_off - When present this attribute specifies the offset of the first occurrence of the alignment character on each line.