fi.hut.tml.xsmiles.mlfc.smil.extension
Class SMILBrushElementImpl

java.lang.Object
  extended byorg.apache.xerces.dom.NodeImpl
      extended byorg.apache.xerces.dom.ChildNode
          extended byorg.apache.xerces.dom.ParentNode
              extended byorg.apache.xerces.dom.ElementImpl
                  extended byorg.apache.xerces.dom.ElementNSImpl
                      extended byfi.hut.tml.xsmiles.dom.XSmilesElementImpl
                          extended byfi.hut.tml.xsmiles.dom.VisualElementImpl
                              extended byfi.hut.tml.xsmiles.mlfc.smil.basic.SMILElementImpl
                                  extended byfi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeControlImpl
                                      extended byfi.hut.tml.xsmiles.mlfc.smil.basic.ElementBasicTimeImpl
                                          extended byfi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeImpl
                                              extended byfi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeContainerImpl
                                                  extended byfi.hut.tml.xsmiles.mlfc.smil.extension.SMILBrushElementImpl
All Implemented Interfaces:
AnimationService, java.lang.Cloneable, CSSStyleChangeListener, org.w3c.dom.Element, ElementTime, ElementTimeContainer, ElementTimeControl, org.w3c.dom.events.EventListener, org.w3c.dom.events.EventTarget, InitializableElement, MediaListener, org.w3c.dom.Node, org.w3c.dom.NodeList, PseudoClassController, ResourceFetcher, java.io.Serializable, SMILElement, SMILRegionInterface, StylableElement, org.w3c.dom.TypeInfo, VisualElement, XElementBasicTime, XSMILBrushElement, XSmilesLayoutReference

public class SMILBrushElementImpl
extends ElementTimeContainerImpl
implements XSMILBrushElement, MediaListener, AnimationService

Implements Brush media element. Inherited from MediaElement, to get area element to work.

See Also:
Serialized Form

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.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.XSMILBrushElement
ERASE_NEVER, ERASE_WHENDONE, FILL_FREEZE, FILL_REMOVE
 
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.ElementTime
FILLDEFAULT_AUTO, FILLDEFAULT_FREEZE, FILLDEFAULT_HOLD, FILLDEFAULT_INHERIT, FILLDEFAULT_REMOVE, FILLDEFAULT_TRANSITION, RESTARTDEFAULT_ALWAYS, RESTARTDEFAULT_INHERIT, RESTARTDEFAULT_NEVER, RESTARTDEFAULT_WHEN_NOT_ACTIVE, SYNCBEHAVIOR_CAN_SLIP, SYNCBEHAVIOR_DEFAULT, SYNCBEHAVIOR_INDEPENDENT, SYNCBEHAVIOR_LOCKED, SYNCBEHAVIORDEFAULT_CAN_SLIP, SYNCBEHAVIORDEFAULT_INDEPENDENT, SYNCBEHAVIORDEFAULT_INHERIT, SYNCBEHAVIORDEFAULT_LOCKED
 
Fields inherited from interface org.w3c.dom.smil20.XElementBasicTime
RESTART_ALWAYS, RESTART_NEVER, RESTART_WHEN_NOT_ACTIVE
 
Fields inherited from interface org.w3c.dom.smil20.ElementTimeContainer
FILL_FREEZE, FILL_REMOVE
 
Constructor Summary
SMILBrushElementImpl(org.apache.xerces.dom.DocumentImpl owner, SMILDocumentImpl smil, java.lang.String ns)
          Constructor - set the owner
 
Method Summary
 void childEnded(long childDuration)
          This is called from the child to tell that it has ended.
 float convertStringToUnitless(java.lang.String attr, java.lang.String value)
          Convert String attribute to an float value
 java.lang.String convertUnitlessToString(java.lang.String attr, float value)
           
 void destroy()
          This method will destroy the element, freeing all its memory.
 void display()
          Overridden display() - this will also show the media.
 void freeze()
          Overridden.
 java.lang.String getAbstractAttr()
          See the abstract attribute from .
 java.lang.String getAColor()
          Get the color attribute, giving precendence to the animated value.
 java.lang.String getAnimAttribute(java.lang.String attr)
          This method returns the animation value of the attribute, and if not available, returns the DOM value.
 java.lang.String getAuthor()
          See the author attribute from .
 BrushHandler getBrush()
           
 java.lang.String getColor()
          Get the color attribute.
 java.lang.String getCopyright()
          See the copyright attribute from .
 short getErase()
          See the erase attribute.
 java.lang.String getFill()
          A code representing the value of the fill attribute, as defined above.
 java.lang.String getReadIndex()
          See the readIndex attribute from .
 SMILRegionElement getRegionElement()
          Two ways to change the region.
 int getTabindex()
          See the tabindex attribute in LinkingAttributes module.
 java.lang.String getTransIn()
          See the transIn attribute in transition effects module.
 java.lang.String getTransOut()
          See the transOut attribute in transition effects module.
 void init()
          Initialize this brush element.
 void initBrush()
           
 boolean isStatic()
          Checks if media is static or continuous (video/audio).
 void mediaEnded()
          Callback method - 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 prefetch()
          PREFETCH - prefetching the brush.
 void refreshAnimation()
          Refresh element with all the animation values.
 void remove()
          Overridden remove() - this will also remove the media.
 void removeAnimAttribute(java.lang.String attr)
          The anim attribute value removed with this method allows the DOM attribute value be visible.
 void removeAttribute(java.lang.String name)
           
 void setAbstractAttr(java.lang.String abstractAttr)
           
 void setAnimAttribute(java.lang.String attr, java.lang.String value)
          The attribute value set with this method should take precedence over the DOM attribute value.
 void setAttribute(java.lang.String name, java.lang.String value)
           
 org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr)
           
 void setAttributeNS(java.lang.String ns, java.lang.String name, java.lang.String value)
           
protected  void setAttributeValue(java.lang.String name, java.lang.String value)
           
 void setAuthor(java.lang.String author)
           
 void setColor(java.lang.String color)
           
 void setCopyright(java.lang.String copyright)
           
 void setErase(short erase)
           
 void setFill(java.lang.String fill)
           
 void setReadIndex(java.lang.String readIndex)
           
 void setRegion(SMILRegionElement region)
           
 void setRegion(java.lang.String region)
           
 void setTabindex(int tabindex)
           
 void setTransIn(java.lang.String transIn)
           
 void setTransOut(java.lang.String transOut)
           
 void startChildren()
          This starts the children - overridden from ElementBasicTime.
 void startup()
          Overridden startup() - this will search for the first parent a element and creates corresponding link.
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.basic.ElementTimeContainerImpl
getActiveChildrenAt, getRegion
 
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.ElementBasicTimeImpl
ACAdd, activate, addIntervalBeginListener, addIntervalEndListener, addNewIntervalListener, addTime, beginElement, beginElementAt, closeChildren, closedown, computeSimpleDuration, deactivate, defaultBegin, endElement, endElementAt, getBegin, getBeginList, getCurrentIntervalBegin, getCurrentIntervalEnd, getCurrentParentTime, getDur, getEnd, getEndList, getMax, getMin, getRepeat, getRepeatCount, getRepeatDur, getRestart, getState, getTimeChildren, getTimeInBodyTime, getTimeInParentTime, hasStarted, immediateIntervalEnd, isActive, isChildStartable, isResolved, isStartable, notifyBeginListeners, notifyEndListeners, notifyNewIntervalListeners, reevaluateIntervalBegin, reevaluateIntervalEnd, removeFreeze, repeat, repeatRemoveFreeze, resolveSeekTime, restartelement, restartelementparent, setBegin, setCurrentIntervalBegin, setCurrentIntervalEnd, setDur, setEnd, setForceStartTime, setMax, setMin, setRepeat, setRepeatCount, setRepeatDur, setRestart, simpleDurEnded, timeContainerHasEnded
 
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, removeChild, replaceChild, setStatus, styleChanged, updateViews
 
Methods inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl
addBinding, addUndistributedChild, clone, clonePseudoElements, cloneSubtree, debugNode, debugNode, dispatchEventInMainThread, get, getApplyBindingSheets, getAuthorSheets, getChildNodes, getElementStatus, getOriginalClone, getPseudoClass, getResourceReferencer, getRuleNode, getStyle, getText, getText, getUndistributedChildNodes, getXblImplementations, hasBinding, hasStyle, initFinalFlattenedTree, initStyle, isInitedForReset, removeBinding, removeUndistributedChild, replaceNode, resetFinalFlattenedTree, resolveURI, searchElementWithId, searchElementWithId, setApplyBindingSheets, setAuthorSheets, setPseudoClass, setRuleNode, setStyle, updateStyle
 
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, setAttributeNodeNS, 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.SMILElement
getAlt, getClassName, getId, getLongdesc, getTitle, setAlt, setClassName, setId, setLongdesc, setTitle
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttributeNode, removeAttributeNS, setAttributeNodeNS
 
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.ElementTime
getFillDefault, getRestartDefault, getSyncBehavior, getSyncBehaviorDefault, getSyncTolerance, getSyncToleranceDefault, setFillDefault, setRestartDefault, setSyncBehavior, setSyncBehaviorDefault, setSyncTolerance, setSyncToleranceDefault
 
Methods inherited from interface org.w3c.dom.smil20.XElementBasicTime
activate, closedown, deactivate, getBegin, getCurrentIntervalBegin, getDur, getEnd, getMax, getMin, getRepeat, getRepeatCount, getRepeatDur, getRestart, getTimeInBodyTime, hasStarted, isActive, setBegin, setDur, setEnd, setMax, setMin, setRepeat, setRepeatCount, setRepeatDur, setRestart
 
Methods inherited from interface org.w3c.dom.smil20.ElementTimeControl
beginElement, beginElementAt, endElement, endElementAt, pauseElement, resumeElement, seekElement
 
Methods inherited from interface org.w3c.dom.smil20.ElementTimeContainer
getTimeChildren
 
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

SMILBrushElementImpl

public SMILBrushElementImpl(org.apache.xerces.dom.DocumentImpl owner,
                            SMILDocumentImpl smil,
                            java.lang.String ns)
Constructor - set the owner

Method Detail

setAnimAttribute

public void setAnimAttribute(java.lang.String attr,
                             java.lang.String value)
The attribute value set with this method should take precedence over the DOM attribute value.

Specified by:
setAnimAttribute in interface AnimationService
Parameters:
attr - Attribute to be animated
value - Animation value to be set

getAnimAttribute

public java.lang.String getAnimAttribute(java.lang.String attr)
This method returns the animation value of the attribute, and if not available, returns the DOM value.

Specified by:
getAnimAttribute in interface AnimationService

removeAnimAttribute

public void removeAnimAttribute(java.lang.String attr)
The anim attribute value removed with this method allows the DOM attribute value be visible.

Specified by:
removeAnimAttribute in interface AnimationService
Parameters:
attr - Attribute to be animated (animation removed)

refreshAnimation

public void refreshAnimation()
Refresh element with all the animation values. This is called after several calls to setAnimAttribute() and removeAttribute().

Specified by:
refreshAnimation in interface AnimationService

convertStringToUnitless

public float convertStringToUnitless(java.lang.String attr,
                                     java.lang.String value)
Description copied from interface: AnimationService
Convert String attribute to an float value

Specified by:
convertStringToUnitless in interface AnimationService

convertUnitlessToString

public java.lang.String convertUnitlessToString(java.lang.String attr,
                                                float value)
Specified by:
convertUnitlessToString in interface AnimationService

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Mouse events.

Specified by:
mouseClicked in interface MediaListener

mouseEntered

public void mouseEntered()
Specified by:
mouseEntered in interface MediaListener

mouseExited

public void mouseExited()
Specified by:
mouseExited in interface MediaListener

mousePressed

public void mousePressed()
Specified by:
mousePressed in interface MediaListener

mouseReleased

public void mouseReleased()
Specified by:
mouseReleased in interface MediaListener

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value)
Specified by:
setAttribute in interface org.w3c.dom.Element
Overrides:
setAttribute in class VisualElementImpl

setAttributeNS

public void setAttributeNS(java.lang.String ns,
                           java.lang.String name,
                           java.lang.String value)
Specified by:
setAttributeNS in interface org.w3c.dom.Element

setAttributeNode

public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr)
                                  throws org.w3c.dom.DOMException
Specified by:
setAttributeNode in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

setAttributeValue

protected void setAttributeValue(java.lang.String name,
                                 java.lang.String value)

removeAttribute

public void removeAttribute(java.lang.String name)
Specified by:
removeAttribute in interface org.w3c.dom.Element
Overrides:
removeAttribute in class VisualElementImpl

initBrush

public void initBrush()

getBrush

public BrushHandler getBrush()

init

public void init()
Initialize this brush element.

Specified by:
init in interface SMILElement
Overrides:
init in class ElementBasicTimeImpl

prefetch

public void prefetch()
PREFETCH - prefetching the brush. This method calls (XElementBasicTime)super.prefetch().

Specified by:
prefetch in interface XElementBasicTime
Overrides:
prefetch in class ElementBasicTimeImpl

startup

public void startup()
Overridden startup() - this will search for the first parent a element and creates corresponding link.

Specified by:
startup in interface XElementBasicTime
Overrides:
startup in class ElementBasicTimeImpl

display

public void display()
Overridden display() - this will also show the media. This will also startup the children (areas or anchors).

Overrides:
display in class ElementBasicTimeImpl

freeze

public void freeze()
Overridden. This is called when simple duration for this element is ended. This restarts the media. Not needed for brush.

Specified by:
freeze in interface XElementBasicTime
Overrides:
freeze in class ElementBasicTimeImpl

remove

public void remove()
Overridden remove() - this will also remove the media. End of Active Duration.

Overrides:
remove in class ElementBasicTimeImpl

destroy

public void destroy()
This method will destroy the element, freeing all its memory.

Specified by:
destroy in interface SMILElement
Overrides:
destroy in class ElementBasicTimeImpl

mediaEnded

public void mediaEnded()
Callback method - called when the media has ended. This may cause the media to end its simple duration, if dur = "media" or dur = unspecified. The reason is that Simple Duration is first unresolved, and now it is resolved. THIS SHOULD NEVER BE CALLED FOR A BRUSH.

Specified by:
mediaEnded in interface MediaListener
Overrides:
mediaEnded in class ElementBasicTimeImpl

mediaPrefetched

public void mediaPrefetched()
Description copied from interface: MediaListener
Called when the media has been prefetched.

Specified by:
mediaPrefetched in interface MediaListener

isStatic

public boolean isStatic()
Checks if media is static or continuous (video/audio).

Returns:
true if media is static.

startChildren

public void startChildren()
This starts the children - overridden from ElementBasicTime. The children are area/anchor/switch...

Overrides:
startChildren in class ElementBasicTimeImpl

childEnded

public void childEnded(long childDuration)
This is called from the child to tell that it has ended. This brush element doesn't care about it.

Specified by:
childEnded in interface ElementTimeContainer
Overrides:
childEnded in class ElementBasicTimeImpl
Parameters:
childDuration - Duration of the child element

getRegionElement

public SMILRegionElement getRegionElement()
Description copied from interface: SMILRegionInterface
Two ways to change the region.

Specified by:
getRegionElement in interface SMILRegionInterface

setRegion

public void setRegion(SMILRegionElement region)
Specified by:
setRegion in interface SMILRegionInterface

setRegion

public void setRegion(java.lang.String region)
Specified by:
setRegion in interface SMILRegionInterface
Overrides:
setRegion in class ElementTimeContainerImpl

getFill

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

Specified by:
getFill in interface XSMILBrushElement
Overrides:
getFill in class ElementTimeContainerImpl
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
Specified by:
setFill in interface XSMILBrushElement
Overrides:
setFill in class ElementTimeContainerImpl
Throws:
org.w3c.dom.DOMException

getAbstractAttr

public java.lang.String getAbstractAttr()
See the abstract attribute from .

Specified by:
getAbstractAttr in interface XSMILBrushElement
Overrides:
getAbstractAttr in class ElementTimeContainerImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setAbstractAttr

public void setAbstractAttr(java.lang.String abstractAttr)
                     throws org.w3c.dom.DOMException
Specified by:
setAbstractAttr in interface XSMILBrushElement
Overrides:
setAbstractAttr in class ElementTimeContainerImpl
Throws:
org.w3c.dom.DOMException

getAuthor

public java.lang.String getAuthor()
See the author attribute from .

Specified by:
getAuthor in interface XSMILBrushElement
Overrides:
getAuthor in class ElementTimeContainerImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setAuthor

public void setAuthor(java.lang.String author)
               throws org.w3c.dom.DOMException
Specified by:
setAuthor in interface XSMILBrushElement
Overrides:
setAuthor in class ElementTimeContainerImpl
Throws:
org.w3c.dom.DOMException

getCopyright

public java.lang.String getCopyright()
See the copyright attribute from .

Specified by:
getCopyright in interface XSMILBrushElement
Overrides:
getCopyright in class ElementTimeContainerImpl
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setCopyright

public void setCopyright(java.lang.String copyright)
                  throws org.w3c.dom.DOMException
Specified by:
setCopyright in interface XSMILBrushElement
Overrides:
setCopyright in class ElementTimeContainerImpl
Throws:
org.w3c.dom.DOMException

getReadIndex

public java.lang.String getReadIndex()
See the readIndex attribute from .

Specified by:
getReadIndex in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setReadIndex

public void setReadIndex(java.lang.String readIndex)
                  throws org.w3c.dom.DOMException
Specified by:
setReadIndex in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException

getAColor

public java.lang.String getAColor()
Get the color attribute, giving precendence to the animated value.

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

getColor

public java.lang.String getColor()
Get the color attribute.

Specified by:
getColor in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setColor

public void setColor(java.lang.String color)
              throws org.w3c.dom.DOMException
Specified by:
setColor in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException

getErase

public short getErase()
See the erase attribute.

Specified by:
getErase in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setErase

public void setErase(short erase)
              throws org.w3c.dom.DOMException
Specified by:
setErase in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException

getTabindex

public int getTabindex()
See the tabindex attribute in LinkingAttributes module.

Specified by:
getTabindex in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setTabindex

public void setTabindex(int tabindex)
                 throws org.w3c.dom.DOMException
Specified by:
setTabindex in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException

getTransIn

public java.lang.String getTransIn()
See the transIn attribute in transition effects module.

Specified by:
getTransIn in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setTransIn

public void setTransIn(java.lang.String transIn)
                throws org.w3c.dom.DOMException
Specified by:
setTransIn in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException

getTransOut

public java.lang.String getTransOut()
See the transOut attribute in transition effects module.

Specified by:
getTransOut in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.

setTransOut

public void setTransOut(java.lang.String transOut)
                 throws org.w3c.dom.DOMException
Specified by:
setTransOut in interface XSMILBrushElement
Throws:
org.w3c.dom.DOMException


X-Smiles 1.2