Package | org.osmf.smpte.tt.timing |
Class | public class TreeType |
Inheritance | TreeType Object |
Subclasses | FormattingObject, TimedTextElementBase, TimeTree |
Property | Defined By | ||
---|---|---|---|
attributes : Vector.<TimedTextAttributeBase> [read-only]
List of attributes associated with this node
| TreeType | ||
begin : TimeCode [read-only]
Get the time at which this element becomes active
| TreeType | ||
children : Vector.<TreeType> [read-only]
List of time trees that are contained within this node
| TreeType | ||
duration : TimeCode [read-only]
Get the time at which this element is no longer active
| TreeType | ||
end : TimeCode [read-only]
Get the time at which this element is no longer active
| TreeType | ||
events : Vector.<TimeCode> [read-only]
return an ordered list of the significant time events
in the time tree. | TreeType | ||
metadata : Dictionary [read-only]
Metadata associated with this node
| TreeType | ||
parent : TreeType
tree node which is the unique parent of this node
| TreeType | ||
timeSemantics : TimeContainer
Specifies whether children are sequential or parallel in time. | TreeType | ||
timing : Dictionary [read-only]
The begin, end and dur times for this node
| TreeType |
Method | Defined By | ||
---|---|---|---|
TreeType | |||
Walk the tree to determine the absolute start and end times of all the elements. | TreeType | ||
temporallyActive(time:TimeCode):Boolean
Test if the tree is active at the given time
| TreeType |
attributes | property |
attributes:Vector.<TimedTextAttributeBase>
[read-only] List of attributes associated with this node
public function get attributes():Vector.<TimedTextAttributeBase>
begin | property |
begin:TimeCode
[read-only] Get the time at which this element becomes active
public function get begin():TimeCode
children | property |
children:Vector.<TreeType>
[read-only] List of time trees that are contained within this node
public function get children():Vector.<TreeType>
duration | property |
duration:TimeCode
[read-only] Get the time at which this element is no longer active
public function get duration():TimeCode
end | property |
end:TimeCode
[read-only] Get the time at which this element is no longer active
public function get end():TimeCode
events | property |
events:Vector.<TimeCode>
[read-only] return an ordered list of the significant time events in the time tree.
public function get events():Vector.<TimeCode>
metadata | property |
metadata:Dictionary
[read-only] Metadata associated with this node
public function get metadata():Dictionary
parent | property |
parent:TreeType
tree node which is the unique parent of this node
public function get parent():TreeType
public function set parent(value:TreeType):void
timeSemantics | property |
timeSemantics:TimeContainer
Specifies whether children are sequential or parallel in time. unless an element overrides, the default is par.
public function get timeSemantics():TimeContainer
public function set timeSemantics(value:TimeContainer):void
timing | property |
timing:Dictionary
[read-only] The begin, end and dur times for this node
public function get timing():Dictionary
TreeType | () | Constructor |
public function TreeType(p_attributes:Vector.<TimedTextAttributeBase> = null, p_children:Vector.<TreeType> = null)
p_attributes:Vector.<TimedTextAttributeBase> (default = null )
| |
p_children:Vector.<TreeType> (default = null )
|
computeTimeIntervals | () | method |
public function computeTimeIntervals(context:TimeContainer, referenceStart:TimeCode, referenceEnd:TimeCode):void
Walk the tree to determine the absolute start and end times of all the elements. the reference times passed in are absolute times, the result of calling this is to set the local start time and end time to absolute times between these two reference times, based on the begin, end and dur attributes and to recursively set all of the children.
Parameters
context:TimeContainer | |
referenceStart:TimeCode | |
referenceEnd:TimeCode |
temporallyActive | () | method |
public function temporallyActive(time:TimeCode):Boolean
Test if the tree is active at the given time
Parameters
time:TimeCode — time of test
|
Boolean |