Package | org.osmf.smpte.tt.captions |
Class | public class CaptionElement |
Inheritance | CaptionElement ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | animations : Vector.<TimedTextElement> [read-only]
Gets or sets the list of animations to be applied to this element. | TimedTextElement | |
![]() | begin : Number [read-only]
The start time in seconds. | TimedTextElement | |
![]() | captionElementType : TimedTextElementType
Gets or sets the type of this caption element. | TimedTextElement | |
![]() | children : Vector.<TimedTextElement> [read-only] | TimedTextElement | |
![]() | content : *
Gets or sets the text associated with this marker. | TimedTextElement | |
![]() | currentStyle : TimedTextStyle
Gets or sets the current style of this element. | TimedTextElement | |
![]() | end : Number [read-only]
The end time in seconds. | TimedTextElement | |
![]() | hasAnimations : Boolean [read-only] | TimedTextElement | |
![]() | id : String
Gets or sets a unique identifier for the marker. | TimedTextElement | |
index : int | CaptionElement | ||
![]() | parentElement : *
Gets or sets the text associated with this marker. | TimedTextElement | |
regionId : String | CaptionElement | ||
![]() | siblings : Vector.<TimedTextElement> [read-only] | TimedTextElement | |
![]() | style : TimedTextStyle
Gets or sets the Style to be applied to this element. | TimedTextElement | |
![]() | type : String
Gets or sets the type to be applied to this element. | TimedTextElement |
Method | Defined By | ||
---|---|---|---|
CaptionElement(start:Number, end:Number, id:String = null) | CaptionElement | ||
![]() | calculateCurrentStyle(position:Number):void | TimedTextElement | |
![]() | isActiveAtPosition(position:Number, round:Boolean = false):Boolean | TimedTextElement | |
![]() | IsActiveAtPosition(tte:TimedTextElement, position:Number, round:Boolean = false):Boolean [static] | TimedTextElement | |
![]() | isActiveInRange(rangeStart:Number, rangeEnd:Number):Boolean | TimedTextElement | |
![]() | IsActiveInRange(tte:TimedTextElement, rangeStart:Number, rangeEnd:Number):Boolean [static] | TimedTextElement | |
![]() | isContainedByRange(rangeStart:Number, rangeEnd:Number):Boolean | TimedTextElement | |
![]() | IsContainedByRange(tte:TimedTextElement, rangeStart:Number, rangeEnd:Number):Boolean [static] | TimedTextElement | |
toString():String | CaptionElement | ||
![]() | [static] | TimedTextElement |
index | property |
index:int
public function get index():int
public function set index(value:int):void
regionId | property |
regionId:String
public function get regionId():String
public function set regionId(value:String):void
CaptionElement | () | Constructor |
public function CaptionElement(start:Number, end:Number, id:String = null)
Parameters
start:Number | |
end:Number | |
id:String (default = null )
|
toString | () | method |
public function toString():String
ReturnsString |