org.w3c.dom.html2

Interface HTMLTableColElement

public interface HTMLTableColElement extends HTMLElement

Regroups the COL and COLGROUP elements. See the COL element definition in HTML 4.01.

See also the Document Object Model (DOM) Level 2 HTML Specification.

Method Summary
StringgetAlign()
Horizontal alignment of cell data in column.
StringgetCh()
Alignment character for cells in a column.
StringgetChOff()
Offset of alignment character.
intgetSpan()
Indicates the number of columns in a group or affected by a grouping.
StringgetVAlign()
Vertical alignment of cell data in column.
StringgetWidth()
Default column width.
voidsetAlign(String align)
Horizontal alignment of cell data in column.
voidsetCh(String ch)
Alignment character for cells in a column.
voidsetChOff(String chOff)
Offset of alignment character.
voidsetSpan(int span)
Indicates the number of columns in a group or affected by a grouping.
voidsetVAlign(String vAlign)
Vertical alignment of cell data in column.
voidsetWidth(String width)
Default column width.

Method Detail

getAlign

public String getAlign()
Horizontal alignment of cell data in column. See the align attribute definition in HTML 4.01.

getCh

public String getCh()
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.

getChOff

public String getChOff()
Offset of alignment character. See the charoff attribute definition in HTML 4.01.

getSpan

public int getSpan()
Indicates the number of columns in a group or affected by a grouping. See the span attribute definition in HTML 4.01.

getVAlign

public String getVAlign()
Vertical alignment of cell data in column. See the valign attribute definition in HTML 4.01.

getWidth

public String getWidth()
Default column width. See the width attribute definition in HTML 4.01.

setAlign

public void setAlign(String align)
Horizontal alignment of cell data in column. See the align attribute definition in HTML 4.01.

setCh

public void setCh(String ch)
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.

setChOff

public void setChOff(String chOff)
Offset of alignment character. See the charoff attribute definition in HTML 4.01.

setSpan

public void setSpan(int span)
Indicates the number of columns in a group or affected by a grouping. See the span attribute definition in HTML 4.01.

setVAlign

public void setVAlign(String vAlign)
Vertical alignment of cell data in column. See the valign attribute definition in HTML 4.01.

setWidth

public void setWidth(String width)
Default column width. See the width attribute definition in HTML 4.01.