Package | com.ithaca.timeline |
Class | public class LayoutModifier |
Inheritance | LayoutModifier LayoutNode spark.components.SkinnableContainer |
The only implemented layout modifier creates Tracelines
according to a given obsel property. It is commonly used with
the type
property for instance.
Default MXML PropertymxmlContentFactory
See also
Property | Defined By | ||
---|---|---|---|
autohide : Boolean = false | LayoutModifier | ||
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 | ||
source : String = parent | LayoutModifier | ||
_splitter : String = null
Name of the obsel property used to split the obsels source
| LayoutModifier | ||
_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 | ||
---|---|---|---|
LayoutModifier | |||
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 [override] | LayoutModifier | ||
removeChildAndTitle(child:LayoutNode):void
Remove a child (mostly Traceline)
| LayoutNode | ||
resetObselCollection(obselsCollection:ArrayCollection = null):void [override]
(Re)check every obsel of the source. | LayoutModifier | ||
splitBy():String | LayoutModifier |
_splitter | property |
public var _splitter:String = null
Name of the obsel property used to split the obsels source
autohide | property |
source | property |
LayoutModifier | () | Constructor |
onSourceChange | () | method |
override public function onSourceChange(event:CollectionEvent):void
Parameters
event:CollectionEvent |
resetObselCollection | () | method |
override public function resetObselCollection(obselsCollection:ArrayCollection = null):void
(Re)check every obsel of the source.
Parameters
obselsCollection:ArrayCollection (default = null )
|
splitBy | () | method |
public function splitBy():String
Returns
String — the property used to split the trace
|