|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
fi.hut.tml.xsmiles.dom.XSmilesElementImpl
fi.hut.tml.xsmiles.dom.VisualElementImpl
fi.hut.tml.xsmiles.mlfc.smil.basic.SMILElementImpl
fi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeControlImpl
fi.hut.tml.xsmiles.mlfc.smil.basic.ElementBasicTimeImpl
fi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeImpl
fi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeContainerImpl
fi.hut.tml.xsmiles.mlfc.smil.basic.SMILMediaElementImpl
Declares media content.
| Nested Class Summary |
| Nested classes inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl |
XSmilesElementImpl.PseudoNodeList |
| Field Summary | |
protected java.lang.String |
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.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 | |
SMILMediaElementImpl(org.apache.xerces.dom.DocumentImpl owner,
SMILDocumentImpl smil,
java.lang.String ns,
java.lang.String tag)
Constructor - set the owner |
|
| Method Summary | |
void |
childEnded(long childDuration)
This is called from the child to tell that it has ended. |
void |
destroy()
This method will destroy the element, freeing all its memory. |
void |
display()
Overridden display() - this will also show the media. |
void |
freeze()
This is called to freeze the element |
java.lang.String |
getAbstractAttr()
See the abstract attribute from . |
java.lang.String |
getAuthor()
See the author attribute from . |
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 . |
short |
getErase()
See the erase attribute. |
java.lang.String |
getFill()
A code representing the value of the fill attribute, as defined above. |
MediaHandler |
getMedia()
|
short |
getMediaRepeat()
See the mediaRepeat attribute. |
java.lang.String |
getReadIndex()
See the readIndex attribute from . |
SMILRegionElement |
getRegionElement()
Two ways to change the region. |
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 |
init()
Initialize this media element. |
void |
initMedia()
|
boolean |
isStatic()
Checks if media is static or continuous (video/audio). |
void |
mediaEnded()
Callback method - called when the media has ended. |
void |
mediaPrefetched()
Called when the media has been prefetched. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Mouse events. |
void |
mouseEntered()
|
void |
mouseExited()
|
void |
mousePressed()
|
void |
mouseReleased()
|
void |
prefetch()
PREFETCH - prefetching the media. |
void |
remove()
Overridden remove() - this will also remove the media. |
void |
removeAttribute(java.lang.String name)
|
void |
repeat(long time)
Overridden. |
void |
setAbstractAttr(java.lang.String abstractAttr)
|
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 |
setAuthor(java.lang.String author)
|
void |
setClipBegin(java.lang.String clipBegin)
|
void |
setClipEnd(java.lang.String clipEnd)
|
void |
setCopyright(java.lang.String copyright)
|
void |
setErase(short erase)
|
void |
setFill(java.lang.String fill)
|
void |
setMediaRepeat(short mediaRepeat)
|
void |
setReadIndex(java.lang.String readIndex)
|
void |
setRegion(SMILRegionElement region)
|
void |
setRegion(java.lang.String region)
|
void |
setSrc(java.lang.String src)
|
void |
setTabindex(int tabindex)
|
void |
setTransIn(java.lang.String transIn)
|
void |
setTransOut(java.lang.String transOut)
|
void |
setType(java.lang.String type)
|
void |
setVisible(boolean visible)
|
void |
setZoom(double zoom)
|
void |
startup()
Overridden startup() - this will search for the first parent a element and creates corresponding link. |
void |
visualEvent(int event,
java.lang.Object obj)
|
| 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.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 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, getParentNode, 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, getBegin, getCurrentIntervalBegin, getDur, getEnd, getMax, getMin, getRepeat, getRepeatCount, getRepeatDur, getRestart, 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, getParentNode, 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 |
| Field Detail |
protected java.lang.String namespace
| Constructor Detail |
public SMILMediaElementImpl(org.apache.xerces.dom.DocumentImpl owner,
SMILDocumentImpl smil,
java.lang.String ns,
java.lang.String tag)
| Method Detail |
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface MediaListenerpublic void mouseEntered()
mouseEntered in interface MediaListenerpublic void mouseExited()
mouseExited in interface MediaListenerpublic void mousePressed()
mousePressed in interface MediaListenerpublic void mouseReleased()
mouseReleased in interface MediaListenerpublic java.awt.Component getComponent()
getComponent in interface VisualComponentServicepublic java.awt.Dimension getSize()
getSize in interface VisualComponentServicepublic void setZoom(double zoom)
setZoom in interface VisualComponentServicepublic void setVisible(boolean visible)
setVisible in interface VisualComponentServicepublic boolean getVisible()
getVisible in interface VisualComponentService
public void setAttribute(java.lang.String name,
java.lang.String value)
setAttribute in interface org.w3c.dom.ElementsetAttribute in class VisualElementImpl
public void setAttributeNS(java.lang.String ns,
java.lang.String name,
java.lang.String value)
setAttributeNS in interface org.w3c.dom.Element
public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr)
throws org.w3c.dom.DOMException
setAttributeNode in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
protected void setAttributeValue(java.lang.String name,
java.lang.String value)
public void removeAttribute(java.lang.String name)
removeAttribute in interface org.w3c.dom.ElementremoveAttribute in class VisualElementImplpublic void initMedia()
public MediaHandler getMedia()
public void init()
init in interface SMILElementinit in class ElementBasicTimeImplpublic void prefetch()
prefetch in interface XElementBasicTimeprefetch in class ElementBasicTimeImplpublic void startup()
startup in interface XElementBasicTimestartup in class ElementBasicTimeImplpublic void display()
display in class ElementBasicTimeImplpublic void repeat(long time)
repeat in class ElementBasicTimeImplpublic void freeze()
XElementBasicTime
freeze in interface XElementBasicTimefreeze in class ElementBasicTimeImplpublic void remove()
remove in class ElementBasicTimeImplpublic void destroy()
destroy in interface XElementBasicTimedestroy in class ElementBasicTimeImplpublic void mediaEnded()
mediaEnded in interface MediaListenermediaEnded in class ElementBasicTimeImplpublic void mediaPrefetched()
MediaListener
mediaPrefetched in interface MediaListenerpublic boolean isStatic()
public void childEnded(long childDuration)
childEnded in interface ElementTimeContainerchildEnded in class ElementBasicTimeImplchildDuration - Duration of the child elementpublic SMILRegionElement getRegionElement()
SMILRegionInterface
getRegionElement in interface SMILRegionInterfacepublic void setRegion(SMILRegionElement region)
setRegion in interface SMILRegionInterfacepublic void setRegion(java.lang.String region)
setRegion in interface SMILRegionInterfacesetRegion in class ElementTimeContainerImplpublic java.lang.String getFill()
FILL_REMOVE.
getFill in interface SMILMediaElementgetFill in class ElementTimeContainerImplorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setFill(java.lang.String fill)
throws org.w3c.dom.DOMException
setFill in interface SMILMediaElementsetFill in class ElementTimeContainerImplorg.w3c.dom.DOMExceptionpublic java.lang.String getAbstractAttr()
getAbstractAttr in interface SMILMediaElementgetAbstractAttr in class ElementTimeContainerImplorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setAbstractAttr(java.lang.String abstractAttr)
throws org.w3c.dom.DOMException
setAbstractAttr in interface SMILMediaElementsetAbstractAttr in class ElementTimeContainerImplorg.w3c.dom.DOMExceptionpublic java.lang.String getAuthor()
getAuthor in interface SMILMediaElementgetAuthor in class ElementTimeContainerImplorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setAuthor(java.lang.String author)
throws org.w3c.dom.DOMException
setAuthor in interface SMILMediaElementsetAuthor in class ElementTimeContainerImplorg.w3c.dom.DOMExceptionpublic java.lang.String getCopyright()
getCopyright in interface SMILMediaElementgetCopyright in class ElementTimeContainerImplorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setCopyright(java.lang.String copyright)
throws org.w3c.dom.DOMException
setCopyright in interface SMILMediaElementsetCopyright in class ElementTimeContainerImplorg.w3c.dom.DOMExceptionpublic java.lang.String getClipBegin()
getClipBegin in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setClipBegin(java.lang.String clipBegin)
throws org.w3c.dom.DOMException
setClipBegin in interface SMILMediaElementorg.w3c.dom.DOMExceptionpublic java.lang.String getClipEnd()
getClipEnd in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setClipEnd(java.lang.String clipEnd)
throws org.w3c.dom.DOMException
setClipEnd in interface SMILMediaElementorg.w3c.dom.DOMExceptionpublic java.lang.String getReadIndex()
getReadIndex in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setReadIndex(java.lang.String readIndex)
throws org.w3c.dom.DOMException
setReadIndex in interface SMILMediaElementorg.w3c.dom.DOMExceptionpublic java.lang.String getSrc()
getSrc in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setSrc(java.lang.String src)
throws org.w3c.dom.DOMException
setSrc in interface SMILMediaElementorg.w3c.dom.DOMExceptionpublic java.lang.String getType()
getType in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setType(java.lang.String type)
throws org.w3c.dom.DOMException
setType in interface SMILMediaElementorg.w3c.dom.DOMExceptionpublic short getErase()
getErase in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setErase(short erase)
throws org.w3c.dom.DOMException
setErase in interface SMILMediaElementorg.w3c.dom.DOMExceptionpublic short getMediaRepeat()
getMediaRepeat in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setMediaRepeat(short mediaRepeat)
throws org.w3c.dom.DOMException
setMediaRepeat in interface SMILMediaElementorg.w3c.dom.DOMExceptionpublic int getTabindex()
getTabindex in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setTabindex(int tabindex)
throws org.w3c.dom.DOMException
setTabindex in interface SMILMediaElementorg.w3c.dom.DOMExceptionpublic java.lang.String getTransIn()
getTransIn in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setTransIn(java.lang.String transIn)
throws org.w3c.dom.DOMException
setTransIn in interface SMILMediaElementorg.w3c.dom.DOMExceptionpublic java.lang.String getTransOut()
getTransOut in interface SMILMediaElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is
readonly.
public void setTransOut(java.lang.String transOut)
throws org.w3c.dom.DOMException
setTransOut in interface SMILMediaElementorg.w3c.dom.DOMException
public void visualEvent(int event,
java.lang.Object obj)
visualEvent in interface VisualComponentService
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||