public abstract class OMSVGAnimationElement extends OMSVGElement implements HasGraphicalHandlers, HasAnimationHandlers, ISVGTests, ISVGExternalResourcesRequired
The OMSVGAnimationElement interface is
the base interface for all of the animation element interfaces: OMSVGAnimateElement, OMSVGSetElement,
OMSVGAnimateColorElement, OMSVGAnimateMotionElement
and OMSVGAnimateTransformElement.
Unlike
other SVG DOM interfaces, the SVG DOM does not specify convenience DOM
properties corresponding to the various language attributes on SVG's animation
elements. Specification of these convenience properties in a way that will
be compatible with future versions of SMIL Animation is expected in a future
version of SVG. The current method for accessing and modifying the attributes
on the animation elements is to use the standard getAttribute,
setAttribute, getAttributeNS and setAttributeNS
defined in DOM
Level 2 Core [DOM2].
| Modifier | Constructor and Description |
|---|---|
protected |
OMSVGAnimationElement(SVGAnimationElement ot) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addActivateHandler(ActivateHandler handler)
Adds a
ActivateHandler handler. |
com.google.gwt.event.shared.HandlerRegistration |
addBeginHandler(BeginHandler handler)
Adds a
BeginHandler handler. |
com.google.gwt.event.shared.HandlerRegistration |
addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addDragEndHandler(com.google.gwt.event.dom.client.DragEndHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addDragEnterHandler(com.google.gwt.event.dom.client.DragEnterHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addDragHandler(com.google.gwt.event.dom.client.DragHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addDragLeaveHandler(com.google.gwt.event.dom.client.DragLeaveHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addDragOverHandler(com.google.gwt.event.dom.client.DragOverHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addDragStartHandler(com.google.gwt.event.dom.client.DragStartHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addDropHandler(com.google.gwt.event.dom.client.DropHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addEndHandler(EndHandler handler)
Adds a
EndHandler handler. |
com.google.gwt.event.shared.HandlerRegistration |
addFocusInHandler(FocusInHandler handler)
Adds a
FocusInHandler handler. |
com.google.gwt.event.shared.HandlerRegistration |
addFocusOutHandler(FocusOutHandler handler)
Adds a
FocusOutHandler handler. |
com.google.gwt.event.shared.HandlerRegistration |
addLoadHandler(com.google.gwt.event.dom.client.LoadHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addRepeatHandler(RepeatHandler handler)
Adds a
RepeatHandler handler. |
com.google.gwt.event.shared.HandlerRegistration |
addTouchCancelHandler(com.google.gwt.event.dom.client.TouchCancelHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addTouchEndHandler(com.google.gwt.event.dom.client.TouchEndHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addTouchMoveHandler(com.google.gwt.event.dom.client.TouchMoveHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler) |
void |
beginElement()
Creates a begin instance time for the current time.
|
void |
beginElementAt(float offset)
Creates a begin instance time for the current time plus the specified offset.
|
void |
endElement()
Creates an end instance time for the current time.
|
void |
endElementAt(float offset)
Creates a end instance time for the current time plus the specified offset.
|
float |
getCurrentTime()
Returns the current time in seconds relative to time zero for the given
time container.
|
OMSVGAnimatedBoolean |
getExternalResourcesRequired()
Corresponds to attribute
ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. |
OMSVGStringList |
getRequiredExtensions()
Corresponds to attribute
ISVGTests.getRequiredExtensions()
on the given element. |
OMSVGStringList |
getRequiredFeatures()
Corresponds to attribute
ISVGTests.getRequiredFeatures()
on the given element. |
float |
getSimpleDuration()
Returns the number of seconds for the simple duration for this animation.
|
float |
getStartTime()
Returns the begin time, in seconds, for this animation element's current
interval, if it exists, regardless of whether the interval has begun yet.
|
OMSVGStringList |
getSystemLanguage()
Corresponds to attribute
ISVGTests.getSystemLanguage()
on the given element. |
OMSVGElement |
getTargetElement()
The element which is being animated.
|
boolean |
hasExtension(String extension)
Returns true if the user agent supports the given extension, specified
by a URI.
|
addClassNameBaseVal, getClassName, getMarkup, getOwnerSVGElement, getStyle, getViewportElement, getXmlbase, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal, setId, setXmlbasegetAttribute, getAttributeNode, getAttributeNS, getAttributes, getElement, getElementsByTagName, getElementsByTagNameNS, getId, getTagName, hasAttribute, hasAttributeNS, removeAttribute, setAttribute, setAttributeNode, setAttributeNSaddDomHandler, addHandler, appendChild, cleanup, cloneNode, convert, convertList, dispatch, fireEvent, getChildNodes, getEventBus, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setNodeValue, toStringprotected OMSVGAnimationElement(SVGAnimationElement ot)
public final OMSVGElement getTargetElement()
public final float getStartTime()
throws com.google.gwt.core.client.JavaScriptException
DOMException(INVALID_STATE_ERR) - The animation element does not
have a current interval.com.google.gwt.core.client.JavaScriptExceptionpublic final float getCurrentTime()
public final float getSimpleDuration()
throws com.google.gwt.core.client.JavaScriptException
DOMException(NOT_SUPPORTED_ERR) - The simple duration is not determined
on the given element.com.google.gwt.core.client.JavaScriptExceptionpublic final void beginElement()
beginElementAt(0).public final void beginElementAt(float offset)
offset - The offset from the current document time, in seconds, at
which to begin the element.public final void endElement()
endElementAt(0).public final void endElementAt(float offset)
offset - offset from the current document time, in seconds, at which
to end the element.public final OMSVGAnimatedBoolean getExternalResourcesRequired()
ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. Note that the SVG DOM defines the attribute ISVGExternalResourcesRequired.getExternalResourcesRequired()
as being of type OMSVGAnimatedBoolean, whereas
the SVG language definition says that ISVGExternalResourcesRequired.getExternalResourcesRequired()
is not animated. Because the SVG language definition states that ISVGExternalResourcesRequired.getExternalResourcesRequired()
cannot be animated, the OMSVGAnimatedBoolean.getAnimVal()
will always be the same as the OMSVGAnimatedBoolean.getBaseVal().getExternalResourcesRequired in interface ISVGExternalResourcesRequiredpublic final OMSVGStringList getRequiredFeatures()
ISVGTests.getRequiredFeatures()
on the given element.getRequiredFeatures in interface ISVGTestspublic final OMSVGStringList getRequiredExtensions()
ISVGTests.getRequiredExtensions()
on the given element.getRequiredExtensions in interface ISVGTestspublic final OMSVGStringList getSystemLanguage()
ISVGTests.getSystemLanguage()
on the given element.getSystemLanguage in interface ISVGTestspublic final boolean hasExtension(String extension)
hasExtension in interface ISVGTestsextension - The name of the extension, expressed as a URI.public final com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
addClickHandler in interface com.google.gwt.event.dom.client.HasClickHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addDragEndHandler(com.google.gwt.event.dom.client.DragEndHandler handler)
addDragEndHandler in interface com.google.gwt.event.dom.client.HasDragEndHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addDragEnterHandler(com.google.gwt.event.dom.client.DragEnterHandler handler)
addDragEnterHandler in interface com.google.gwt.event.dom.client.HasDragEnterHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addDragHandler(com.google.gwt.event.dom.client.DragHandler handler)
addDragHandler in interface com.google.gwt.event.dom.client.HasDragHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addDragLeaveHandler(com.google.gwt.event.dom.client.DragLeaveHandler handler)
addDragLeaveHandler in interface com.google.gwt.event.dom.client.HasDragLeaveHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addDragOverHandler(com.google.gwt.event.dom.client.DragOverHandler handler)
addDragOverHandler in interface com.google.gwt.event.dom.client.HasDragOverHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addDragStartHandler(com.google.gwt.event.dom.client.DragStartHandler handler)
addDragStartHandler in interface com.google.gwt.event.dom.client.HasDragStartHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addDropHandler(com.google.gwt.event.dom.client.DropHandler handler)
addDropHandler in interface com.google.gwt.event.dom.client.HasDropHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addLoadHandler(com.google.gwt.event.dom.client.LoadHandler handler)
addLoadHandler in interface com.google.gwt.event.dom.client.HasLoadHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
addMouseDownHandler in interface com.google.gwt.event.dom.client.HasMouseDownHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
addMouseMoveHandler in interface com.google.gwt.event.dom.client.HasMouseMoveHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
addMouseOutHandler in interface com.google.gwt.event.dom.client.HasMouseOutHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
addMouseOverHandler in interface com.google.gwt.event.dom.client.HasMouseOverHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
addMouseUpHandler in interface com.google.gwt.event.dom.client.HasMouseUpHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addTouchCancelHandler(com.google.gwt.event.dom.client.TouchCancelHandler handler)
addTouchCancelHandler in interface com.google.gwt.event.dom.client.HasTouchCancelHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addTouchEndHandler(com.google.gwt.event.dom.client.TouchEndHandler handler)
addTouchEndHandler in interface com.google.gwt.event.dom.client.HasTouchEndHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addTouchMoveHandler(com.google.gwt.event.dom.client.TouchMoveHandler handler)
addTouchMoveHandler in interface com.google.gwt.event.dom.client.HasTouchMoveHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler)
addTouchStartHandler in interface com.google.gwt.event.dom.client.HasTouchStartHandlerspublic final com.google.gwt.event.shared.HandlerRegistration addActivateHandler(ActivateHandler handler)
HasActivateHandlersActivateHandler handler.addActivateHandler in interface HasActivateHandlershandler - the activate handlerHandlerRegistration used to remove this handlerpublic final com.google.gwt.event.shared.HandlerRegistration addBeginHandler(BeginHandler handler)
HasBeginHandlersBeginHandler handler.addBeginHandler in interface HasBeginHandlershandler - the begin handlerHandlerRegistration used to remove this handlerpublic final com.google.gwt.event.shared.HandlerRegistration addEndHandler(EndHandler handler)
HasEndHandlersEndHandler handler.addEndHandler in interface HasEndHandlershandler - the end handlerHandlerRegistration used to remove this handlerpublic final com.google.gwt.event.shared.HandlerRegistration addFocusInHandler(FocusInHandler handler)
HasFocusInHandlersFocusInHandler handler.addFocusInHandler in interface HasFocusInHandlershandler - the focusin handlerHandlerRegistration used to remove this handlerpublic final com.google.gwt.event.shared.HandlerRegistration addFocusOutHandler(FocusOutHandler handler)
HasFocusOutHandlersFocusOutHandler handler.addFocusOutHandler in interface HasFocusOutHandlershandler - the focusout handlerHandlerRegistration used to remove this handlerpublic final com.google.gwt.event.shared.HandlerRegistration addRepeatHandler(RepeatHandler handler)
HasRepeatHandlersRepeatHandler handler.addRepeatHandler in interface HasRepeatHandlershandler - the repeat handlerHandlerRegistration used to remove this handlerCopyright © 2018. All Rights Reserved.