| Package | com.sibirjak.asdpc.core |
| Interface | public interface IBindableView extends IView, IDisplayObjectContainer, IDisplayObject, flash.events.IEventDispatcher, IStyleManagerClient, IViewPropertyManagerClient |
| Subinterfaces | IButton, IListView |
| Implementors | BindableView |
| Method | Defined by | ||
|---|---|---|---|
![]() |
addChild(child:DisplayObject):DisplayObject
| IDisplayObjectContainer | |
![]() |
addChildAt(child:DisplayObject, index:int):DisplayObject
| IDisplayObjectContainer | |
|
Binds a listener (bound listener) to a bindable property.
| IBindableView | ||
![]() |
cleanUp():void
Commands a view to immediately clean up all of its content.
| IView | |
![]() |
contains(child:DisplayObject):Boolean
| IDisplayObjectContainer | |
![]() |
getChildAt(index:int):DisplayObject
| IDisplayObjectContainer | |
![]() |
getDefaultStyles():Array
Returns a list of all default style properties.
| IView | |
![]() |
getStyle(property:String):*
Returns a style value for a given style property.
| IView | |
![]() |
getViewProperty(property:String):*
Gets a property value.
| IView | |
![]() |
moveTo(x:int, y:int):void
Moves a view.
| IView | |
![]() |
removeChild(child:DisplayObject):DisplayObject
| IDisplayObjectContainer | |
![]() |
removeChildAt(index:int):DisplayObject
| IDisplayObjectContainer | |
![]() |
setDefaultStyles(defaultStyles:Array):void
Sets a list of default styles, which are referred to, if no
actual style could be found for a property.
| IView | |
![]() |
setSize(width:int, height:int):void
Sets the view dimensions.
| IView | |
![]() |
setStyle(property:String, value:Array, selectorChain:Array = null, excludeChain:* = null):void
Sets a style to a client.
| IView | |
![]() |
setStyles(styles:Array, selectorChain:Array = null, excludeChain:Array = null):void
Convenience method to set a number of styles values at once.
| IView | |
![]() |
setViewProperty(property:String, value:*):void
Sets a property.
| IView | |
![]() |
styleManagerStyleChangeHandler(property:String, value:*):void
Notifies the client about a change of a style value for that it
defines a default style.
| IStyleManagerClient | |
|
Unbinds a formerly bound listener from a bindable property.
| IBindableView | ||
![]() |
validateNow():void
Commands a view to immediately validate all of its
invalidate properties.
| IView | |
| bindProperty | () | method |
public function bindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):BooleanBinds a listener (bound listener) to a bindable property.
ParameterspropertyName:String — The name of the property to bind.
|
|
listener:Object — A function reference or the object that hosts the property,
that should be updated automatically.
|
|
listenerPropertyName:String (default = null) — The listener property, that should be updated automatically.
|
Boolean — True, if the binding could be established.
|
| unbindProperty | () | method |
public function unbindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):voidUnbinds a formerly bound listener from a bindable property.
ParameterspropertyName:String — The name of the property to unbind.
|
|
listener:Object — A function reference or the object that hosts the property,
that was updated automatically.
|
|
listenerPropertyName:String (default = null) — The listener property, that was updated automatically.
|