org.anadix.html
Class TdTag

java.lang.Object
  extended by org.anadix.html.HtmlElement
      extended by org.anadix.html.CoreAttributes
          extended by org.anadix.html.TdTag
All Implemented Interfaces:
Comparable<HtmlElement>, Element

public class TdTag
extends CoreAttributes

Defines a cell in a table

Version:
$Id: $
Author:
tomason

Method Summary
 String getAbbr()
          Specifies an abbreviated version of the content in a cell
 String getAlign()
          Aligns the content in a cell
 String getAxis()
          Categorizes cells
 String getBgcolor()
          Specifies the background color of a cell
 String getChar()
          Aligns the content in a cell to a character
 String getCharoff()
          Sets the number of characters the content will be aligned from the character specified by the char attribute
 String getColspan()
          Specifies the number of columns a cell should span
 String getDir()
          Specifies the text direction for the content in an element
 String getHeaders()
          Specifies one or more header cells a cell is related to
 String getHeight()
          Sets the height of a cell
 String getLang()
          Specifies a language code for the content in an element
 String getNowrap()
          Specifies that the content inside a cell should not wrap
 String getOnclick()
          Script to be run on a mouse click
 String getOndblclick()
          Script to be run on a mouse double-click
 String getOnkeydown()
          Script to be run when a key is pressed
 String getOnkeypress()
          Script to be run when a key is pressed and released
 String getOnkeyup()
          Script to be run when a key is released
 String getOnmousedown()
          Script to be run when mouse button is pressed
 String getOnmousemove()
          Script to be run when mouse pointer moves
 String getOnmouseout()
          Script to be run when mouse pointer moves out of an element
 String getOnmouseover()
          Script to be run when mouse pointer moves over an element
 String getOnmouseup()
          Script to be run when mouse button is released
 String getRowspan()
          Sets the number of rows a cell should span
 String getScope()
          Defines a way to associate header cells and data cells in a table
 String getValign()
          Vertical aligns the content in a cell
 String getWidth()
          Specifies the width of a cell
 
Methods inherited from class org.anadix.html.CoreAttributes
getClassAttribute, getIdAttribute, getStyle, getTitle
 
Methods inherited from class org.anadix.html.HtmlElement
compareTo, equals, getAttribute, getAttributes, getId, getName, getParent, getPosition, getSource, getTextContent, hashCode, setPosition, setSource, setTextContent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getAbbr

public String getAbbr()
Specifies an abbreviated version of the content in a cell

Returns:
text

getAxis

public String getAxis()
Categorizes cells

Returns:
category name

getHeaders

public String getHeaders()
Specifies one or more header cells a cell is related to

Returns:
list of header id

getScope

public String getScope()
Defines a way to associate header cells and data cells in a table

Returns:
scope of cell

getRowspan

public String getRowspan()
Sets the number of rows a cell should span

Returns:
number

getColspan

public String getColspan()
Specifies the number of columns a cell should span

Returns:
number

getAlign

public String getAlign()
Aligns the content in a cell

Returns:
alignment

getChar

public String getChar()
Aligns the content in a cell to a character

Returns:
character

getCharoff

public String getCharoff()
Sets the number of characters the content will be aligned from the character specified by the char attribute

Returns:
number

getValign

public String getValign()
Vertical aligns the content in a cell

Returns:
vertical alignment

getNowrap

public String getNowrap()
Specifies that the content inside a cell should not wrap

Returns:
nowrap or null

getBgcolor

public String getBgcolor()
Specifies the background color of a cell

Returns:
color

getWidth

public String getWidth()
Specifies the width of a cell

Returns:
width of the cell

getHeight

public String getHeight()
Sets the height of a cell

Returns:
height of the cell

getLang

public String getLang()
Specifies a language code for the content in an element

Returns:
language code for content of the element

getDir

public String getDir()
Specifies the text direction for the content in an element

Returns:
text direction for the content of the element

getOnclick

public String getOnclick()
Script to be run on a mouse click

Returns:
script on mouse click

getOndblclick

public String getOndblclick()
Script to be run on a mouse double-click

Returns:
script on double-click

getOnmousedown

public String getOnmousedown()
Script to be run when mouse button is pressed

Returns:
script on mouse button press

getOnmouseup

public String getOnmouseup()
Script to be run when mouse button is released

Returns:
script on mouse button release

getOnmouseover

public String getOnmouseover()
Script to be run when mouse pointer moves over an element

Returns:
script on mouse over element

getOnmousemove

public String getOnmousemove()
Script to be run when mouse pointer moves

Returns:
script on mouse move within the element

getOnmouseout

public String getOnmouseout()
Script to be run when mouse pointer moves out of an element

Returns:
script on mouse moving out of the element

getOnkeypress

public String getOnkeypress()
Script to be run when a key is pressed and released

Returns:
script on key press and release

getOnkeydown

public String getOnkeydown()
Script to be run when a key is pressed

Returns:
script on key press

getOnkeyup

public String getOnkeyup()
Script to be run when a key is released

Returns:
script on key release


Copyright © 2011. All Rights Reserved.