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.1.1.1 1999/04/20 01:18:57 jonbolt Exp $
Author:
Stephan Nagy, Jon S. Stevens

Fields inherited from class org.apache.ecs.Element
attribute_filter, case_type, codeset, element, end_element, end_modifier, end_modifier_defined, filter, filter_attribute_state, filter_state, NO_ATTRIBUTE_VALUE, start_modifier, start_modifier_defined, 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)
          Deprecated.  
 Col setWidth(java.lang.String width)
          Deprecated.  
 
Methods inherited from class org.apache.ecs.SinglePartElement
output, output
 
Methods inherited from class org.apache.ecs.ElementAttributes
setClass, setDir, setID, setLang, setStyle, setTitle
 
Methods inherited from class org.apache.ecs.Element
addAttribute, alterCase, getAttributeFilterState, getCase, getCodeSet, getElementHashEntry, getEndModifier, getEndModifierDefined, getFilter, getFilterState, getHtmlElementType, getNeedClosingTag, getStartModifier, getStartModifierDefined, getVersion, hasAttribute, removeAttribute, removeEndModifier, removeStartModifier, setAttributeFilter, setAttributeFilterState, setCase, setCodeSet, setEndModifier, setEndModifierDefined, setFilter, setFilterState, setHtmlElementType, setModifier, setModifier, setNeedClosingTag, setStartModifier, setStartModifierDefined, 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 java.lang.Object

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)
Deprecated.  
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)
Deprecated.  
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.