blob: ae0dafbd0b0ebfdc57b071394b655765cd332ca4 [file] [log] [blame]
/*
* Copyright 2011 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 com.google.gwt.dom.builder.shared;
/**
* Builds an tablerow element.
*/
public interface TableRowBuilder extends ElementBuilderBase<TableRowBuilder> {
String UNSUPPORTED_HTML = "Table row elements do not support setting inner html or text. "
+ "Use startTD/startTH() instead to append a table cell to the section.";
/**
* Horizontal alignment of data within cells of this row.
*
* @see <a
* href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#adef-align-TD">W3C
* HTML Specification</a>
*/
TableRowBuilder align(String align);
/**
* Alignment character for cells in a column.
*
* @see <a
* href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#adef-char">W3C
* HTML Specification</a>
*/
TableRowBuilder ch(String ch);
/**
* Offset of alignment character.
*
* @see <a
* href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#adef-charoff">W3C
* HTML Specification</a>
*/
TableRowBuilder chOff(String chOff);
/**
* Vertical alignment of data within cells of this row.
*
* @see <a
* href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#adef-valign">W3C
* HTML Specification</a>
*/
TableRowBuilder vAlign(String vAlign);
}