org.w3c.dom.smil20
Interface SMILAnimation

All Superinterfaces:
org.w3c.dom.Element, ElementTargetAttributes, ElementTimeControl, org.w3c.dom.Node, SMILElement, XElementBasicTime
All Known Subinterfaces:
SMILAnimateColorElement, SMILAnimateElement, SMILAnimateMotionElement
All Known Implementing Classes:
SMILAnimateColorElementImpl, SMILAnimateElementImpl, SMILAnimateMotionElementImpl, SMILAnimationImpl

public interface SMILAnimation
extends SMILElement, ElementTargetAttributes, XElementBasicTime

This interface define the set of animation extensions for SMIL. The attributes will go in a XLink interface. Defines attributes: o additive, accumulate, calcMode, keySplines, keyTimes, values, from, to, by + Defines methods: o +


Field Summary
static short ACCUMULATE_NONE
           
static short ACCUMULATE_SUM
           
static short ADDITIVE_REPLACE
           
static short ADDITIVE_SUM
           
static short CALCMODE_DISCRETE
           
static short CALCMODE_LINEAR
           
static short CALCMODE_PACED
           
static short 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
 
Method Summary
 short getAccumulate()
          A code representing the value of the accumulate attribute, as defined above.
 short getAdditive()
          A code representing the value of the additive attribute, as defined above.
 java.lang.String getBy()
          A DOMString representing the value of the by attribute.
 short getCalcMode()
          A code representing the value of the calcMode attribute, as defined above.
 java.lang.String getFill()
          A code representing the value of the fill attribute, as defined above.
 java.lang.String getFrom()
          A DOMString representing the value of the from attribute.
 java.lang.String getKeySplines()
          A DOMString representing the value of the keySplines attribute.
 TimeList getKeyTimes()
          A list of the time value of the keyTimes attribute.
 java.lang.String getTo()
          A DOMString representing the value of the to attribute.
 java.lang.String getValues()
          A DOMString representing the value of the values attribute.
 void setAccumulate(short accumulate)
           
 void setAdditive(short additive)
           
 void setBy(java.lang.String by)
           
 void setCalcMode(short calcMode)
           
 void setFill(java.lang.String fill)
           
 void setFrom(java.lang.String from)
           
 void setKeySplines(java.lang.String keySplines)
           
 void setKeyTimes(TimeList keyTimes)
           
 void setTo(java.lang.String to)
           
 void setValues(java.lang.String values)
           
 
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
 

Field Detail

ADDITIVE_REPLACE

public static final short ADDITIVE_REPLACE
See Also:
Constant Field Values

ADDITIVE_SUM

public static final short ADDITIVE_SUM
See Also:
Constant Field Values

ACCUMULATE_NONE

public static final short ACCUMULATE_NONE
See Also:
Constant Field Values

ACCUMULATE_SUM

public static final short ACCUMULATE_SUM
See Also:
Constant Field Values

CALCMODE_DISCRETE

public static final short CALCMODE_DISCRETE
See Also:
Constant Field Values

CALCMODE_LINEAR

public static final short CALCMODE_LINEAR
See Also:
Constant Field Values

CALCMODE_PACED

public static final short CALCMODE_PACED
See Also:
Constant Field Values

CALCMODE_SPLINE

public static final short CALCMODE_SPLINE
See Also:
Constant Field Values
Method Detail

getAdditive

public short getAdditive()
A code representing the value of the additive attribute, as defined above. Default value is ADDITIVE_REPLACE .

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setAdditive

public void setAdditive(short additive)
                 throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

getAccumulate

public short getAccumulate()
A code representing the value of the accumulate attribute, as defined above. Default value is ACCUMULATE_NONE .

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setAccumulate

public void setAccumulate(short accumulate)
                   throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

getCalcMode

public short getCalcMode()
A code representing the value of the calcMode attribute, as defined above.

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setCalcMode

public void setCalcMode(short calcMode)
                 throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

getKeySplines

public java.lang.String getKeySplines()
A DOMString representing the value of the keySplines attribute. Need an interface a point (x1,y1,x2,y2)

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setKeySplines

public void setKeySplines(java.lang.String keySplines)
                   throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

getKeyTimes

public TimeList getKeyTimes()
A list of the time value of the keyTimes attribute.

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setKeyTimes

public void setKeyTimes(TimeList keyTimes)
                 throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

getValues

public java.lang.String getValues()
A DOMString representing the value of the values attribute.

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setValues

public void setValues(java.lang.String values)
               throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

getFrom

public java.lang.String getFrom()
A DOMString representing the value of the from attribute.

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setFrom

public void setFrom(java.lang.String from)
             throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

getTo

public java.lang.String getTo()
A DOMString representing the value of the to attribute.

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setTo

public void setTo(java.lang.String to)
           throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

getBy

public java.lang.String getBy()
A DOMString representing the value of the by attribute.

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setBy

public void setBy(java.lang.String by)
           throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException

getFill

public java.lang.String getFill()
A code representing the value of the fill attribute, as defined above. Default value is FILL_REMOVE .

Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setFill

public void setFill(java.lang.String fill)
             throws org.w3c.dom.DOMException
Throws:
org.w3c.dom.DOMException


X-Smiles 1.2