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

elemental.html.TableElement Maven / Gradle / Ivy

There is a newer version: 2.9.0
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;

/**
  * table objects expose the HTMLTableElement interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of tables in HTML.

  */
public interface TableElement extends Element {


  /**
    * align gets/sets the alignment of the table.

    */
  String getAlign();

  void setAlign(String arg);


  /**
    * bgColor gets/sets the background color of the table.

    */
  String getBgColor();

  void setBgColor(String arg);


  /**
    * border gets/sets the table border.

    */
  String getBorder();

  void setBorder(String arg);


  /**
    * caption returns the table caption.

    */
  TableCaptionElement getCaption();

  void setCaption(TableCaptionElement arg);


  /**
    * cellPadding gets/sets the cell padding.

    */
  String getCellPadding();

  void setCellPadding(String arg);


  /**
    * cellSpacing gets/sets the spacing around the table.

    */
  String getCellSpacing();

  void setCellSpacing(String arg);


  /**
    * frame specifies which sides of the table have borders.

    */
  String getFrame();

  void setFrame(String arg);


  /**
    * rows returns the rows in the table.

    */
  HTMLCollection getRows();


  /**
    * rules specifies which interior borders are visible.

    */
  String getRules();

  void setRules(String arg);


  /**
    * summary gets/sets the table summary.

    */
  String getSummary();

  void setSummary(String arg);


  /**
    * tBodies returns the table bodies.

    */
  HTMLCollection getTBodies();


  /**
    * tFoot returns the table footer.

    */
  TableSectionElement getTFoot();

  void setTFoot(TableSectionElement arg);


  /**
    * tHead returns the table head.

    */
  TableSectionElement getTHead();

  void setTHead(TableSectionElement arg);


  /**
    * width gets/sets the width of the table.

    */
  String getWidth();

  void setWidth(String arg);


  /**
    * createCaption creates a new caption for the table.

    */
  Element createCaption();

  Element createTBody();


  /**
    * createTFoot creates a table footer.

    */
  Element createTFoot();


  /**
    * createTHead creates a table header.

    */
  Element createTHead();


  /**
    * deleteCaption removes the table caption.

    */
  void deleteCaption();


  /**
    * deleteRow removes a row.

    */
  void deleteRow(int index);


  /**
    * deleteTFoot removes a table footer.

    */
  void deleteTFoot();


  /**
    * deleteTHead removes the table header.

    */
  void deleteTHead();


  /**
    * insertRow inserts a new row.

    */
  Element insertRow(int index);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy