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
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.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 |
Col
public Col()
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.