Generic user interface control class.
Control class is based on generic html object and adds data access methods, templates and internal event processing.
var obj = new AW.System.Control;
control | Control data. |
control format | Formatting object. |
control image | Image name. |
control link | Hyperlink URL. |
control state | Control's state. |
control text | Displayed text. |
control tooltip | Tooltip text. |
control value | Control's value. |
control visible | Control's visibility. |
tab | Tab index. |
tab index | Tab index. |
clear | Clears all models. |
clearControlModel | Clears control model |
clearTabModel | Clears tab model |
clone | Creates an object clone. |
defineControlProperty | Creates new control property |
defineModel | Creates get/set methods for the model. |
defineTabProperty | Creates new tab property |
defineTemplate | Creates get/set methods for the template. |
element | Returns the reference to the HTML element. |
getAttribute | Returns the value of the attribute. |
getClass | Returns the value of the CSS class. |
getContent | Returns the named HTML fragment. |
getControlFormat | Returns control format |
getControlImage | Returns control image |
getControlLink | Returns control link |
getControlModel | Returns control model |
getControlProperty | Returns control property |
getControlState | Returns control state |
getControlText | Returns control text |
getControlTooltip | Returns control tooltip |
getControlValue | Returns control value |
getControlVisible | Returns control visible |
getEvent | Returns the HTML event handler. |
getId | Returns the unique ID of this object. |
getModel | Returns the external model. |
getStyle | Returns the value of the CSS style attribute. |
getTabIndex | Returns tab index |
getTabModel | Returns tab model |
getTabProperty | Returns tab property |
getTag | Returns the HTML tag name. |
getTemplate | Returns the template. |
init | Initializes the object. |
mapModel | Redirects property requests. |
mapTemplate | Redirects template requests. |
raiseEvent | Raises AW control event. |
refresh | Updates the HTML element. |
refreshClasses | Updates the className attribute of the HTML element. |
setAttribute | Sets the value of the attribute. |
setClass | Sets the value of the CSS class. |
setContent | Adds the static HTML fragment to the object. |
setControlFormat | Sets control format |
setControlImage | Sets control image |
setControlLink | Sets control link |
setControlModel | Sets control model |
setControlProperty | Sets control property |
setControlState | Sets control state |
setControlText | Sets control text |
setControlTooltip | Sets control tooltip |
setControlValue | Sets control value |
setControlVisible | Sets control visible |
setController | Assigns the controller. |
setEvent | Assigns the HTML event handler. |
setId | Sets the unique ID for this object. |
setModel | Assigns the external model. |
setPosition | Sets element position (absolute). |
setSize | Sets element size. |
setStyle | Sets the value of the CSS style attribute. |
setTabIndex | Sets tab index |
setTabModel | Sets tab model |
setTabProperty | Sets tab property |
setTag | Sets the HTML tag name. |
setTemplate | Assigns the template. |
setTimeout | Calls the function after the specified delay. |
toString | Converts object to string. |
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.