001/*
002 * Copyright (c) 2003 World Wide Web Consortium,
003 * (Massachusetts Institute of Technology, Institut National de
004 * Recherche en Informatique et en Automatique, Keio University). All
005 * Rights Reserved. This program is distributed under the W3C's Software
006 * Intellectual Property License. This program is distributed in the
007 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009 * PURPOSE.
010 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
011 */
012
013package org.w3c.dom.html2;
014
015/**
016 * Regroups the <code>COL</code> and <code>COLGROUP</code> elements. See the
017 * COL element definition in HTML 4.01.
018 * <p>See also the <a href='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML Specification</a>.
019 */
020public interface HTMLTableColElement extends HTMLElement {
021    /**
022     * Horizontal alignment of cell data in column. See the align attribute
023     * definition in HTML 4.01.
024     */
025    public String getAlign();
026    /**
027     * Horizontal alignment of cell data in column. See the align attribute
028     * definition in HTML 4.01.
029     */
030    public void setAlign(String align);
031
032    /**
033     * Alignment character for cells in a column. See the char attribute
034     * definition in HTML 4.01.
035     */
036    public String getCh();
037    /**
038     * Alignment character for cells in a column. See the char attribute
039     * definition in HTML 4.01.
040     */
041    public void setCh(String ch);
042
043    /**
044     * Offset of alignment character. See the charoff attribute definition in
045     * HTML 4.01.
046     */
047    public String getChOff();
048    /**
049     * Offset of alignment character. See the charoff attribute definition in
050     * HTML 4.01.
051     */
052    public void setChOff(String chOff);
053
054    /**
055     * Indicates the number of columns in a group or affected by a grouping.
056     * See the span attribute definition in HTML 4.01.
057     */
058    public int getSpan();
059    /**
060     * Indicates the number of columns in a group or affected by a grouping.
061     * See the span attribute definition in HTML 4.01.
062     */
063    public void setSpan(int span);
064
065    /**
066     * Vertical alignment of cell data in column. See the valign attribute
067     * definition in HTML 4.01.
068     */
069    public String getVAlign();
070    /**
071     * Vertical alignment of cell data in column. See the valign attribute
072     * definition in HTML 4.01.
073     */
074    public void setVAlign(String vAlign);
075
076    /**
077     * Default column width. See the width attribute definition in HTML 4.01.
078     */
079    public String getWidth();
080    /**
081     * Default column width. See the width attribute definition in HTML 4.01.
082     */
083    public void setWidth(String width);
084
085}