src/jdk.xml.dom/share/classes/org/w3c/dom/html/HTMLTableCellElement.java
changeset 47216 71c04702a3d5
parent 38500 78aedc2ee005
equal deleted inserted replaced
47215:4ebc2e2fb97c 47216:71c04702a3d5
       
     1 /*
       
     2  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     3  *
       
     4  * This code is free software; you can redistribute it and/or modify it
       
     5  * under the terms of the GNU General Public License version 2 only, as
       
     6  * published by the Free Software Foundation.  Oracle designates this
       
     7  * particular file as subject to the "Classpath" exception as provided
       
     8  * by Oracle in the LICENSE file that accompanied this code.
       
     9  *
       
    10  * This code is distributed in the hope that it will be useful, but WITHOUT
       
    11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    13  * version 2 for more details (a copy is included in the LICENSE file that
       
    14  * accompanied this code).
       
    15  *
       
    16  * You should have received a copy of the GNU General Public License version
       
    17  * 2 along with this work; if not, write to the Free Software Foundation,
       
    18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    19  *
       
    20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    21  * or visit www.oracle.com if you need additional information or have any
       
    22  * questions.
       
    23  */
       
    24 
       
    25 /*
       
    26  * This file is available under and governed by the GNU General Public
       
    27  * License version 2 only, as published by the Free Software Foundation.
       
    28  * However, the following notice accompanied the original version of this
       
    29  * file and, per its terms, should not be removed:
       
    30  *
       
    31  * Copyright (c) 2000 World Wide Web Consortium,
       
    32  * (Massachusetts Institute of Technology, Institut National de
       
    33  * Recherche en Informatique et en Automatique, Keio University). All
       
    34  * Rights Reserved. This program is distributed under the W3C's Software
       
    35  * Intellectual Property License. This program is distributed in the
       
    36  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
       
    37  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
       
    38  * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
       
    39  * details.
       
    40  */
       
    41 
       
    42 package org.w3c.dom.html;
       
    43 
       
    44 /**
       
    45  *  The object used to represent the <code>TH</code> and <code>TD</code>
       
    46  * elements. See the  TD element definition in HTML 4.0.
       
    47  * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
       
    48  *
       
    49  * @since 1.4, DOM Level 2
       
    50  */
       
    51 public interface HTMLTableCellElement extends HTMLElement {
       
    52     /**
       
    53      *  The index of this cell in the row, starting from 0. This index is in
       
    54      * document tree order and not display order.
       
    55      */
       
    56     public int getCellIndex();
       
    57 
       
    58     /**
       
    59      *  Abbreviation for header cells. See the  abbr attribute definition in
       
    60      * HTML 4.0.
       
    61      */
       
    62     public String getAbbr();
       
    63     public void setAbbr(String abbr);
       
    64 
       
    65     /**
       
    66      *  Horizontal alignment of data in cell. See the  align attribute
       
    67      * definition in HTML 4.0.
       
    68      */
       
    69     public String getAlign();
       
    70     public void setAlign(String align);
       
    71 
       
    72     /**
       
    73      *  Names group of related headers. See the  axis attribute definition in
       
    74      * HTML 4.0.
       
    75      */
       
    76     public String getAxis();
       
    77     public void setAxis(String axis);
       
    78 
       
    79     /**
       
    80      *  Cell background color. See the  bgcolor attribute definition in HTML
       
    81      * 4.0. This attribute is deprecated in HTML 4.0.
       
    82      */
       
    83     public String getBgColor();
       
    84     public void setBgColor(String bgColor);
       
    85 
       
    86     /**
       
    87      *  Alignment character for cells in a column. See the  char attribute
       
    88      * definition in HTML 4.0.
       
    89      */
       
    90     public String getCh();
       
    91     public void setCh(String ch);
       
    92 
       
    93     /**
       
    94      *  Offset of alignment character. See the  charoff attribute definition
       
    95      * in HTML 4.0.
       
    96      */
       
    97     public String getChOff();
       
    98     public void setChOff(String chOff);
       
    99 
       
   100     /**
       
   101      *  Number of columns spanned by cell. See the  colspan attribute
       
   102      * definition in HTML 4.0.
       
   103      */
       
   104     public int getColSpan();
       
   105     public void setColSpan(int colSpan);
       
   106 
       
   107     /**
       
   108      *  List of <code>id</code> attribute values for header cells. See the
       
   109      * headers attribute definition in HTML 4.0.
       
   110      */
       
   111     public String getHeaders();
       
   112     public void setHeaders(String headers);
       
   113 
       
   114     /**
       
   115      *  Cell height. See the  height attribute definition in HTML 4.0. This
       
   116      * attribute is deprecated in HTML 4.0.
       
   117      */
       
   118     public String getHeight();
       
   119     public void setHeight(String height);
       
   120 
       
   121     /**
       
   122      *  Suppress word wrapping. See the  nowrap attribute definition in HTML
       
   123      * 4.0. This attribute is deprecated in HTML 4.0.
       
   124      */
       
   125     public boolean getNoWrap();
       
   126     public void setNoWrap(boolean noWrap);
       
   127 
       
   128     /**
       
   129      *  Number of rows spanned by cell. See the  rowspan attribute definition
       
   130      * in HTML 4.0.
       
   131      */
       
   132     public int getRowSpan();
       
   133     public void setRowSpan(int rowSpan);
       
   134 
       
   135     /**
       
   136      *  Scope covered by header cells. See the  scope attribute definition in
       
   137      * HTML 4.0.
       
   138      */
       
   139     public String getScope();
       
   140     public void setScope(String scope);
       
   141 
       
   142     /**
       
   143      *  Vertical alignment of data in cell. See the  valign attribute
       
   144      * definition in HTML 4.0.
       
   145      */
       
   146     public String getVAlign();
       
   147     public void setVAlign(String vAlign);
       
   148 
       
   149     /**
       
   150      *  Cell width. See the  width attribute definition in HTML 4.0. This
       
   151      * attribute is deprecated in HTML 4.0.
       
   152      */
       
   153     public String getWidth();
       
   154     public void setWidth(String width);
       
   155 
       
   156 }