fi.hut.tml.xsmiles.mlfc.smil.basic
Class ShadowElementImpl

java.lang.Object
  extended byorg.apache.xerces.dom.NodeImpl
      extended byorg.apache.xerces.dom.ChildNode
          extended byorg.apache.xerces.dom.ParentNode
              extended byorg.apache.xerces.dom.ElementImpl
                  extended byorg.apache.xerces.dom.ElementNSImpl
                      extended byfi.hut.tml.xsmiles.dom.XSmilesElementImpl
                          extended byfi.hut.tml.xsmiles.dom.VisualElementImpl
                              extended byfi.hut.tml.xsmiles.mlfc.smil.basic.SMILElementImpl
                                  extended byfi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeControlImpl
                                      extended byfi.hut.tml.xsmiles.mlfc.smil.basic.ElementBasicTimeImpl
                                          extended byfi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeImpl
                                              extended byfi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeContainerImpl
                                                  extended byfi.hut.tml.xsmiles.mlfc.smil.basic.SMILMediaElementImpl
                                                      extended byfi.hut.tml.xsmiles.mlfc.smil.basic.ShadowElementImpl
All Implemented Interfaces:
java.lang.Cloneable, CSSStyleChangeListener, org.w3c.dom.Element, ElementTime, ElementTimeContainer, ElementTimeControl, org.w3c.dom.events.EventListener, org.w3c.dom.events.EventTarget, InitializableElement, MediaListener, org.w3c.dom.Node, org.w3c.dom.NodeList, PseudoClassController, ResourceFetcher, java.io.Serializable, SMILElement, SMILMediaElement, SMILRegionInterface, StylableElement, org.w3c.dom.TypeInfo, VisualComponentService, VisualElement, XElementBasicTime, XSmilesLayoutReference

public class ShadowElementImpl
extends SMILMediaElementImpl

ShadowElementImpl is a "shadow" element, which does not live in the DOM. Its task is to allow the use of SMIL media attributes on a foreign element, e.g. XForms: .
A shadow element is created for each foreign element implementing VisualComponentService under any timed element (ElementBasicTimeImpl). It grabs the Component from VisualComponentService and displays it in the correct region at the correct time. ShadowElementImpls are automatically shown to other SMIL elements in their TimedChildLists. Thus, the other elements treat this element as usual SMILMediaElementImpl.
Note that foreign elements, which are added during run-time, will not currently get a shadow created. The top most element inserted to the live DOM tree must be a SMIL element. Foreign elements under it will get a shadow during run-time.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl
XSmilesElementImpl.PseudoNodeList
 
Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.SMILMediaElementImpl
namespace
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.ElementBasicTimeImpl
accActiveDuration, activateTime, activeDuration, beginTime, clipBeginTime, currentIntervalBegin, currentIntervalEnd, elementForceStartTime, manualRepeat, previousIntervalBegin, previousIntervalEnd, repeatIteration, repeatTime, startupTime, state, STATE_AFTERPLAY, STATE_DESTROYED, STATE_IDLE, STATE_PLAY, STATE_PREFETCHED, STATE_UNINIT, STATE_WAIT, TIMER_ACTIVATE, TIMER_DEACTIVATE, TIMER_SIMPLEDUR, zero
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.SMILElementImpl
smilDoc
 
Fields inherited from class fi.hut.tml.xsmiles.dom.VisualElementImpl
views
 
Fields inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl
DESTROYED, elementStatus, INITIALIZED, INITIALIZING, setPseudoClasses, style, UNINITIALIZED, xblpropname
 
Fields inherited from class org.apache.xerces.dom.ElementNSImpl
localName, namespaceURI
 
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
 
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, UNNORMALIZED
 
Fields inherited from interface org.w3c.dom.smil20.SMILMediaElement
ERASE_NEVER, ERASE_WHENDONE, FILL_FREEZE, FILL_REMOVE, MEDIAREPEAT_PRESERVE, MEDIAREPEAT_STRIP
 
Fields inherited from interface org.w3c.dom.smil20.ElementTime
FILLDEFAULT_AUTO, FILLDEFAULT_FREEZE, FILLDEFAULT_HOLD, FILLDEFAULT_INHERIT, FILLDEFAULT_REMOVE, FILLDEFAULT_TRANSITION, RESTARTDEFAULT_ALWAYS, RESTARTDEFAULT_INHERIT, RESTARTDEFAULT_NEVER, RESTARTDEFAULT_WHEN_NOT_ACTIVE, SYNCBEHAVIOR_CAN_SLIP, SYNCBEHAVIOR_DEFAULT, SYNCBEHAVIOR_INDEPENDENT, SYNCBEHAVIOR_LOCKED, SYNCBEHAVIORDEFAULT_CAN_SLIP, SYNCBEHAVIORDEFAULT_INDEPENDENT, SYNCBEHAVIORDEFAULT_INHERIT, SYNCBEHAVIORDEFAULT_LOCKED
 
Fields inherited from interface org.w3c.dom.smil20.XElementBasicTime
RESTART_ALWAYS, RESTART_NEVER, RESTART_WHEN_NOT_ACTIVE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface fi.hut.tml.xsmiles.dom.VisualComponentService
EVENT_STYLECHANGED
 
Fields inherited from interface org.w3c.dom.smil20.ElementTimeContainer
FILL_FREEZE, FILL_REMOVE
 
Constructor Summary
ShadowElementImpl(org.apache.xerces.dom.DocumentImpl owner, SMILDocumentImpl smil, java.lang.String ns, java.lang.String tag, org.w3c.dom.Element real)
          Constructor - set the owner
 
Method Summary
 java.lang.String getAbstractAttr()
          See the abstract attribute from .
 java.lang.String getAuthor()
          See the author attribute from .
 java.lang.String getBegin()
          The desired value (as a list of times) of the begin instant of this node.
 java.lang.String getClipBegin()
          See the clipBegin attribute from .
 java.lang.String getClipEnd()
          See the clipEnd attribute from .
 java.awt.Component getComponent()
          Return the visual component for this extension element
 java.lang.String getCopyright()
          See the copyright attribute from .
 Time getDur()
          The desired simple duration value of this node in seconds.
 java.lang.String getEnd()
          The list of active ends for this node.
 short getErase()
          See the erase attribute.
 java.lang.String getFill()
          A code representing the value of the fill attribute, as defined above.
 Time getMax()
          The minimum play time for this element in milliseconds.
 short getMediaRepeat()
          See the mediaRepeat attribute.
 Time getMin()
          The minimum play time for this element in milliseconds.
 org.w3c.dom.Node getParentNode()
          Overrides get parent, so that shadow element's actual parent is realElement's parent.
 java.lang.String getReadIndex()
          See the readIndex attribute from .
 SMILRegionElement getRegionElement()
          Two ways to change the region.
 MyFloat getRepeat()
          The repeat causes the element to play repeatedly (loop) for the specified duration in milliseconds.
 java.lang.String getRepeatCount()
          The repeatCount attribute causes the element to play repeatedly (loop) for the specified number of times.
 Time getRepeatDur()
          The repeatDur causes the element to play repeatedly (loop) for the specified duration in seconds.
 short getRestart()
          A code representing the value of the restart attribute, as defined above.
 java.awt.Dimension getSize()
          Returns the approximate size of this extension element
 java.lang.String getSrc()
          See the src attribute from .
 int getTabindex()
          See the tabindex attribute in LinkingAttributes module.
 java.lang.String getTransIn()
          See the transIn attribute in transition effects module.
 java.lang.String getTransOut()
          See the transOut attribute in transition effects module.
 java.lang.String getType()
          See the type attribute from .
 boolean getVisible()
           
 void initMedia()
          Creates a foreign handler instead of media handler.
 void removeAttribute(java.lang.String name)
           
 void setAttribute(java.lang.String name, java.lang.String value)
           
 org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr)
           
 void setAttributeNS(java.lang.String ns, java.lang.String name, java.lang.String value)
           
protected  void setAttributeValue(java.lang.String name, java.lang.String value)
           
 void setVisible(boolean visible)
           
 void setZoom(double zoom)
           
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.SMILMediaElementImpl
childEnded, destroy, display, freeze, getMedia, init, isStatic, mediaEnded, mediaPrefetched, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, prefetch, remove, repeat, setAbstractAttr, setAuthor, setClipBegin, setClipEnd, setCopyright, setErase, setFill, setMediaRepeat, setReadIndex, setRegion, setRegion, setSrc, setTabindex, setTransIn, setTransOut, setType, startup, visualEvent
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeContainerImpl
getActiveChildrenAt, getRegion
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeImpl
getFillDefault, getRestartDefault, getSyncBehavior, getSyncBehaviorDefault, getSyncTolerance, getSyncToleranceDefault, setFillDefault, setRestartDefault, setSyncBehavior, setSyncBehaviorDefault, setSyncTolerance, setSyncToleranceDefault
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.ElementBasicTimeImpl
ACAdd, activate, addIntervalBeginListener, addIntervalEndListener, addNewIntervalListener, addTime, beginElement, beginElementAt, closeChildren, closedown, computeSimpleDuration, deactivate, defaultBegin, endElement, endElementAt, getBeginList, getCurrentIntervalBegin, getCurrentIntervalEnd, getCurrentParentTime, getEndList, getState, getTimeChildren, getTimeInBodyTime, getTimeInParentTime, hasStarted, immediateIntervalEnd, isActive, isChildStartable, isResolved, isStartable, notifyBeginListeners, notifyEndListeners, notifyNewIntervalListeners, reevaluateIntervalBegin, reevaluateIntervalEnd, removeFreeze, repeatRemoveFreeze, resolveSeekTime, restartelement, restartelementparent, setBegin, setCurrentIntervalBegin, setCurrentIntervalEnd, setDur, setEnd, setForceStartTime, setMax, setMin, setRepeat, setRepeatCount, setRepeatDur, setRestart, simpleDurEnded, startChildren, timeContainerHasEnded
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeControlImpl
getShadowElement, getStyleAttrValue, getStyleString, pauseElement, resumeElement, seekElement
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.SMILElementImpl
dispatch, getAlt, getClassName, getId, getLongdesc, getOwnerDoc, getSMILDoc, getTitle, setAlt, setClassName, setId, setLongdesc, setTitle
 
Methods inherited from class fi.hut.tml.xsmiles.dom.VisualElementImpl
addView, belongsToTree, getViews, handleEvent, insertBefore, isCurrentlyVisible, isFocusPoint, isPseudoClass, isVisibleByCSSProperties, notifyPseudoRemoved, removeAllViews, removeChild, replaceChild, setStatus, styleChanged, updateViews
 
Methods inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl
addBinding, addUndistributedChild, clone, clonePseudoElements, cloneSubtree, debugNode, debugNode, dispatchEventInMainThread, get, getApplyBindingSheets, getAuthorSheets, getChildNodes, getElementStatus, getOriginalClone, getPseudoClass, getResourceReferencer, getRuleNode, getStyle, getText, getText, getUndistributedChildNodes, getXblImplementations, hasBinding, hasStyle, initFinalFlattenedTree, initStyle, isInitedForReset, removeBinding, removeUndistributedChild, replaceNode, resetFinalFlattenedTree, resolveURI, searchElementWithId, searchElementWithId, setApplyBindingSheets, setAuthorSheets, setPseudoClass, setRuleNode, setStyle, updateStyle
 
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, setPrefix, setType, setValues
 
Methods inherited from class org.apache.xerces.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttributeNode, removeAttributeNS, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
 
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
 
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getPreviousSibling
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.smil20.SMILMediaElement
getAlt, getLongdesc, getTitle, setAlt, setLongdesc, setTitle
 
Methods inherited from interface org.w3c.dom.smil20.ElementTime
getFillDefault, getRestartDefault, getSyncBehavior, getSyncBehaviorDefault, getSyncTolerance, getSyncToleranceDefault, setFillDefault, setRestartDefault, setSyncBehavior, setSyncBehaviorDefault, setSyncTolerance, setSyncToleranceDefault
 
Methods inherited from interface org.w3c.dom.smil20.XElementBasicTime
activate, closedown, deactivate, getCurrentIntervalBegin, getTimeInBodyTime, hasStarted, isActive, setBegin, setDur, setEnd, setMax, setMin, setRepeat, setRepeatCount, setRepeatDur, setRestart
 
Methods inherited from interface org.w3c.dom.smil20.ElementTimeControl
beginElement, beginElementAt, endElement, endElementAt, pauseElement, resumeElement, seekElement
 
Methods inherited from interface org.w3c.dom.smil20.SMILElement
getClassName, getId, setClassName, setId
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttributeNode, removeAttributeNS, setAttributeNodeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from interface org.w3c.dom.smil20.ElementTimeContainer
getTimeChildren
 
Methods inherited from interface fi.hut.tml.xsmiles.dom.StylableElement
getRuleNode, getStyle, hasStyle, isPseudoClass, setRuleNode, setStyle
 
Methods inherited from interface fi.hut.tml.xsmiles.dom.VisualElement
getStyle
 
Methods inherited from interface fi.hut.tml.xsmiles.dom.PseudoClassController
getPseudoClass, setPseudoClass
 

Constructor Detail

ShadowElementImpl

public ShadowElementImpl(org.apache.xerces.dom.DocumentImpl owner,
                         SMILDocumentImpl smil,
                         java.lang.String ns,
                         java.lang.String tag,
                         org.w3c.dom.Element real)
Constructor - set the owner

Parameters:
real - The real foreign element in the DOM
Method Detail

getParentNode

public org.w3c.dom.Node getParentNode()
Overrides get parent, so that shadow element's actual parent is realElement's parent. Thus, we fake that this Shadow is part of the DOM tree, while it isn't.


getComponent

public java.awt.Component getComponent()
Return the visual component for this extension element

Specified by:
getComponent in interface VisualComponentService
Overrides:
getComponent in class SMILMediaElementImpl

getSize

public java.awt.Dimension getSize()
Returns the approximate size of this extension element

Specified by:
getSize in interface VisualComponentService
Overrides:
getSize in class SMILMediaElementImpl

setZoom

public void setZoom(double zoom)
Specified by:
setZoom in interface VisualComponentService
Overrides:
setZoom in class SMILMediaElementImpl

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface VisualComponentService
Overrides:
setVisible in class SMILMediaElementImpl

getVisible

public boolean getVisible()
Specified by:
getVisible in interface VisualComponentService
Overrides:
getVisible in class SMILMediaElementImpl

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value)
Specified by:
setAttribute in interface org.w3c.dom.Element
Overrides:
setAttribute in class SMILMediaElementImpl

setAttributeNS

public void setAttributeNS(java.lang.String ns,
                           java.lang.String name,
                           java.lang.String value)
Specified by:
setAttributeNS in interface org.w3c.dom.Element
Overrides:
setAttributeNS in class SMILMediaElementImpl

setAttributeNode

public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr)
                                  throws org.w3c.dom.DOMException
Specified by:
setAttributeNode in interface org.w3c.dom.Element
Overrides:
setAttributeNode in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException

setAttributeValue

protected void setAttributeValue(java.lang.String name,
                                 java.lang.String value)
Overrides:
setAttributeValue in class SMILMediaElementImpl

removeAttribute

public void removeAttribute(java.lang.String name)
Specified by:
removeAttribute in interface org.w3c.dom.Element
Overrides:
removeAttribute in class SMILMediaElementImpl

initMedia

public void initMedia()
Creates a foreign handler instead of media handler.

Overrides:
initMedia in class SMILMediaElementImpl

getRegionElement

public SMILRegionElement getRegionElement()
Description copied from interface: SMILRegionInterface
Two ways to change the region.

Specified by:
getRegionElement in interface SMILRegionInterface
Overrides:
getRegionElement in class SMILMediaElementImpl

getFill

public java.lang.String getFill()
A code representing the value of the fill attribute, as defined above. Default value is FILL_REMOVE .

Specified by:
getFill in interface SMILMediaElement
Overrides:
getFill in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getAbstractAttr

public java.lang.String getAbstractAttr()
See the abstract attribute from .

Specified by:
getAbstractAttr in interface SMILMediaElement
Overrides:
getAbstractAttr in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getAuthor

public java.lang.String getAuthor()
See the author attribute from .

Specified by:
getAuthor in interface SMILMediaElement
Overrides:
getAuthor in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getCopyright

public java.lang.String getCopyright()
See the copyright attribute from .

Specified by:
getCopyright in interface SMILMediaElement
Overrides:
getCopyright in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getClipBegin

public java.lang.String getClipBegin()
See the clipBegin attribute from .

Specified by:
getClipBegin in interface SMILMediaElement
Overrides:
getClipBegin in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getClipEnd

public java.lang.String getClipEnd()
See the clipEnd attribute from .

Specified by:
getClipEnd in interface SMILMediaElement
Overrides:
getClipEnd in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getReadIndex

public java.lang.String getReadIndex()
See the readIndex attribute from .

Specified by:
getReadIndex in interface SMILMediaElement
Overrides:
getReadIndex in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getSrc

public java.lang.String getSrc()
See the src attribute from .

Specified by:
getSrc in interface SMILMediaElement
Overrides:
getSrc in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getType

public java.lang.String getType()
See the type attribute from .

Specified by:
getType in interface SMILMediaElement
Overrides:
getType in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getErase

public short getErase()
See the erase attribute.

Specified by:
getErase in interface SMILMediaElement
Overrides:
getErase in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getMediaRepeat

public short getMediaRepeat()
See the mediaRepeat attribute.

Specified by:
getMediaRepeat in interface SMILMediaElement
Overrides:
getMediaRepeat in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getTabindex

public int getTabindex()
See the tabindex attribute in LinkingAttributes module.

Specified by:
getTabindex in interface SMILMediaElement
Overrides:
getTabindex in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getTransIn

public java.lang.String getTransIn()
See the transIn attribute in transition effects module.

Specified by:
getTransIn in interface SMILMediaElement
Overrides:
getTransIn in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getTransOut

public java.lang.String getTransOut()
See the transOut attribute in transition effects module.

Specified by:
getTransOut in interface SMILMediaElement
Overrides:
getTransOut in class SMILMediaElementImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getBegin

public java.lang.String getBegin()
The desired value (as a list of times) of the begin instant of this node. If not found, default time 0s is returned.

Specified by:
getBegin in interface XElementBasicTime
Overrides:
getBegin in class ElementBasicTimeImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getEnd

public java.lang.String getEnd()
The list of active ends for this node.

Specified by:
getEnd in interface XElementBasicTime
Overrides:
getEnd in class ElementBasicTimeImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getDur

public Time getDur()
The desired simple duration value of this node in seconds. Note that this returns a Time, not a String. Therefore, dur="media" is returned as null.

Specified by:
getDur in interface XElementBasicTime
Overrides:
getDur in class ElementBasicTimeImpl
Returns:
Time object, which can have a value, be indefinite or null. Null means unspecified.
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getRestart

public short getRestart()
A code representing the value of the restart attribute, as defined above. Default value is RESTART_ALWAYS .

Specified by:
getRestart in interface XElementBasicTime
Overrides:
getRestart in class ElementBasicTimeImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getRepeatCount

public java.lang.String getRepeatCount()
The repeatCount attribute causes the element to play repeatedly (loop) for the specified number of times. A negative value repeat the element indefinitely. Default value is 0 (unspecified).

Specified by:
getRepeatCount in interface XElementBasicTime
Overrides:
getRepeatCount in class ElementBasicTimeImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getRepeatDur

public Time getRepeatDur()
The repeatDur causes the element to play repeatedly (loop) for the specified duration in seconds.

Specified by:
getRepeatDur in interface XElementBasicTime
Overrides:
getRepeatDur in class ElementBasicTimeImpl
Returns:
Time object, which can have a value, be indefinite or null. Null means unspecified.
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getRepeat

public MyFloat getRepeat()
The repeat causes the element to play repeatedly (loop) for the specified duration in milliseconds.

Specified by:
getRepeat in interface XElementBasicTime
Overrides:
getRepeat in class ElementBasicTimeImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getMin

public Time getMin()
The minimum play time for this element in milliseconds. Negative means "indefinite".

Specified by:
getMin in interface XElementBasicTime
Overrides:
getMin in class ElementBasicTimeImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

getMax

public Time getMax()
The minimum play time for this element in milliseconds. Negative means "indefinite".

Specified by:
getMax in interface XElementBasicTime
Overrides:
getMax in class ElementBasicTimeImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.


X-Smiles 1.2