All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental.html.TableCellElement Maven / Gradle / Ivy

There is a newer version: 2.8.2.vaadin2
Show newest version
/*
 * Copyright 2012 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package elemental.html;
import elemental.dom.Element;

import elemental.events.*;
import elemental.util.*;
import elemental.dom.*;
import elemental.html.*;
import elemental.css.*;
import elemental.stylesheets.*;

import java.util.Date;

/**
  * The HTML Table Cell Element (<td>) defines a cell that content data.
  */
public interface TableCellElement extends Element {


  /**
    * This attribute contains a short abbreviated description of the content of the cell. Some user-agents, such as speech readers, may present this description before the content itself. 
Note: Do not use this attribute as it is obsolete in the latest standard: instead either consider starting the cell content by an independent abbreviated content itself or use the abbreviated content as the cell content and use the long content as the description of the cell by putting it in the title attribute.
*/ String getAbbr(); void setAbbr(String arg); /** * This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:
  • left, aligning the content to the left of the cell
  • center, centering the content in the cell
  • right, aligning the content to the right of the cell
  • justify, inserting spaces into the textual content so that the content is justified in the cell
  • char, aligning the textual content on a special character with a minimal offset, defined by the char and charoff attributes Unimplemented (see bug 2212 ) .

If this attribute is not set,  the left value is assumed.

Note: Do not use this attribute as it is obsolete (not supported) in the latest standard.
  • To achieve the same effect as the left, center, right or justify values, use the CSS text-align property on it.
  • To achieve the same effect as the char value, in CSS3, you can use the value of the char as the value of the text-align property Unimplemented .
*/ String getAlign(); void setAlign(String arg); /** * This attribute contains a list of space-separated strings. Each string is the ID of a group of cells that this header applies to.
Note: Do not use this attribute as it is obsolete in the latest standard: instead use the scope attribute.
*/ String getAxis(); void setAxis(String arg); String getBgColor(); void setBgColor(String arg); int getCellIndex(); String getCh(); void setCh(String arg); String getChOff(); void setChOff(String arg); int getColSpan(); void setColSpan(int arg); /** * This attributes a list of space-separated strings, each corresponding to the id attribute of the <th> elements that applies to this element. */ String getHeaders(); void setHeaders(String arg); String getHeight(); void setHeight(String arg); boolean isNoWrap(); void setNoWrap(boolean arg); int getRowSpan(); void setRowSpan(int arg); String getScope(); void setScope(String arg); String getVAlign(); void setVAlign(String arg); String getWidth(); void setWidth(String arg); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy