Package org.loboevolution.html.dom.smil
Interface SMILAnimation
- All Superinterfaces:
Element,ElementTargetAttributes,ElementTime,ElementTimeControl,EventTarget,InnerHTML,ModelNode,Node,NonDocumentTypeChildNode,ParentNode,SMILElement
- All Known Subinterfaces:
SMILAnimateColorElement,SMILAnimateElement,SMILAnimateMotionElement
- All Known Implementing Classes:
SVGAnimateElementImpl,SVGAnimateTransformElementImpl,SVGAnimationElementImpl,SVGAnimationImpl
public interface SMILAnimation
extends SMILElement, ElementTargetAttributes, ElementTime, ElementTimeControl
This interface define the set of animation extensions for SMIL. The
attributes will go in a XLink interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortConstant ACCUMULATE_NONE=0static final shortConstant ACCUMULATE_SUM=1static final shortConstant ADDITIVE_REPLACE=0static final shortConstant ADDITIVE_SUM=1static final shortConstant CALCMODE_DISCRETE=0static final shortConstant CALCMODE_LINEAR=1static final shortConstant CALCMODE_PACED=2static final shortConstant CALCMODE_SPLINE=3Fields inherited from interface org.loboevolution.html.dom.smil.ElementTargetAttributes
ATTRIBUTE_TYPE_AUTO, ATTRIBUTE_TYPE_CSS, ATTRIBUTE_TYPE_XMLFields inherited from interface org.loboevolution.html.dom.smil.ElementTime
FILL_FREEZE, FILL_REMOVE, RESTART_ALWAYS, RESTART_NEVER, RESTART_WHEN_NOT_ACTIVEFields inherited from interface org.loboevolution.html.node.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Method Summary
Modifier and TypeMethodDescriptiondefault shortA code representing the value of the accumulate attribute, as defined above.default shortA code representing the value of the additive attribute, as defined above.getBy()A DOMString representing the value of the by attribute.default shortA code representing the value of the calcMode attribute, as defined above.getFrom()A DOMString representing the value of the from attribute.default StringA DOMString representing the value of the keySplines attribute.default TimeListA list of the time value of the keyTimes attribute.getTo()A DOMString representing the value of the to attribute.A DOMString representing the value of the values attribute.default voidsetAccumulate(short accumulate) setAccumulate.default voidsetAdditive(short additive) setAdditive.voidsetBy.default voidsetCalcMode(short calcMode) setCalcMode.voidsetFrom.default voidsetKeySplines(String keySplines) setKeySplines.default voidsetKeyTimes(TimeList keyTimes) setKeyTimes.voidsetTo.voidsetValues.Methods inherited from interface org.loboevolution.html.node.Element
closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getInnerHTML, getInnerText, getLocalName, getNamespaceURI, getOuterHTML, getPrefix, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, matches, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, toggleAttribute, toggleAttributeMethods inherited from interface org.loboevolution.html.dom.smil.ElementTargetAttributes
getAttributeName, getAttributeType, setAttributeName, setAttributeTypeMethods inherited from interface org.loboevolution.html.dom.smil.ElementTime
beginElement, endElement, getBegin, getDur, getEnd, getFill, getRepeatCount, getRepeatDur, getRestart, pauseElement, resumeElement, seekElement, setBegin, setDur, setEnd, setFill, setRepeatCount, setRepeatDur, setRestartMethods inherited from interface org.loboevolution.html.dom.smil.ElementTimeControl
beginElement, beginElementAt, endElement, endElementAtMethods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListenerMethods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTMLMethods inherited from interface org.loboevolution.html.node.ModelNode
getDocumentItem, getFullURL, getParentModelNode, getRenderState, isEqualOrDescendentOf, setDocumentItem, warnMethods inherited from interface org.loboevolution.html.node.Node
appendChild, appendChildrenToCollectionImpl, cloneNode, cloneNode, compareDocumentPosition, contains, extractDescendentsArrayImpl, findUINode, forgetRenderState, getAttributes, getBaseURI, getChildNodes, getDocumentNode, getFeature, getFirstChild, getLastChild, getNextSibling, getNextTo, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getPreviousTo, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNamespaceURI, setNodeValue, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUserData, visitMethods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSiblingMethods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAllMethods inherited from interface org.loboevolution.html.dom.smil.SMILElement
getId, setId
-
Field Details
-
ADDITIVE_REPLACE
static final short ADDITIVE_REPLACEConstant ADDITIVE_REPLACE=0- See Also:
-
ADDITIVE_SUM
static final short ADDITIVE_SUMConstant ADDITIVE_SUM=1- See Also:
-
CALCMODE_DISCRETE
static final short CALCMODE_DISCRETEConstant CALCMODE_DISCRETE=0- See Also:
-
CALCMODE_LINEAR
static final short CALCMODE_LINEARConstant CALCMODE_LINEAR=1- See Also:
-
CALCMODE_PACED
static final short CALCMODE_PACEDConstant CALCMODE_PACED=2- See Also:
-
CALCMODE_SPLINE
static final short CALCMODE_SPLINEConstant CALCMODE_SPLINE=3- See Also:
-
ACCUMULATE_NONE
static final short ACCUMULATE_NONEConstant ACCUMULATE_NONE=0- See Also:
-
ACCUMULATE_SUM
static final short ACCUMULATE_SUMConstant ACCUMULATE_SUM=1- See Also:
-
-
Method Details
-
getAdditive
default short getAdditive()A code representing the value of the additive attribute, as defined above. Default value is ADDITIVE_REPLACE .- Returns:
- a short.
- Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setAdditive
default void setAdditive(short additive) setAdditive.
- Parameters:
additive- a short.
-
getAccumulate
default short getAccumulate()A code representing the value of the accumulate attribute, as defined above. Default value is ACCUMULATE_NONE .- Returns:
- a short.
- Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setAccumulate
default void setAccumulate(short accumulate) setAccumulate.
- Parameters:
accumulate- a short.
-
getCalcMode
default short getCalcMode()A code representing the value of the calcMode attribute, as defined above.- Returns:
- a short.
- Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setCalcMode
default void setCalcMode(short calcMode) setCalcMode.
- Parameters:
calcMode- a short.
-
getKeySplines
A DOMString representing the value of the keySplines attribute. Need an interface a point (x1,y1,x2,y2)- Returns:
- a
Stringobject. - Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setKeySplines
setKeySplines.
- Parameters:
keySplines- aStringobject.
-
getKeyTimes
A list of the time value of the keyTimes attribute.- Returns:
- a
TimeListobject. - Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setKeyTimes
setKeyTimes.
- Parameters:
keyTimes- aTimeListobject.
-
getValues
String getValues()A DOMString representing the value of the values attribute.- Returns:
- a
Stringobject. - Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setValues
setValues.
- Parameters:
values- aStringobject.- Throws:
DOMException- if any.
-
getFrom
String getFrom()A DOMString representing the value of the from attribute.- Returns:
- a
Stringobject. - Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setFrom
setFrom.
- Parameters:
from- aStringobject.- Throws:
DOMException- if any.
-
getTo
String getTo()A DOMString representing the value of the to attribute.- Returns:
- a
Stringobject. - Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setTo
setTo.
- Parameters:
to- aStringobject.- Throws:
DOMException- if any.
-
getBy
String getBy()A DOMString representing the value of the by attribute.- Returns:
- a
Stringobject. - Throws:
DOMException- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setBy
setBy.
- Parameters:
by- aStringobject.- Throws:
DOMException- if any.
-