Package | twaver |
Class | public class RotatableNode |
Inheritance | RotatableNode ![]() ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | agentLinks : ICollection [read-only]
Get all agential links of this node. | Node | |
![]() | alarmState : AlarmState [read-only]
Get alarm state object of this element. | Element | |
angle : Number
Get rotate angle(by radian). | RotatableNode | ||
![]() | centerLocation : Point
Get the location of this node's center point. | Node | |
![]() | children : ICollection [read-only]
Get all children data objects of this data object. | Data | |
![]() | childrenCount : int [read-only]
Get all children total count for this data. | Data | |
![]() | clientProperties : ICollection [read-only]
Get a ICollection that contians all client proerty name. | Data | |
elementUIClass : Class [override] [read-only]
Get element ui class name. | RotatableNode | ||
![]() | followers : ICollection [read-only]
Get all followers of this node with a collection. | Node | |
![]() | fromAgentLinks : ICollection [read-only]
Get all agential from/start links of this node with a collection. | Node | |
![]() | fromLinks : ICollection [read-only]
Get all links start from this node. | Node | |
![]() | hasChildren : Boolean [read-only]
Check whether this data has children objects. | Data | |
height : Number [override]
Get node height value. | RotatableNode | ||
![]() | icon : String
Get icon value for this data. | Data | |
![]() | id : Object [read-only]
Get the ID value of this data. | Data | |
image : String [override]
Set image url value for this node. | RotatableNode | ||
![]() | layerID : Object
Get layer ID of this element. | Element | |
![]() | links : ICollection [read-only]
Get all connected links of this node with a collection. | Node | |
![]() | location : Point
Get location of this node. | Node | |
![]() | loopedLinks : ICollection [read-only]
Get all looped links on this node with a collection. | Node | |
![]() | name : String
Get name of this data. | Data | |
![]() | parent : IData
Get parent data object. | Data | |
![]() | rect : Rectangle [read-only]
Get node bounds. | Node | |
![]() | size : Size [read-only]
Get node size. | Node | |
![]() | styleProperties : ICollection [read-only]
Get a ICollection that contians all style proerty name. | Element | |
![]() | toAgentLinks : ICollection [read-only]
Get all agential to/end links of this node with a collection. | Node | |
![]() | toLinks : ICollection [read-only]
Get all to/end links end to this node. | Node | |
![]() | toolTip : String
Get the tooltip text of this data. | Data | |
width : Number [override]
Get node width. | RotatableNode | ||
![]() | x : Number [read-only]
Get x location of this node. | Node | |
![]() | y : Number [read-only]
Get y location of this node. | Node |
Method | Defined By | ||
---|---|---|---|
RotatableNode(id:Object = null) | RotatableNode | ||
![]() |
Add a child data object for this data. | Data | |
![]() | addPropertyChangeListener(listener:Function, priority:int = 0, useWeakReference:Boolean = false):void
Add a property change listener to this data to monitoring property
change event. | Data | |
![]() | clearChildren():Boolean
Clear all children from this data. | Data | |
![]() | deserializeXML(serializer:XMLSerializer, xml:XML):void [override]
inheritDoc
| Element | |
![]() | dispatchPropertyChangeEvent(property:String, oldValue:Object, newValue:Object):Boolean
Dispatch property change event to all installed listeners. | Data | |
![]() | getChildAt(index:int):IData
Get child as specified index location. | Data | |
![]() | getClient(clientProp:String):*
Get specified client property value. | Data | |
![]() | getPropertyValue(property:String):Object [override]
Get an user defined property on this data. | Element | |
![]() | getStyle(styleProp:String, returnDefaultIfNull:Boolean = true):*
Get the specified style property value. | Element | |
![]() | hasAgentLinks():Boolean
Check whether this node has agential links. | Node | |
![]() | hasOwnProperty(name:String):Boolean
Whether this data has specified property. | Data | |
![]() | isAdjustedToBottom():Boolean
Check whether this element has been adjusted to bottom. | Element | |
![]() | isDescendantOf(data:IData):Boolean
Check whether this data is a descendant of the specified data object. | Data | |
![]() | isParentOf(data:IData):Boolean
Check whether this data is the parent of specified data. | Data | |
![]() | isRelatedTo(data:IData):Boolean
Check whether this data has descendant relationship with the specified data. | Data | |
![]() | removeChild(child:IData):Boolean
Remove the specified child object. | Data | |
![]() | removePropertyChangeListener(listener:Function):void
Remove the specified property change listener. | Data | |
[override]
inheritDoc
| RotatableNode | ||
![]() | setCenterLocation(x:Number, y:Number):void
Set a new location for this node's center point. | Node | |
![]() |
Set client property for this data. | Data | |
![]() | setLocation(x:Number, y:Number):void
Set a new location for this node. | Node | |
![]() | setPropertyValue(property:String, value:Object):void [override]
Set an user defined property on this data. | Element | |
![]() | setSize(width:Number, height:Number):void
Set node size. | Node | |
![]() |
Set a style for this element. | Element | |
![]() | toChildren(matchFunction:Function = null):ICollection
Iterate children collection by given callback function. | Data | |
![]() | toString():String [override]
| Data | |
![]() | translate(dx:Number, dy:Number):void
Translate node location to specified offset. | Node |
angle | property |
angle:Number
Get rotate angle(by radian).
public function get angle():Number
public function set angle(value:Number):void
elementUIClass | property |
elementUIClass:Class
[read-only] [override] Get element ui class name. UI class is used to paint/draw element on network canvas. TWaver Flex will create UI object for the element instance by this returned class name.
public function get elementUIClass():Class
height | property |
height:Number
[override] Get node height value.
public function get height():Number
public function set height(value:Number):void
image | property |
image:String
[override] Set image url value for this node. This image will be cached by TWaver and displays on network canvas.
public function get image():String
public function set image(value:String):void
width | property |
width:Number
[override] Get node width.
public function get width():Number
public function set width(value:Number):void
RotatableNode | () | Constructor |
public function RotatableNode(id:Object = null)
Parameters
id:Object (default = null )
|
serializeXML | () | method |
override public function serializeXML(serializer:XMLSerializer, newInstance:IData):void
inheritDoc
Parameters
serializer:XMLSerializer | |
newInstance:IData |