Packagecom.sibirjak.asdpc.core
Interfacepublic interface IBindableView extends IView, IDisplayObjectContainer, IDisplayObject, flash.events.IEventDispatcher, IStyleManagerClient, IViewPropertyManagerClient
SubinterfacesIButton, IListView
ImplementorsBindableView

BindableView public interface.



Public Properties
 PropertyDefined by
 InheritedaddedToStage : Boolean
True, if the View is included in the display list.
IView
 Inheritedalpha : Number
IDisplayObject
 Inheritedheight : Number
IDisplayObject
 Inheritedmask : DisplayObject
IDisplayObject
 Inheritedname : String
IDisplayObject
 InheritednumChildren : int
IDisplayObjectContainer
 Inheritedparent : DisplayObjectContainer
IDisplayObjectContainer
 InheritedscaleX : Number
IDisplayObject
 InheritedscaleY : Number
IDisplayObject
 Inheritedstage : Stage
IDisplayObject
 InheritedstyleManager : StyleManager
The clients StyleManager instance.
IStyleManagerClient
 InheritedviewPropertyManager : ViewPropertyManager
The clients ViewPropertyManager instance.
IViewPropertyManagerClient
 Inheritedvisible : Boolean
IDisplayObject
 Inheritedwidth : Number
IDisplayObject
 Inheritedx : Number
IDisplayObject
 Inheritedy : Number
IDisplayObject
Public Methods
 MethodDefined by
 Inherited
addChild(child:DisplayObject):DisplayObject
IDisplayObjectContainer
 Inherited
addChildAt(child:DisplayObject, index:int):DisplayObject
IDisplayObjectContainer
  
bindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):void
Binds a listener (bound listener) to a bindable property.
IBindableView
 Inherited
cleanUp():void
Commands a view to immediately clean up all of its content.
IView
 Inherited
contains(child:DisplayObject):Boolean
IDisplayObjectContainer
 Inherited
getChildAt(index:int):DisplayObject
IDisplayObjectContainer
 Inherited
Returns a list of all default style properties.
IView
 Inherited
getStyle(property:String):*
Returns a style value for a given style property.
IView
 Inherited
getViewProperty(property:String):*
Gets a property value.
IView
 Inherited
moveTo(x:int, y:int):void
Moves a view.
IView
 Inherited
removeChild(child:DisplayObject):DisplayObject
IDisplayObjectContainer
 Inherited
removeChildAt(index:int):DisplayObject
IDisplayObjectContainer
 Inherited
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
 Inherited
setSize(width:int, height:int):void
Sets the view dimensions.
IView
 Inherited
setStyle(property:String, value:Array, selectorChain:Array = null, excludeChain:* = null):void
Sets a style to a client.
IView
 Inherited
setStyles(styles:Array, selectorChain:Array = null, excludeChain:Array = null):void
Convenience method to set a number of styles values at once.
IView
 Inherited
setViewProperty(property:String, value:*):void
Sets a property.
IView
 Inherited
styleManagerStyleChangeHandler(property:String, value:*):void
Notifies the client about a change of a style value for that it defines a default style.
IStyleManagerClient
  
unbindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):void
Unbinds a formerly bound listener from a bindable property.
IBindableView
 Inherited
validateNow():void
Commands a view to immediately validate all of its invalidate properties.
IView
Method detail
bindProperty()method
public function bindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):Boolean

Binds a listener (bound listener) to a bindable property.

Parameters
propertyName: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.

Returns
Boolean — True, if the binding could be established.
unbindProperty()method 
public function unbindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):void

Unbinds a formerly bound listener from a bindable property.

Parameters
propertyName: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.