Class Index | File Index

Classes


Class ElementLabel

A label object, since some objects have a label via composition
Defined in: inputElement.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
setLabel(text)
Sets the text for the associated label.
 
Sets the text alignment for the associated label.
Class Detail
ElementLabel()
Method Detail
setLabel(text)
Sets the text for the associated label. Creates a DOM label element if not existing.
Parameters:
{string} text
The label for the including object.

setTextAlign(text)
Sets the text alignment for the associated label. Default is left.
Parameters:
{string} text
The desired alignment, either 'left' or 'right'

Documentation generated by JsDoc Toolkit 2.3.2 on Fri Mar 26 2010 16:00:14 GMT-0700 (PDT)