:: Documentation >>

AW.System.Control

Generic user interface control class.

Control class is based on generic html object and adds data access methods, templates and internal event processing.

Constructor

 var obj = new AW.System.Control; 

Hierarchy

Mixin Classes:
AW.System.Template

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
template change events - template changed
control activation events - activated/deactivated (focus/blur)
control keyboard events - keypress and named keys
control mouse events - mouseover, mousedown, click etc.

Comments

Prevent a property from changing Thierry Nivelet (http://FoxInCloud.com/) (0)
Option to prevent DOM events from bubbling up? Thierry Nivelet (FoxInCloud) (0)
Regarding property change jessica (3)
How to disable a tab? Siddharth (0)
sort is not working, when we set the radio button in the column. guest (0)
add check box in active widget header User1 (2)
Event "onControlMouseDown" does not fire on AW.UI.Input object (Version 2.0.2) sysadm (6)
AW.UI.Grid fires the event incorrectly in IE5.5 Max (1)
setControlVisible(false) doesn't hide the control kkeller@ign.com (5)
How to do a grid disabled (2)
How to add multiple event listeners DT (5)
Migrating from 1.0 to 2.0.1 Vikramaditya Garg (0)
onCtrlControlClicked event does not fire Frank Olson (1)
Does the clear() method free it's objects? Jim Hunter (www.FriendsOfAW.com) (1)
BUG in Model definition : Alex ? Yasdnil (3)
How do template display model data Yasdnil (0)
Hooking setter in defineProperty() LostInSpace (4)
changing tabs yeahyeahyeah (1)

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