Package | org.osmf.smpte.tt.model.parameter |
Class | public class ParameterElement |
Inheritance | ParameterElement ![]() ![]() ![]() |
Subclasses | ExtensionElement, ExtensionsElement, FeatureElement, FeaturesElement, ProfileElement |
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 | |
![]() | body : BodyElement | TimedTextElementBase | |
![]() | cachedRegex : Dictionary [static] | TimedTextElementBase | |
![]() | children : Vector.<TreeType> [read-only]
List of time trees that are contained within this node
| TreeType | |
![]() | defaultZ : Number = 0.0001 [static] | TimedTextElementBase | |
![]() | 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 | |
extensions : Dictionary [static] | ParameterElement | ||
features : Dictionary [static] | ParameterElement | ||
![]() | id : String | TimedTextElementBase | |
![]() | language : String | TimedTextElementBase | |
![]() | localName : String | TimedTextElementBase | |
![]() | metadata : Dictionary [read-only]
Metadata associated with this node
| TreeType | |
![]() | namespace : Namespace | TimedTextElementBase | |
nonFeatures : Vector.<String> [static] [read-only] | ParameterElement | ||
![]() | parent : TreeType
tree node which is the unique parent of this node
| TreeType | |
presentationProfile : Dictionary [static] | ParameterElement | ||
profile : Vector.<FeatureValue> [static] | ParameterElement | ||
![]() | root : TtElement | TimedTextElementBase | |
![]() | 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 | |
transformProfile : Dictionary [static] | ParameterElement |
Method | Defined By | ||
---|---|---|---|
ParameterElement | |||
![]() | clearLocalStyle(property:String):void
Clear local style on this element
| TimedTextElementBase | |
![]() |
Walk the tree to determine the absolute start and end times of all the elements. | TreeType | |
![]() | getComputedStyle(propertyName:String, currentRegion:RegionElement):*
Get the final computed value for a style property from this element
| TimedTextElementBase | |
![]() | getElementFromName(elem:String):TimedTextElementBase [static]
Instantiate one of the TimedText.classes from a string representing its name. | TimedTextElementBase | |
![]() |
sub classes need to override this. | TimedTextElementBase | |
![]() | getInheritedStyle(propertyName:String, currentRegion:RegionElement):Object
Get the computed value for a style property from this element's parent region
| TimedTextElementBase | |
![]() | getMetadata(attribute:String):String
Get recorded metadata for the given attribute
| TimedTextElementBase | |
![]() | getReferentStyle(property:String):Object
Look up a style property in any referent style elements. | TimedTextElementBase | |
initializeParameters():void [static] | ParameterElement | ||
![]() | serialize():String | TimedTextElementBase | |
![]() | setLocalStyle(property:String, value:*):void
Set a local style on this element allows modification at runtime. | TimedTextElementBase | |
setProfile(profileXML:XML):void [static] | ParameterElement | ||
setStaticProfiles(transform:XML, presentation:XML):void [static] | ParameterElement | ||
![]() | temporallyActive(time:TimeCode):Boolean
Test if the tree is active at the given time
| TreeType | |
![]() | valid():Boolean
Test validity of this subtree
| TimedTextElementBase | |
![]() | writeAttributes(writer:XML):void | TimedTextElementBase | |
![]() | writeElement(writer:XML, isRoot:Boolean = false):void | TimedTextElementBase |
Method | Defined By | ||
---|---|---|---|
baseAttributeValue():String | ParameterElement | ||
![]() | error(message:String):void [static] | TimedTextElementBase | |
![]() | validateAttributes(parameterSet:Boolean, metadataSet:Boolean, styleSet:Boolean, timingSet:Boolean, regionSet:Boolean, timeContainerSet:Boolean):void
Validate attribute classes
| TimedTextElementBase | |
![]() | validAttributes():void
Test whether an element's attributes are allowed by Timed Text
| TimedTextElementBase | |
![]() | validElements():void
Test whether an element's content model, and all its descendants are valid Timed Text
| TimedTextElementBase | |
validParameterAttribute(attribute:TimedTextAttributeBase, feature:Boolean = false, value:String):void [override] | ParameterElement | ||
![]() | validProfileAttribute(attribute:TimedTextAttributeBase):void [static]
Validate a profile attribute
| TimedTextElementBase | |
![]() | validRegionAttribute(attribute:TimedTextAttributeBase):void
Validate a region attribute
| TimedTextElementBase | |
![]() | validStyleReference(attribute:TimedTextAttributeBase):void
Validate a style reference attribute
| TimedTextElementBase | |
![]() | validTimeContainerAttribute(attribute:TimedTextAttributeBase):void
Validate a time container attribute
| TimedTextElementBase | |
![]() | validXmlAttributeValue(attribute:TimedTextAttributeBase):void
Validate an XML attribute value
| TimedTextElementBase |
extensions | property |
public static var extensions:Dictionary
features | property |
public static var features:Dictionary
nonFeatures | property |
nonFeatures:Vector.<String>
[read-only] public static function get nonFeatures():Vector.<String>
presentationProfile | property |
public static var presentationProfile:Dictionary
profile | property |
public static var profile:Vector.<FeatureValue>
transformProfile | property |
public static var transformProfile:Dictionary
ParameterElement | () | Constructor |
public function ParameterElement()
baseAttributeValue | () | method |
protected function baseAttributeValue():String
ReturnsString |
initializeParameters | () | method |
public static function initializeParameters():void
setProfile | () | method |
public static function setProfile(profileXML:XML):void
Parameters
profileXML:XML |
setStaticProfiles | () | method |
public static function setStaticProfiles(transform:XML, presentation:XML):void
Parameters
transform:XML | |
presentation:XML |
validParameterAttribute | () | method |
override protected function validParameterAttribute(attribute:TimedTextAttributeBase, feature:Boolean = false, value:String):void
Parameters
attribute:TimedTextAttributeBase | |
feature:Boolean (default = false )
| |
value:String |