1 /* 2 * Copyright (c) 2003 World Wide Web Consortium, 3 * (Massachusetts Institute of Technology, Institut National de 4 * Recherche en Informatique et en Automatique, Keio University). All 5 * Rights Reserved. This program is distributed under the W3C's Software 6 * Intellectual Property License. This program is distributed in the 7 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even 8 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 9 * PURPOSE. 10 * See W3C License http://www.w3.org/Consortium/Legal/ for more details. 11 */ 12 13 package org.w3c.dom.html2; 14 15 /** 16 * Regroups the <code>COL</code> and <code>COLGROUP</code> elements. See the 17 * COL element definition in HTML 4.01. 18 * <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>. 19 */ 20 public interface HTMLTableColElement extends HTMLElement { 21 /** 22 * Horizontal alignment of cell data in column. See the align attribute 23 * definition in HTML 4.01. 24 */ getAlign()25 public String getAlign(); 26 /** 27 * Horizontal alignment of cell data in column. See the align attribute 28 * definition in HTML 4.01. 29 */ setAlign(String align)30 public void setAlign(String align); 31 32 /** 33 * Alignment character for cells in a column. See the char attribute 34 * definition in HTML 4.01. 35 */ getCh()36 public String getCh(); 37 /** 38 * Alignment character for cells in a column. See the char attribute 39 * definition in HTML 4.01. 40 */ setCh(String ch)41 public void setCh(String ch); 42 43 /** 44 * Offset of alignment character. See the charoff attribute definition in 45 * HTML 4.01. 46 */ getChOff()47 public String getChOff(); 48 /** 49 * Offset of alignment character. See the charoff attribute definition in 50 * HTML 4.01. 51 */ setChOff(String chOff)52 public void setChOff(String chOff); 53 54 /** 55 * Indicates the number of columns in a group or affected by a grouping. 56 * See the span attribute definition in HTML 4.01. 57 */ getSpan()58 public int getSpan(); 59 /** 60 * Indicates the number of columns in a group or affected by a grouping. 61 * See the span attribute definition in HTML 4.01. 62 */ setSpan(int span)63 public void setSpan(int span); 64 65 /** 66 * Vertical alignment of cell data in column. See the valign attribute 67 * definition in HTML 4.01. 68 */ getVAlign()69 public String getVAlign(); 70 /** 71 * Vertical alignment of cell data in column. See the valign attribute 72 * definition in HTML 4.01. 73 */ setVAlign(String vAlign)74 public void setVAlign(String vAlign); 75 76 /** 77 * Default column width. See the width attribute definition in HTML 4.01. 78 */ getWidth()79 public String getWidth(); 80 /** 81 * Default column width. See the width attribute definition in HTML 4.01. 82 */ setWidth(String width)83 public void setWidth(String width); 84 85 } 86