Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2011 Tomas Schlosser
  *
  * 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 org.anadix.html;
Defines a row in a table

Author(s):
tomason
Version:
$Id: $
public class TrTag extends CommonAttributes {
	TrTag(BigInteger idHtmlElement parentAttributes attributes) {
		super(id"tr"parentattributes);
	}

Aligns the content in a table row

Returns:
alignment of the row
	public String getAlign() {
		return getAttribute("align");
	}

Aligns the content in a table row to a character

Returns:
character
	public String getChar() {
		return getAttribute("char");
	}

Sets the number of characters the content will be aligned from the character specified by the char attribute

Returns:
number
	public String getCharoff() {
		return getAttribute("charoff");
	}

Vertical aligns the content in a table row

Returns:
vertical alignment
	public String getValign() {
		return getAttribute("valign");
	}

Specifies a background color for a table row

Returns:
backgroud color
	public String getBgcolor() {
		return getAttribute("bgcolor");
	}
New to GrepCode? Check out our FAQ X