Package | twaver |
Class | public class SubNetwork |
Inheritance | SubNetwork ![]() ![]() ![]() ![]() ![]() |
Implements | ISubNetwork |
Subnetwork is able to contain another subnetwork. Use the subnetwork hierarchy you can make a multiple-layer network topology and can be drilled down by double clicking subnetwork.
Please note that group is different with Group
.
SubNetwork displays all children elements in a inside, lower
layer map but group not. Group and its children elements are
still in the same map and topology, just can expanded or closed
by group.
See also
Method | Defined By | ||
---|---|---|---|
SubNetwork(id:Object = null)
Constructor. | SubNetwork | ||
![]() |
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 | |
![]() |
Check whether the specified node is my host or on
my host chain. | Follower | |
![]() | isLoopedHostOn(follower:Follower):Boolean
Check whether specified follower is on a looped host chain. | Follower | |
![]() | 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
| Follower | |
![]() | 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 |