|
|||||||||||
| 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.xmlcss.xhtml.XHTMLElement
fi.hut.tml.xsmiles.mlfc.xmlcss.xhtml.ObjectElementImpl
Implements the html object element
| 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.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 fi.hut.tml.xsmiles.dom.VisualComponentService |
EVENT_STYLECHANGED |
| Fields inherited from interface fi.hut.tml.xsmiles.dom.MediaElement |
PAUSED, PLAYING, STOPPED |
| 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 |
| Constructor Summary | |
ObjectElementImpl(org.apache.xerces.dom.DocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
MLFC mlfc)
New object element |
|
| Method Summary | |
void |
addMediaListener(MediaListener listener)
Adds a new listener for the media |
void |
destroy()
Destroy this element and its descendants recursively. |
java.awt.Component |
getComponent()
Return the visual component for this extension element |
java.awt.Dimension |
getSize()
Returns the approximate size of this extension element |
int |
getStatus()
Returns the current status of the media |
boolean |
getVisible()
|
void |
init()
Initialize this element. |
boolean |
isStatic()
Static elements have no defined duration. |
void |
mediaEnded()
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 |
pause()
Pauses the media |
void |
play()
Starts playing the media |
void |
prefetch()
Prefetches the media |
void |
removeMediaListener(MediaListener listener)
Removes a certain listener |
void |
setActive(boolean active)
Sets this element active or inactive |
void |
setVisible(boolean visible)
|
void |
setZoom(double zoom)
|
void |
stop()
Stops the media |
java.lang.String |
toString()
|
void |
visualEvent(int event,
java.lang.Object obj)
|
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.xmlcss.xhtml.XHTMLElement |
getStyleAttrValue |
| Methods inherited from class fi.hut.tml.xsmiles.dom.VisualElementImpl |
addView, belongsToTree, getViews, handleEvent, insertBefore, isCurrentlyVisible, isFocusPoint, isPseudoClass, isVisibleByCSSProperties, notifyPseudoRemoved, removeAllViews, removeAttribute, removeChild, replaceChild, setAttribute, 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, setAttributeNode, setAttributeNodeNS, setAttributeNS, 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 |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fi.hut.tml.xsmiles.dom.VisualElement |
getStyle |
| Methods inherited from interface fi.hut.tml.xsmiles.dom.PseudoClassController |
getPseudoClass, setPseudoClass |
| Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttributeNode, removeAttributeNS, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| 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, isSupported, normalize, setNodeValue, setPrefix |
| Constructor Detail |
public ObjectElementImpl(org.apache.xerces.dom.DocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
MLFC mlfc)
ownerDocument - the document this element belongs tonamespaceURI - qualifiedName - mlfc - MLFC that is controlling the current document| Method Detail |
public void init()
XSmilesElementImpl
init in interface InitializableElementinit in class VisualElementImplpublic void destroy()
XSmilesElementImpl
destroy in class XSmilesElementImplpublic java.awt.Component getComponent()
VisualComponentService
getComponent in interface VisualComponentServicepublic java.awt.Dimension getSize()
VisualComponentService
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 VisualComponentServicepublic void setActive(boolean active)
MediaElement
setActive in interface MediaElementactive -
public void play()
throws java.lang.Exception
MediaElement
play in interface MediaElementjava.lang.Exceptionpublic void pause()
MediaElement
pause in interface MediaElementpublic void stop()
MediaElement
stop in interface MediaElementpublic void addMediaListener(MediaListener listener)
MediaElement
addMediaListener in interface MediaElementlistener - public void removeMediaListener(MediaListener listener)
MediaElement
removeMediaListener in interface MediaElementlistener - public void mediaPrefetched()
MediaListener
mediaPrefetched in interface MediaListenerpublic void mediaEnded()
MediaListener
mediaEnded in interface MediaListenerpublic void mouseClicked(java.awt.event.MouseEvent e)
MediaListener
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 int getStatus()
MediaElement
getStatus in interface MediaElementpublic java.lang.String toString()
public void prefetch()
throws java.lang.Exception
MediaElement
prefetch in interface MediaElementjava.lang.Exceptionpublic boolean isStatic()
MediaElement
isStatic in interface MediaElement
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 | ||||||||||