Package | twaver |
Interface | public interface ILayer extends IData, flash.events.IEventDispatcher, IClient |
Implementors | Layer |
LayerBox
.
Layer can be moved up and down, visible or hide by layer box.
Like alarm object, layer is also a special data managed by special data box. Alarm is managed by alarm box, layer is managed by layer box. And it is easy to understand that why element is managed by element box.
Property | Defined By | ||
---|---|---|---|
![]() | children : ICollection [read-only]
Get all children data as a collection. | IData | |
![]() | childrenCount : int [read-only]
Get total children count. | IData | |
![]() | clientProperties : ICollection [read-only]
Get a ICollection that contians all client proerty name. | IClient | |
editable : Boolean
Get the value whether this layer is editable. | ILayer | ||
![]() | hasChildren : Boolean [read-only]
Check whether this data has children data. | IData | |
![]() | icon : String
The small icon of this data. | IData | |
![]() | id : Object [read-only]
The ID of this data. | IData | |
movable : Boolean
Get value whether this layer is movable to up or down. | ILayer | ||
![]() | name : String
Get the name of this data. | IData | |
![]() | parent : IData
Get parent data. | IData | |
![]() | toolTip : String
Get tooltip of this data. | IData | |
visible : Boolean
Check whether this layer is visible. | ILayer |
editable | property |
editable:Boolean
Get the value whether this layer is editable. This will decide whether elements on this layer is editable.
public function get editable():Boolean
public function set editable(value:Boolean):void
movable | property |
movable:Boolean
Get value whether this layer is movable to up or down.
public function get movable():Boolean
public function set movable(value:Boolean):void
visible | property |
visible:Boolean
Check whether this layer is visible. This will also make elements contained visible/invisible.
public function get visible():Boolean
public function set visible(value:Boolean):void