Packagecom.ithaca.timeline
Classpublic class LayoutModifier
InheritanceLayoutModifier Inheritance LayoutNode Inheritance spark.components.SkinnableContainer

The LayoutModifier is a layout node which dynamicaly creates Tracelines when needed. Tracelines are created at the same layout level as the layoutModifier.

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

Layout


Public Properties
 PropertyDefined By
  autohide : Boolean = false
LayoutModifier
 InheritedlayoutXML : XML
The XML descriptor of the sub-layout from this node.
LayoutNode
 InheritedparentNode : 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
 Inherited_timeline : Timeline
A reference to the timeline
LayoutNode
 InheritedtitleComponent : SkinnableContainer
The visual component used to show the title part of the node.
LayoutNode
Public Methods
 MethodDefined By
  
LayoutModifier
 Inherited
addChildAndTitle(child:LayoutNode, index:int = -1):void
LayoutNode
 Inherited
Return the layoutNode of a given name in the subtree of this node
LayoutNode
 Inherited
LayoutNode
 Inherited
moveTraceline(child:LayoutNode, index:int = -1):void
LayoutNode
  
onSourceChange(event:CollectionEvent):void
[override]
LayoutModifier
 Inherited
Remove a child (mostly Traceline)
LayoutNode
  
resetObselCollection(obselsCollection:ArrayCollection = null):void
[override] (Re)check every obsel of the source.
LayoutModifier
  
splitBy():String
LayoutModifier
Property Detail
_splitterproperty
public var _splitter:String = null

Name of the obsel property used to split the obsels source

autohideproperty 
public var autohide:Boolean = false

See also

sourceproperty 
public var source:String = parent

See also

Constructor Detail
LayoutModifier()Constructor
public function LayoutModifier(tl:Timeline)



Parameters
tl:Timeline
Method Detail
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