previous   next   contents   index

WD-smil-boston-dom-19991115

Appendix C: ECMA Script Language Binding

This appendix contains the complete ECMA Script binding for the SYMM Object Model definitions. The definitions are divided into SMIL.

C.1: SMIL Document Object Model

Object SMILDocument
SMILDocument has the all the properties and methods of Document as well as the properties and methods defined below.
Object SMILElement
SMILElement has the all the properties and methods of Element as well as the properties and methods defined below.
The SMILElement object has the following properties:
id
This property is of type String.
Object SMILMetaElement
SMILMetaElement has the all the properties and methods of SMILElement as well as the properties and methods defined below.
The SMILMetaElement object has the following properties:
content
This property is of type String.
name
This property is of type String.
skipContent
This property is of type String.
Object SMILLayoutElement
SMILLayoutElement has the all the properties and methods of SMILElement as well as the properties and methods defined below.
The SMILLayoutElement object has the following properties:
type
This property is of type String.
Object SMILRootLayoutElement
SMILRootLayoutElement has the all the properties and methods of SMILElement as well as the properties and methods defined below.
The SMILRootLayoutElement object has the following properties:
title
This property is of type String.
skipContent
This property is of type String.
backgroundColor
This property is of type String.
height
This property is of type long.
width
This property is of type long.
Object SMILRegionElement
SMILRegionElement has the all the properties and methods of SMILElement as well as the properties and methods defined below.
The SMILRegionElement object has the following properties:
title
This property is of type String.
skipContent
This property is of type String.
fit
This property is of type String.
backgroundColor
This property is of type String.
height
This property is of type long.
width
This property is of type long.
top
This property is of type String.
zIndex
This property is of type long.
Object SMILRegionInterface
The SMILRegionInterface object has the following properties:
region
This property is of type SMILRegionElement.
Object Time
The Time object has the following properties:
resolved
This property is of type boolean.
resolvedOffset
This property is of type double.
timeType
This property is of type short.
offset
This property is of type double.
baseElement
This property is of type Element.
baseBegin
This property is of type boolean.
event
This property is of type String.
marker
This property is of type String.
Object TimeList
The TimeList object has the following properties:
length
This property is of type int.
The TimeList object has the following methods:
item(index)
This method returns a Time. The index parameter is of type unsigned long. This object can also be dereferenced using square bracket notation (e.g. obj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index.
Object ElementTime
The ElementTime object has the following properties:
begin
This property is of type TimeList.
end
This property is of type TimeList.
dur
This property is of type float.
repeatCount
This property is of type float.
repeatDur
This property is of type long.
The ElementTime object has the following methods:
beginElement()
This method returns a boolean.
endElement()
This method returns a boolean.
pauseElement()
This method returns a void.
resumeElement()
This method returns a void.
seekElement(seekTo)
This method returns a void. The seekTo parameter is of type DOMString.
Object ElementTimeManipulation
The ElementTimeManipulation object has the following properties:
speed
This property is of type float.
accelerate
This property is of type float.
decelerate
This property is of type float.
autoReverse
This property is of type boolean.
Object ElementTimeSynchronization
The ElementTimeSynchronization object has the following properties:
syncBehavior
This property is of type String.
syncTolerance
This property is of type float.
defaultSyncBehavior
This property is of type String.
defaultSyncTolerance
This property is of type float.
syncMaster
This property is of type boolean.
Object ElementTimeContainer
ElementTimeContainer has the all the properties and methods of ElementTime as well as the properties and methods defined below.
The ElementTimeContainer object has the following properties:
timeChildrens
This property is of type NodeList.
The ElementTimeContainer object has the following methods:
getActiveChildrenAt(instant)
This method returns a NodeList. The instant parameter is of type DOMString.
Object ElementParallelTimeContainer
ElementParallelTimeContainer has the all the properties and methods of ElementTimeContainer as well as the properties and methods defined below.
The ElementParallelTimeContainer object has the following properties:
endSync
This property is of type String.
Object ElementSequentialTimeContainer
ElementSequentialTimeContainer has the all the properties and methods of ElementTimeContainer as well as the properties and methods defined below.
Object ElementExclusiveTimeContainer
ElementExclusiveTimeContainer has the all the properties and methods of ElementTimeContainer as well as the properties and methods defined below.
The ElementExclusiveTimeContainer object has the following properties:
endSync
This property is of type String.
Object SMILMediaElement
SMILMediaElement has the all the properties and methods of ElementTime SMILElement as well as the properties and methods defined below.
The SMILMediaElement object has the following properties:
abstractAttr
This property is of type String.
alt
This property is of type String.
author
This property is of type String.
clipBegin
This property is of type String.
clipEnd
This property is of type String.
copyright
This property is of type String.
longdesc
This property is of type String.
src
This property is of type String.
title
This property is of type String.
type
This property is of type String.
Object SMILRefElement
SMILRefElement has the all the properties and methods of SMILMediaElement as well as the properties and methods defined below.
Object ElementTimeControl
The ElementTimeControl object has the following methods:
beginElement()
This method returns a boolean.
endElement()
This method returns a boolean.
Object ElementAnimation
ElementAnimation has the all the properties and methods of ElementTime ElementTimeControl as well as the properties and methods defined below.
The ElementAnimation object has the following properties:
targetElement
This property is of type Element.
href
This property is of type String.
Object SMILAnimateElement
SMILAnimateElement has the all the properties and methods of ElementAnimation SMILElement as well as the properties and methods defined below.
The SMILAnimateElement object has the following properties:
keyTimes
This property is of type TimeList.
keySplines
This property is of type TimeList.
Object SMILSetElement
SMILSetElement has the all the properties and methods of ElementAnimation SMILElement as well as the properties and methods defined below.
Object SMILAnimateMotionElement
SMILAnimateMotionElement has the all the properties and methods of SMILAnimateElement as well as the properties and methods defined below.
The SMILAnimateMotionElement object has the following properties:
path
This property is of type String.
origin
This property is of type String.
Object SMILSwitchElement
SMILSwitchElement has the all the properties and methods of SMILElement as well as the properties and methods defined below.
The SMILSwitchElement object has the following properties:
title
This property is of type String.
Object ElementTest
The ElementTest object has the following properties:
systemBitrate
This property is of type String.
systemCaptions
This property is of type String.
systemLanguage
This property is of type String.
systemOverdubOrCaption
This property is of type String.
systemRequired
This property is of type String.
systemScreenSize
This property is of type String.
systemScreenDepth
This property is of type String.

previous   next   contents   index