Packageorg.osmf.smpte.tt.model
Classpublic class TtElement
InheritanceTtElement Inheritance TimedTextElementBase Inheritance TreeType Inheritance Object



Public Properties
 PropertyDefined By
  agents : Dictionary
TtElement
 Inheritedattributes : Vector.<TimedTextAttributeBase>
[read-only] List of attributes associated with this node
TreeType
 Inheritedbegin : TimeCode
[read-only] Get the time at which this element becomes active
TreeType
 Inheritedbody : BodyElement
TimedTextElementBase
 InheritedcachedRegex : Dictionary
[static]
TimedTextElementBase
 Inheritedchildren : Vector.<TreeType>
[read-only] List of time trees that are contained within this node
TreeType
 InheriteddefaultZ : Number = 0.0001
[static]
TimedTextElementBase
 Inheritedduration : TimeCode
[read-only] Get the time at which this element is no longer active
TreeType
 Inheritedend : TimeCode
[read-only] Get the time at which this element is no longer active
TreeType
 Inheritedevents : Vector.<TimeCode>
[read-only] return an ordered list of the significant time events in the time tree.
TreeType
  head : HeadElement
TtElement
 Inheritedid : String
TimedTextElementBase
 Inheritedlanguage : String
TimedTextElementBase
 InheritedlocalName : String
TimedTextElementBase
 Inheritedmetadata : Dictionary
[read-only] Metadata associated with this node
TreeType
 Inheritednamespace : Namespace
TimedTextElementBase
  parameters : Dictionary
TtElement
 Inheritedparent : TreeType
tree node which is the unique parent of this node
TreeType
  regions : Dictionary
TtElement
 Inheritedroot : TtElement
TimedTextElementBase
  styles : Dictionary
TtElement
 InheritedtimeSemantics : TimeContainer
Specifies whether children are sequential or parallel in time.
TreeType
 Inheritedtiming : Dictionary
[read-only] The begin, end and dur times for this node
TreeType
  totalNodeCount : int
TtElement
Public Methods
 MethodDefined By
  
TtElement
 Inherited
clearLocalStyle(property:String):void
Clear local style on this element
TimedTextElementBase
 Inherited
computeTimeIntervals(context:TimeContainer, referenceStart:TimeCode, referenceEnd:TimeCode):void
Walk the tree to determine the absolute start and end times of all the elements.
TreeType
 Inherited
getComputedStyle(propertyName:String, currentRegion:RegionElement):*
Get the final computed value for a style property from this element
TimedTextElementBase
 Inherited
[static] Instantiate one of the TimedText.classes from a string representing its name.
TimedTextElementBase
  
[override] return the root formatting object
TtElement
 Inherited
getInheritedStyle(propertyName:String, currentRegion:RegionElement):Object
Get the computed value for a style property from this element's parent region
TimedTextElementBase
 Inherited
getMetadata(attribute:String):String
Get recorded metadata for the given attribute
TimedTextElementBase
 Inherited
getReferentStyle(property:String):Object
Look up a style property in any referent style elements.
TimedTextElementBase
 Inherited
serialize():String
TimedTextElementBase
 Inherited
setLocalStyle(property:String, value:*):void
Set a local style on this element allows modification at runtime.
TimedTextElementBase
 Inherited
Test if the tree is active at the given time
TreeType
 Inherited
valid():Boolean
Test validity of this subtree
TimedTextElementBase
 Inherited
writeAttributes(writer:XML):void
TimedTextElementBase
 Inherited
writeElement(writer:XML, isRoot:Boolean = false):void
TimedTextElementBase
Protected Methods
 MethodDefined By
 Inherited
error(message:String):void
[static]
TimedTextElementBase
 Inherited
validateAttributes(parameterSet:Boolean, metadataSet:Boolean, styleSet:Boolean, timingSet:Boolean, regionSet:Boolean, timeContainerSet:Boolean):void
Validate attribute classes
TimedTextElementBase
  
[override] Check tt element attribute validity
TtElement
  
[override] Check tt element validity
TtElement
 Inherited
validParameterAttribute(attribute:TimedTextAttributeBase, feature:Boolean = false, value:String):void
Validate a parameter attribute
TimedTextElementBase
 Inherited
[static] Validate a profile attribute
TimedTextElementBase
 Inherited
Validate a region attribute
TimedTextElementBase
 Inherited
Validate a style reference attribute
TimedTextElementBase
 Inherited
Validate a time container attribute
TimedTextElementBase
 Inherited
Validate an XML attribute value
TimedTextElementBase
Property Detail
agentsproperty
agents:Dictionary


Implementation
    public function get agents():Dictionary
    public function set agents(value:Dictionary):void
headproperty 
public var head:HeadElement

parametersproperty 
parameters:Dictionary


Implementation
    public function get parameters():Dictionary
    public function set parameters(value:Dictionary):void
regionsproperty 
regions:Dictionary


Implementation
    public function get regions():Dictionary
    public function set regions(value:Dictionary):void
stylesproperty 
styles:Dictionary


Implementation
    public function get styles():Dictionary
    public function set styles(value:Dictionary):void
totalNodeCountproperty 
totalNodeCount:int


Implementation
    public function get totalNodeCount():int
    public function set totalNodeCount(value:int):void
Constructor Detail
TtElement()Constructor
public function TtElement()



Method Detail
getFormattingObject()method
override public function getFormattingObject(tick:TimeCode):FormattingObject

return the root formatting object

Parameters

tick:TimeCode

Returns
FormattingObject
validAttributes()method 
override protected function validAttributes():void

Check tt element attribute validity

validElements()method 
override protected function validElements():void

Check tt element validity