| Package | com.ithaca.timeline |
| Class | public class LayoutNode |
| Inheritance | LayoutNode spark.components.SkinnableContainer |
| Subclasses | LayoutModifier, Timeline, TraceLine, TraceLineGroup |
Default MXML PropertymxmlContentFactory
See also
| Property | Defined By | ||
|---|---|---|---|
| layoutXML : XML
The XML descriptor of the sub-layout from this node. | LayoutNode | ||
| parentNode : LayoutNode
A reference to the parent node of this node. | LayoutNode | ||
| _timeline : Timeline
A reference to the timeline
| LayoutNode | ||
| titleComponent : SkinnableContainer
The visual component used to show the title part of the node. | LayoutNode | ||
| Method | Defined By | ||
|---|---|---|---|
addChildAndTitle(child:LayoutNode, index:int = -1):void | LayoutNode | ||
getElementByName(name:String):LayoutNode
Return the layoutNode of a given name in the subtree of this node
| LayoutNode | ||
| LayoutNode | |||
moveTraceline(child:LayoutNode, index:int = -1):void | LayoutNode | ||
onSourceChange(event:CollectionEvent):void | LayoutNode | ||
removeChildAndTitle(child:LayoutNode):void
Remove a child (mostly Traceline)
| LayoutNode | ||
resetObselCollection(obselsCollection:ArrayCollection = null):void | LayoutNode | ||
| _timeline | property |
public var _timeline:TimelineA reference to the timeline
| layoutXML | property |
layoutXML:XMLThe XML descriptor of the sub-layout from this node.
public function get layoutXML():XML public function set layoutXML(value:XML):void| parentNode | property |
public var parentNode:LayoutNodeA reference to the parent node of this node. The children are browsed using the container method (getElementAt...) but we need this reference to walk up the tree.
| titleComponent | property |
public var titleComponent:SkinnableContainerThe visual component used to show the title part of the node. It is a container because titleComponent contains the titleComponent of the node children.
| addChildAndTitle | () | method |
public function addChildAndTitle(child:LayoutNode, index:int = -1):void
Parameters
child:LayoutNode | |
index:int (default = -1) |
| getElementByName | () | method |
public function getElementByName(name:String):LayoutNodeReturn the layoutNode of a given name in the subtree of this node
Parameters
name:String |
LayoutNode — the first element with a given 'name' in the children of this node
|
| getTraceLineGroup | () | method |
public function getTraceLineGroup():TraceLineGroupReturns
TraceLineGroup — the tracelinegroup containing this node
|
| moveTraceline | () | method |
public function moveTraceline(child:LayoutNode, index:int = -1):voidParameters
child:LayoutNode | |
index:int (default = -1) |
| onSourceChange | () | method |
public function onSourceChange(event:CollectionEvent):void
Parameters
event:CollectionEvent |
| removeChildAndTitle | () | method |
public function removeChildAndTitle(child:LayoutNode):voidRemove a child (mostly Traceline)
Parameters
child:LayoutNode |
| resetObselCollection | () | method |
public function resetObselCollection(obselsCollection:ArrayCollection = null):void
Parameters
obselsCollection:ArrayCollection (default = null) |