| Package | com.sibirjak.asdpc.core.managers |
| Interface | public interface IStyleManagerClient extends IDisplayObject, flash.events.IEventDispatcher |
| Subinterfaces | IView |
| Implementors | Container |
Any Flash display object can implement this interface an thus get styling capabilities.
Each StyleManagerClient hosts its own distinctive StyleManager instance.
| Property | Defined by | ||
|---|---|---|---|
![]() | alpha : Number | IDisplayObject | |
![]() | height : Number | IDisplayObject | |
![]() | mask : DisplayObject | IDisplayObject | |
![]() | name : String | IDisplayObject | |
![]() | scaleX : Number | IDisplayObject | |
![]() | scaleY : Number | IDisplayObject | |
![]() | stage : Stage | IDisplayObject | |
| styleManager : StyleManager
[read-only]
The clients StyleManager instance.
| IStyleManagerClient | ||
![]() | visible : Boolean | IDisplayObject | |
![]() | width : Number | IDisplayObject | |
![]() | x : Number | IDisplayObject | |
![]() | y : Number | IDisplayObject | |
| Method | Defined by | ||
|---|---|---|---|
|
styleManagerStyleChangeHandler(property:String, value:*):void
Notifies the client about a change of a style value for that it
defines a default style.
| IStyleManagerClient | ||
| styleManager | property |
styleManager:StyleManager [read-only]The clients StyleManager instance.
This instance is usually set within the client's constructor.
Implementation public function get styleManager():StyleManager
| styleManagerStyleChangeHandler | () | method |
public function styleManagerStyleChangeHandler(property:String, value:*):voidNotifies the client about a change of a style value for that it defines a default style.
To generally get notifications from the style manager, you need to declare all particular styles via the StyleManager.setDefaultStyles() method. You do this at best in the constructor of the client.
If this method has been called, you should update your client to reflect the changes in its visualisation.
Parametersproperty:String — The style name.
|
|
value:* — The style value.
|