|
|||||||||||
| 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.extension.SMILAnimationImpl
fi.hut.tml.xsmiles.mlfc.smil.extension.SMILAnimateElementImpl
fi.hut.tml.xsmiles.mlfc.smil.extension.SMILAnimateMotionElementImpl
AnimateMotion Element. This element animates a pair of attributes. These attributes have been hard-coded to be "left" and "top". The attributes are read in as string "(left, top)" and animated with AnimatedPairValue. Finally, they are written back to the DOM by splitting the string into "left" and "top" attributes.
| 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.extension.SMILAnimationImpl |
attributeName, CALCMODE_DISCRETE, CALCMODE_LINEAR, CALCMODE_PACED, CALCMODE_SPLINE, startTime, target |
| 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.SMILAnimation |
ACCUMULATE_NONE, ACCUMULATE_SUM, ADDITIVE_REPLACE, ADDITIVE_SUM, CALCMODE_DISCRETE, CALCMODE_LINEAR, CALCMODE_PACED, CALCMODE_SPLINE |
| 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 org.w3c.dom.smil20.ElementTargetAttributes |
ATTRIBUTE_TYPE_AUTO, ATTRIBUTE_TYPE_CSS, ATTRIBUTE_TYPE_XML |
| Fields inherited from interface org.w3c.dom.smil20.XElementBasicTime |
RESTART_ALWAYS, RESTART_NEVER, RESTART_WHEN_NOT_ACTIVE |
| Constructor Summary | |
SMILAnimateMotionElementImpl(org.apache.xerces.dom.DocumentImpl owner,
SMILDocumentImpl smil,
java.lang.String ns,
java.lang.String tag)
Constructor - set the owner |
|
| Method Summary | |
java.lang.String |
getOrigin()
Specifies the origin of motion for the animation. |
java.lang.String |
getPath()
Specifies the curve that describes the attribute value as a function of time. |
AnimatedValue[] |
initArray(int size)
Returns an empty array of AnimatedPairValues. |
AnimatedValue |
parse(AnimationScheduler scheduler)
Parses the "left" and "top" attributes of the target element, and returns AnimatedPairValue(left, top). |
AnimatedValue |
parse(int val)
Parses the integer val. |
AnimatedValue |
parse(java.lang.String value)
Parses the attribute value. |
void |
setOrigin(java.lang.String origin)
|
void |
setPath(java.lang.String path)
|
void |
write(AnimationScheduler scheduler,
java.lang.String value)
This is used to write the animated value back the DOM buffer. |
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.extension.SMILAnimateElementImpl |
write |
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.extension.SMILAnimationImpl |
activate, closedown, deactivate, getAccumulate, getAdditive, getAttributeName, getAttributeType, getBy, getCalcMode, getFill, getFrom, getKeySplines, getKeyTimes, getTargetElement, getTo, getValues, init, setAccumulate, setAdditive, setAttributeName, setAttributeType, setBy, setCalcMode, setFill, setFrom, setKeySplines, setKeyTimes, setTargetElement, setTo, setValues, update |
| 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, 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, 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.SMILAnimation |
getAccumulate, getAdditive, getBy, getCalcMode, getFill, getFrom, getKeySplines, getKeyTimes, getTo, getValues, setAccumulate, setAdditive, setBy, setCalcMode, setFill, setFrom, setKeySplines, setKeyTimes, setTo, setValues |
| Methods inherited from interface org.w3c.dom.smil20.SMILElement |
destroy, getAlt, getClassName, getId, getLongdesc, getTitle, init, setAlt, setClassName, setId, setLongdesc, setTitle |
| Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, 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, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Methods inherited from interface org.w3c.dom.smil20.ElementTargetAttributes |
getAttributeName, getAttributeType, getTargetElement, setAttributeName, setAttributeType, setTargetElement |
| Methods inherited from interface org.w3c.dom.smil20.XElementBasicTime |
activate, closedown, deactivate, destroy, freeze, getBegin, getCurrentIntervalBegin, getDur, getEnd, getMax, getMin, getRepeat, getRepeatCount, getRepeatDur, getRestart, getTimeInBodyTime, hasStarted, isActive, prefetch, setBegin, setDur, setEnd, setMax, setMin, setRepeat, setRepeatCount, setRepeatDur, setRestart, startup |
| Methods inherited from interface org.w3c.dom.smil20.ElementTimeControl |
beginElement, beginElementAt, endElement, endElementAt, pauseElement, resumeElement, seekElement |
| 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 |
public SMILAnimateMotionElementImpl(org.apache.xerces.dom.DocumentImpl owner,
SMILDocumentImpl smil,
java.lang.String ns,
java.lang.String tag)
| Method Detail |
public AnimatedValue parse(java.lang.String value)
parse in class SMILAnimateElementImplvalue - Attribute value to be parsed
public AnimatedValue parse(AnimationScheduler scheduler)
parse in class SMILAnimateElementImplscheduler - AnimationScheduler, this object has the DOM and "DOM buffer" values.
public AnimatedValue parse(int val)
parse in class SMILAnimateElementImplval - Attribute value as integer
public AnimatedValue[] initArray(int size)
initArray in class SMILAnimateElementImplsize - Size of the array
public void write(AnimationScheduler scheduler,
java.lang.String value)
write in class SMILAnimationImplscheduler - AnimationScheduler, holding "DOM buffer"value - String value to be set to the DOM bufferpublic java.lang.String getPath()
getPath in interface SMILAnimateMotionElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setPath(java.lang.String path)
throws org.w3c.dom.DOMException
setPath in interface SMILAnimateMotionElementorg.w3c.dom.DOMExceptionpublic java.lang.String getOrigin()
getOrigin in interface SMILAnimateMotionElementorg.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setOrigin(java.lang.String origin)
throws org.w3c.dom.DOMException
setOrigin in interface SMILAnimateMotionElementorg.w3c.dom.DOMException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||