Class Index | File Index

Classes


Class InputElementTextbox


Extends InputElementWithLabel.
A textbox object, derived from labeled object
Defined in: inputElement.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Retrieves the text currently displayed in the textbox.
 
setSize(width)
Sets the size of the textbox.
 
setTooltip(text)
Sets the text to be displayed when a user hovers the mouse over the textbox.
 
setValue(text)
Sets the text to be displayed in the textbox.
Methods borrowed from class InputElementWithLabel:
appendTo, setLabel, setTextAlign
Methods borrowed from class InputElement:
disable, enable, onChange, onClick
Class Detail
InputElementTextbox(tag)
Parameters:
tag
Method Detail
{string} getValue()
Retrieves the text currently displayed in the textbox.
Returns:
{string} The display text

setSize(width)
Sets the size of the textbox.
Parameters:
{number} width
The desired width of the textbox

setTooltip(text)
Sets the text to be displayed when a user hovers the mouse over the textbox.
Parameters:
{string} text
The display text

setValue(text)
Sets the text to be displayed in the textbox.
Parameters:
{string} text
The display text

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