Path: blob/aarch64-shenandoah-jdk8u272-b10/jaxp/src/org/w3c/dom/html/HTMLTableCellElement.java
86410 views
/*1* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.2*3* This code is free software; you can redistribute it and/or modify it4* under the terms of the GNU General Public License version 2 only, as5* published by the Free Software Foundation. Oracle designates this6* particular file as subject to the "Classpath" exception as provided7* by Oracle in the LICENSE file that accompanied this code.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 2 along with this work; if not, write to the Free Software Foundation,17* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.18*19* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*/2324/*25* This file is available under and governed by the GNU General Public26* License version 2 only, as published by the Free Software Foundation.27* However, the following notice accompanied the original version of this28* file and, per its terms, should not be removed:29*30* Copyright (c) 2000 World Wide Web Consortium,31* (Massachusetts Institute of Technology, Institut National de32* Recherche en Informatique et en Automatique, Keio University). All33* Rights Reserved. This program is distributed under the W3C's Software34* Intellectual Property License. This program is distributed in the35* hope that it will be useful, but WITHOUT ANY WARRANTY; without even36* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR37* PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more38* details.39*/4041package org.w3c.dom.html;4243/**44* The object used to represent the <code>TH</code> and <code>TD</code>45* elements. See the TD element definition in HTML 4.0.46* <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>.47*/48public interface HTMLTableCellElement extends HTMLElement {49/**50* The index of this cell in the row, starting from 0. This index is in51* document tree order and not display order.52*/53public int getCellIndex();5455/**56* Abbreviation for header cells. See the abbr attribute definition in57* HTML 4.0.58*/59public String getAbbr();60public void setAbbr(String abbr);6162/**63* Horizontal alignment of data in cell. See the align attribute64* definition in HTML 4.0.65*/66public String getAlign();67public void setAlign(String align);6869/**70* Names group of related headers. See the axis attribute definition in71* HTML 4.0.72*/73public String getAxis();74public void setAxis(String axis);7576/**77* Cell background color. See the bgcolor attribute definition in HTML78* 4.0. This attribute is deprecated in HTML 4.0.79*/80public String getBgColor();81public void setBgColor(String bgColor);8283/**84* Alignment character for cells in a column. See the char attribute85* definition in HTML 4.0.86*/87public String getCh();88public void setCh(String ch);8990/**91* Offset of alignment character. See the charoff attribute definition92* in HTML 4.0.93*/94public String getChOff();95public void setChOff(String chOff);9697/**98* Number of columns spanned by cell. See the colspan attribute99* definition in HTML 4.0.100*/101public int getColSpan();102public void setColSpan(int colSpan);103104/**105* List of <code>id</code> attribute values for header cells. See the106* headers attribute definition in HTML 4.0.107*/108public String getHeaders();109public void setHeaders(String headers);110111/**112* Cell height. See the height attribute definition in HTML 4.0. This113* attribute is deprecated in HTML 4.0.114*/115public String getHeight();116public void setHeight(String height);117118/**119* Suppress word wrapping. See the nowrap attribute definition in HTML120* 4.0. This attribute is deprecated in HTML 4.0.121*/122public boolean getNoWrap();123public void setNoWrap(boolean noWrap);124125/**126* Number of rows spanned by cell. See the rowspan attribute definition127* in HTML 4.0.128*/129public int getRowSpan();130public void setRowSpan(int rowSpan);131132/**133* Scope covered by header cells. See the scope attribute definition in134* HTML 4.0.135*/136public String getScope();137public void setScope(String scope);138139/**140* Vertical alignment of data in cell. See the valign attribute141* definition in HTML 4.0.142*/143public String getVAlign();144public void setVAlign(String vAlign);145146/**147* Cell width. See the width attribute definition in HTML 4.0. This148* attribute is deprecated in HTML 4.0.149*/150public String getWidth();151public void setWidth(String width);152153}154155156