Package | org.osmf.smpte.tt.model |
Class | public class RegionElement |
Inheritance | RegionElement ![]() ![]() ![]() |
Method | Defined By | ||
---|---|---|---|
RegionElement | |||
![]() | 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 | |
[override]
Return formatting object for region element
| RegionElement | ||
![]() | 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 | |
![]() | serialize():String | TimedTextElementBase | |
![]() | setLocalStyle(property:String, value:*):void
Set a local style on this element allows modification at runtime. | TimedTextElementBase | |
![]() | 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 | ||
---|---|---|---|
![]() | 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 [override]
Check validity of region element attributes
| RegionElement | ||
validElements():void [override]
Check validity of region element content model
| RegionElement | ||
![]() | validParameterAttribute(attribute:TimedTextAttributeBase, feature:Boolean = false, value:String):void
Validate a parameter attribute
| TimedTextElementBase | |
![]() | 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 |
Constant | Defined By | ||
---|---|---|---|
DEFAULT_REGION_NAME : String = default region [static]
Name for region if none is specified
| RegionElement |
RegionElement | () | Constructor |
public function RegionElement()
getFormattingObject | () | method |
override public function getFormattingObject(tick:TimeCode):FormattingObject
Return formatting object for region element
Parameters
tick:TimeCode |
FormattingObject |
validAttributes | () | method |
override protected function validAttributes():void
Check validity of region element attributes
validElements | () | method |
override protected function validElements():void
Check validity of region element content model
DEFAULT_REGION_NAME | Constant |
public static const DEFAULT_REGION_NAME:String = default region
Name for region if none is specified