:: Home >>

AW.UI.Input

Input box control.

Constructor

 var obj = new AW.UI.Input; 

Hierarchy

Models

controlControl data.
control formatFormatting object.
control imageImage name.
control linkHyperlink URL.
control stateControl's state.
control textDisplayed text.
control tooltipTooltip text.
control valueControl's value.
control visibleControl's visibility.
tabTab index.
tab indexTab index.

Methods

clearClears all models.
clearControlModelClears control model
clearTabModelClears tab model
cloneCreates an object clone.
defineControlPropertyCreates new control property
defineModelCreates get/set methods for the model.
defineTabPropertyCreates new tab property
defineTemplateCreates get/set methods for the template.
elementReturns the reference to the HTML element.
getAttributeReturns the value of the attribute.
getClassReturns the value of the CSS class.
getContentReturns the named HTML fragment.
getControlFormatReturns control format
getControlImageReturns control image
getControlLinkReturns control link
getControlModelReturns control model
getControlPropertyReturns control property
getControlStateReturns control state
getControlTextReturns control text
getControlTooltipReturns control tooltip
getControlValueReturns control value
getControlVisibleReturns control visible
getEventReturns the HTML event handler.
getIdReturns the unique ID of this object.
getModelReturns the external model.
getStyleReturns the value of the CSS style attribute.
getTabIndexReturns tab index
getTabModelReturns tab model
getTabPropertyReturns tab property
getTagReturns the HTML tag name.
getTemplateReturns the template.
initInitializes the object.
mapModelRedirects property requests.
mapTemplateRedirects template requests.
raiseEventRaises AW control event.
refreshUpdates the HTML element.
refreshClassesUpdates the className attribute of the HTML element.
setAttributeSets the value of the attribute.
setClassSets the value of the CSS class.
setContentAdds the static HTML fragment to the object.
setControlFormatSets control format
setControlImageSets control image
setControlLinkSets control link
setControlModelSets control model
setControlPropertySets control property
setControlStateSets control state
setControlTextSets control text
setControlTooltipSets control tooltip
setControlValueSets control value
setControlVisibleSets control visible
setControllerAssigns the controller.
setEventAssigns the HTML event handler.
setIdSets the unique ID for this object.
setModelAssigns the external model.
setPositionSets element position (absolute).
setSizeSets element size.
setStyleSets the value of the CSS style attribute.
setTabIndexSets tab index
setTabModelSets tab model
setTabPropertySets tab property
setTagSets the HTML tag name.
setTemplateAssigns the template.
setTimeoutCalls the function after the specified delay.
toStringConverts object to string.

Events

property change events - property changing/changed
control activation events - control activated/deactivated (focus/blur)
control keyboard events - keypress and special keys
control mouse events - control mouseover, mousedown, click etc.
control edit events - control editing and validation

Example

var obj = new AW.UI.Input;
obj.setControlText("Input");
obj.setControlImage("search");
document.write(obj);

See also

Input control overview

Comments

8 Apr 10
Multiple lines in a table with input inside Guillaume (1)
13 Dec 06
Multi lines input ? François DROUHIN (0)
6 Dec 06
AW.Input control in a grid header row - problem in FF Will (11)
13 Oct 06
Setting the width doesnt work any solutions BOB FLEMMING (1)
25 Sep 06
Password Input Hudhaifa Shatnawi (1)
13 Mar 06
Input Field, Shift-Tab Nihal (1)
27 Feb 06
what about masking for the input widget? (2)
20 Feb 06
Cannot format given Object as a Date Laszlo (0)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5