Class HtmlTr
HtmlTr -> HtmlContainer
This container widget represents a table row. A table row should
only contain HtmlTd widgets. It supports the
following attributes:
- align -
String representing the cells contents default horizontal
alignment. It can take the values "left", "center", "right".
- valign -
String representing the cells contents default vertical
alignment. It can take the values "top", "center", "bottom".
- bgcolor -
String representing the default background color for the cells.
- class -
String representing the cascading style sheet class to be associated
- onMouseOver -
String representing the Javascript code to execute whenever the mouse
enters the table row.
- onMouseOut -
String representing the Javascript code to execute whenever the mouse
leaves the table row.
constructor
Initializes the object.
|
init attribList
Initializes the values of a set of attributes.
|
set attribName attribValue
Changes the values of one of the widget attributes.
|
|
constructor
HtmlTr constructor
Initializes the object.
-
init
HtmlTr init attribList
Initializes the values of a set of attributes.
- Parameters:
- attribList -
A list with the attributes and its values.
- Returns:
-
A reference to the object for which the method was called.
-
Initializes attributes of the widget. These
are attributes known to the
set and
get methods.
The attribList argument contains the attributes
names and values. It is a list where each
element specifies an attribute. Each element
is a two element list: a symbol identifying the attribute and
its new value.
set
HtmlTr set attribName attribValue
Changes the values of one of the widget attributes.
- Parameters:
- attribName -
Symbol identifying the attribute whose value will be modified.
- attribValue -
The new value of the attribute.
- Returns:
-
A reference to the object for which the method was called.
-
The
attribName argument must be the same as one of the
symbols passed to the init method, otherwise a
runtime error will occur.
Report a bug or request new features
© 2013