Source for org.w3c.dom.html2.HTMLTableCellElement

   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:  * The object used to represent the <code>TH</code> and <code>TD</code> 
  17:  * elements. See the TD 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 HTMLTableCellElement extends HTMLElement {
  21:     /**
  22:      * The index of this cell in the row, starting from 0. This index is in 
  23:      * document tree order and not display order.
  24:      */
  25:     public int getCellIndex();
  26: 
  27:     /**
  28:      * Abbreviation for header cells. See the abbr attribute definition in 
  29:      * HTML 4.01.
  30:      */
  31:     public String getAbbr();
  32:     /**
  33:      * Abbreviation for header cells. See the abbr attribute definition in 
  34:      * HTML 4.01.
  35:      */
  36:     public void setAbbr(String abbr);
  37: 
  38:     /**
  39:      * Horizontal alignment of data in cell. See the align attribute definition
  40:      *  in HTML 4.01.
  41:      */
  42:     public String getAlign();
  43:     /**
  44:      * Horizontal alignment of data in cell. See the align attribute definition
  45:      *  in HTML 4.01.
  46:      */
  47:     public void setAlign(String align);
  48: 
  49:     /**
  50:      * Names group of related headers. See the axis attribute definition in 
  51:      * HTML 4.01.
  52:      */
  53:     public String getAxis();
  54:     /**
  55:      * Names group of related headers. See the axis attribute definition in 
  56:      * HTML 4.01.
  57:      */
  58:     public void setAxis(String axis);
  59: 
  60:     /**
  61:      * Cell background color. See the bgcolor attribute definition in HTML 
  62:      * 4.01. This attribute is deprecated in HTML 4.01.
  63:      */
  64:     public String getBgColor();
  65:     /**
  66:      * Cell background color. See the bgcolor attribute definition in HTML 
  67:      * 4.01. This attribute is deprecated in HTML 4.01.
  68:      */
  69:     public void setBgColor(String bgColor);
  70: 
  71:     /**
  72:      * Alignment character for cells in a column. See the char attribute 
  73:      * definition in HTML 4.01.
  74:      */
  75:     public String getCh();
  76:     /**
  77:      * Alignment character for cells in a column. See the char attribute 
  78:      * definition in HTML 4.01.
  79:      */
  80:     public void setCh(String ch);
  81: 
  82:     /**
  83:      * Offset of alignment character. See the charoff attribute definition in 
  84:      * HTML 4.01.
  85:      */
  86:     public String getChOff();
  87:     /**
  88:      * Offset of alignment character. See the charoff attribute definition in 
  89:      * HTML 4.01.
  90:      */
  91:     public void setChOff(String chOff);
  92: 
  93:     /**
  94:      * Number of columns spanned by cell. See the colspan attribute definition 
  95:      * in HTML 4.01.
  96:      */
  97:     public int getColSpan();
  98:     /**
  99:      * Number of columns spanned by cell. See the colspan attribute definition 
 100:      * in HTML 4.01.
 101:      */
 102:     public void setColSpan(int colSpan);
 103: 
 104:     /**
 105:      * List of <code>id</code> attribute values for header cells. See the 
 106:      * headers attribute definition in HTML 4.01.
 107:      */
 108:     public String getHeaders();
 109:     /**
 110:      * List of <code>id</code> attribute values for header cells. See the 
 111:      * headers attribute definition in HTML 4.01.
 112:      */
 113:     public void setHeaders(String headers);
 114: 
 115:     /**
 116:      * Cell height. See the height attribute definition in HTML 4.01. This 
 117:      * attribute is deprecated in HTML 4.01.
 118:      */
 119:     public String getHeight();
 120:     /**
 121:      * Cell height. See the height attribute definition in HTML 4.01. This 
 122:      * attribute is deprecated in HTML 4.01.
 123:      */
 124:     public void setHeight(String height);
 125: 
 126:     /**
 127:      * Suppress word wrapping. See the nowrap attribute definition in HTML 
 128:      * 4.01. This attribute is deprecated in HTML 4.01.
 129:      */
 130:     public boolean getNoWrap();
 131:     /**
 132:      * Suppress word wrapping. See the nowrap attribute definition in HTML 
 133:      * 4.01. This attribute is deprecated in HTML 4.01.
 134:      */
 135:     public void setNoWrap(boolean noWrap);
 136: 
 137:     /**
 138:      * Number of rows spanned by cell. See the rowspan attribute definition in 
 139:      * HTML 4.01.
 140:      */
 141:     public int getRowSpan();
 142:     /**
 143:      * Number of rows spanned by cell. See the rowspan attribute definition in 
 144:      * HTML 4.01.
 145:      */
 146:     public void setRowSpan(int rowSpan);
 147: 
 148:     /**
 149:      * Scope covered by header cells. See the scope attribute definition in 
 150:      * HTML 4.01.
 151:      */
 152:     public String getScope();
 153:     /**
 154:      * Scope covered by header cells. See the scope attribute definition in 
 155:      * HTML 4.01.
 156:      */
 157:     public void setScope(String scope);
 158: 
 159:     /**
 160:      * Vertical alignment of data in cell. See the valign attribute definition 
 161:      * in HTML 4.01.
 162:      */
 163:     public String getVAlign();
 164:     /**
 165:      * Vertical alignment of data in cell. See the valign attribute definition 
 166:      * in HTML 4.01.
 167:      */
 168:     public void setVAlign(String vAlign);
 169: 
 170:     /**
 171:      * Cell width. See the width attribute definition in HTML 4.01. This 
 172:      * attribute is deprecated in HTML 4.01.
 173:      */
 174:     public String getWidth();
 175:     /**
 176:      * Cell width. See the width attribute definition in HTML 4.01. This 
 177:      * attribute is deprecated in HTML 4.01.
 178:      */
 179:     public void setWidth(String width);
 180: 
 181: }