Package org.loboevolution.html.dom.smil
Interface SMILAnimation
- All Superinterfaces:
Element
,ElementTargetAttributes
,ElementTime
,ElementTimeControl
,EventTarget
,InnerHTML
,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
Modifier and TypeFieldDescriptionstatic final short
Constant ACCUMULATE_NONE=0static final short
Constant ACCUMULATE_SUM=1static final short
Constant ADDITIVE_REPLACE=0static final short
Constant ADDITIVE_SUM=1static final short
Constant CALCMODE_DISCRETE=0static final short
Constant CALCMODE_LINEAR=1static final short
Constant CALCMODE_PACED=2static final short
Constant CALCMODE_SPLINE=3Fields inherited from interface org.loboevolution.html.dom.smil.ElementTargetAttributes
ATTRIBUTE_TYPE_AUTO, ATTRIBUTE_TYPE_CSS, ATTRIBUTE_TYPE_XML
Fields inherited from interface org.loboevolution.html.dom.smil.ElementTime
FILL_FREEZE, FILL_REMOVE, RESTART_ALWAYS, RESTART_NEVER, RESTART_WHEN_NOT_ACTIVE
Fields 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 short
A code representing the value of the accumulate attribute, as defined above.default short
A code representing the value of the additive attribute, as defined above.getBy()
A DOMString representing the value of the by attribute.default short
A code representing the value of the calcMode attribute, as defined above.getFrom()
A DOMString representing the value of the from attribute.default String
A DOMString representing the value of the keySplines attribute.default TimeList
A 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 void
setAccumulate
(short accumulate) setAccumulate.default void
setAdditive
(short additive) setAdditive.void
setBy.default void
setCalcMode
(short calcMode) setCalcMode.void
setFrom.default void
setKeySplines
(String keySplines) setKeySplines.default void
setKeyTimes
(TimeList keyTimes) setKeyTimes.void
setTo.void
setValues.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, toggleAttribute
Methods inherited from interface org.loboevolution.html.dom.smil.ElementTargetAttributes
getAttributeName, getAttributeType, setAttributeName, setAttributeType
Methods 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, setRestart
Methods inherited from interface org.loboevolution.html.dom.smil.ElementTimeControl
beginElement, beginElementAt, endElement, endElementAt
Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTML
Methods inherited from interface org.loboevolution.html.node.Node
appendChild, cloneNode, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserData
Methods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSibling
Methods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAll
Methods 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
String
object. - Throws:
DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setKeySplines
setKeySplines.
- Parameters:
keySplines
- aString
object.
-
getKeyTimes
A list of the time value of the keyTimes attribute.- Returns:
- a
TimeList
object. - Throws:
DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setKeyTimes
setKeyTimes.
- Parameters:
keyTimes
- aTimeList
object.
-
getValues
String getValues()A DOMString representing the value of the values attribute.- Returns:
- a
String
object. - Throws:
DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setValues
setValues.
- Parameters:
values
- aString
object.- Throws:
DOMException
- if any.
-
getFrom
String getFrom()A DOMString representing the value of the from attribute.- Returns:
- a
String
object. - Throws:
DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setFrom
setFrom.
- Parameters:
from
- aString
object.- Throws:
DOMException
- if any.
-
getTo
String getTo()A DOMString representing the value of the to attribute.- Returns:
- a
String
object. - Throws:
DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setTo
setTo.
- Parameters:
to
- aString
object.- Throws:
DOMException
- if any.
-
getBy
String getBy()A DOMString representing the value of the by attribute.- Returns:
- a
String
object. - Throws:
DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
-
setBy
setBy.
- Parameters:
by
- aString
object.- Throws:
DOMException
- if any.
-