W3cubDocs

/OpenJDK 21

Interface HTMLTableColElement

All Superinterfaces:
Element, HTMLElement, Node
public interface HTMLTableColElement extends HTMLElement
Regroups the COL and COLGROUP elements. See the COL element definition in HTML 4.0.

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

Since:
1.4, DOM Level 2

Field Summary

Method Summary

Modifier and Type Method Description
String getAlign()
Horizontal alignment of cell data in column.
String getCh()
Alignment character for cells in a column.
String getChOff()
Offset of alignment character.
int getSpan()
Indicates the number of columns in a group or affected by a grouping.
String getVAlign()
Vertical alignment of cell data in column.
String getWidth()
Default column width.
void setAlign(String align)
void setCh(String ch)
void setChOff(String chOff)
void setSpan(int span)
void setVAlign(String vAlign)
void setWidth(String width)

Methods declared in interface org.w3c.dom.html.HTMLElement

getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle

Method Details

getAlign

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

setAlign

void setAlign(String align)

getCh

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

setCh

void setCh(String ch)

getChOff

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

setChOff

void setChOff(String chOff)

getSpan

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

setSpan

void setSpan(int span)

getVAlign

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

setVAlign

void setVAlign(String vAlign)

getWidth

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

setWidth

void setWidth(String width)

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.xml.dom/org/w3c/dom/html/HTMLTableColElement.html