elemental.html.TableElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-client Show documentation
Show all versions of vaadin-client Show documentation
Vaadin is a web application framework for Rich Internet Applications (RIA).
Vaadin enables easy development and maintenance of fast and
secure rich web
applications with a stunning look and feel and a wide browser support.
It features a server-side architecture with the majority of the logic
running
on the server. Ajax technology is used at the browser-side to ensure a
rich
and interactive user experience.
/*
* 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);
}