protected class SVGAnimationElementBridge.SVGTimedElement extends TimedElement
beginDependents, beginInstanceTimes, beginTimes, currentInterval, currentRepeatIteration, durMedia, endDependents, endInstanceTimes, endTimes, FILL_FREEZE, FILL_REMOVE, fillMode, handledEvents, hasParsed, hasPropagated, INDEFINITE, isActive, isFrozen, isSampling, lastIntervalEnd, lastRepeatTime, lastSampleTime, localizableSupport, max, maxMedia, min, minMedia, parent, previousInterval, repeatCount, repeatDur, repeatDuration, RESOURCES, RESTART_ALWAYS, RESTART_NEVER, RESTART_WHEN_NOT_ACTIVE, restartMode, root, shouldUpdateCurrentInterval, simpleDur, UNRESOLVED
SMIL_ACCUMULATE_ATTRIBUTE, SMIL_ADDITIVE_ATTRIBUTE, SMIL_ALWAYS_VALUE, SMIL_ANIMATE_COLOR_TAG, SMIL_ANIMATE_MOTION_TAG, SMIL_ANIMATE_TAG, SMIL_ATTRIBUTE_NAME_ATTRIBUTE, SMIL_ATTRIBUTE_TYPE_ATTRIBUTE, SMIL_AUTO_VALUE, SMIL_BEGIN_ATTRIBUTE, SMIL_BEGIN_DEFAULT_VALUE, SMIL_BEGIN_EVENT_NAME, SMIL_BY_ATTRIBUTE, SMIL_CALC_MODE_ATTRIBUTE, SMIL_CSS_VALUE, SMIL_DEFAULT_VALUE, SMIL_DISCRETE_VALUE, SMIL_DUR_ATTRIBUTE, SMIL_END_ATTRIBUTE, SMIL_END_EVENT_NAME, SMIL_FILL_ATTRIBUTE, SMIL_FREEZE_VALUE, SMIL_FROM_ATTRIBUTE, SMIL_HOLD_VALUE, SMIL_INDEFINITE_VALUE, SMIL_KEY_POINTS_ATTRIBUTE, SMIL_KEY_SPLINES_ATTRIBUTE, SMIL_KEY_TIMES_ATTRIBUTE, SMIL_LINEAR_VALUE, SMIL_MAX_ATTRIBUTE, SMIL_MEDIA_VALUE, SMIL_MIN_ATTRIBUTE, SMIL_NEVER_VALUE, SMIL_NONE_VALUE, SMIL_ORIGIN_ATTRIBUTE, SMIL_PACED_VALUE, SMIL_PATH_ATTRIBUTE, SMIL_REMOVE_VALUE, SMIL_REPEAT_COUNT_ATTRIBUTE, SMIL_REPEAT_DUR_ATTRIBUTE, SMIL_REPEAT_EVENT_ALT_NAME, SMIL_REPEAT_EVENT_NAME, SMIL_REPLACE_VALUE, SMIL_RESTART_ATTRIBUTE, SMIL_SET_TAG, SMIL_SPLINE_VALUE, SMIL_SUM_VALUE, SMIL_TO_ATTRIBUTE, SMIL_VALUES_ATTRIBUTE, SMIL_WHEN_NOT_ACTIVE_VALUE, SMIL_XML_VALUE
Modifier | Constructor and Description |
---|---|
protected |
SVGTimedElement() |
Modifier and Type | Method and Description |
---|---|
protected void |
fireTimeEvent(java.lang.String eventType,
java.util.Calendar time,
int detail)
Fires a TimeEvent of the given type on this element.
|
protected EventTarget |
getAnimationEventTarget()
Returns the target of this animation as an
EventTarget . |
Element |
getElement()
Returns the DOM element this timed element is for.
|
protected EventTarget |
getEventTargetById(java.lang.String id)
Returns the event target with the given ID.
|
protected EventTarget |
getRootEventTarget()
Returns the event target that should be listened to for
access key events.
|
protected TimedElement |
getTimedElementById(java.lang.String id)
Returns the timed element with the given ID.
|
boolean |
isBefore(TimedElement other)
Returns whether this timed element comes before the given timed
element in document order.
|
protected boolean |
isConstantAnimation()
Returns whether this timed element is for a constant animation (i.e.,
a 'set' animation.
|
protected void |
removeFill()
Invoked to indicate that this timed element has had its fill removed.
|
protected void |
sampledAt(float simpleTime,
float simpleDur,
int repeatIteration)
Invoked to indicate that this timed element has been sampled at the
given time.
|
protected void |
sampledLastValue(int repeatIteration)
Invoked to indicate that this timed element has been sampled
at the end of its active time, at an integer multiple of the
simple duration.
|
protected void |
toActive(float begin)
Invoked to indicate this timed element became active at the
specified time.
|
protected void |
toInactive(boolean stillActive,
boolean isFrozen)
Invoked to indicate that this timed element became inactive.
|
java.lang.String |
toString()
Returns a string representation of this animation.
|
addDependent, addInstanceTime, beginElement, beginElement, canBegin, canEnd, computeInterval, createException, deinitialize, endElement, endElement, endHasEventConditions, fireTimeEvent, formatMessage, getActiveDur, getActiveTime, getBeginTimingSpecifiers, getCurrentBeginTime, getEndTimingSpecifiers, getHyperlinkBeginTime, getImplicitDur, getLastSampleTime, getLocale, getRoot, getSimpleDur, getSimpleTime, initialize, instanceTimeChanged, isUnresolved, maxTime, minTime, minusTime, multiplyTime, notifyNewInterval, notifyRemoveInterval, parseAttributes, parseBegin, parseClockValue, parseDur, parseEnd, parseFill, parseMax, parseMin, parseRepeatCount, parseRepeatDur, parseRestart, removeDependent, removeInstanceTime, reset, sampleAt, selectNewInterval, setLocale, toString
public Element getElement()
getElement
in class TimedElement
protected void fireTimeEvent(java.lang.String eventType, java.util.Calendar time, int detail)
fireTimeEvent
in class TimedElement
eventType
- the type of TimeEvent ("beginEvent", "endEvent"
or "repeatEvent").time
- the timestamp of the event objectprotected void toActive(float begin)
toActive
in class TimedElement
begin
- the time the element became active, in document
simple timeprotected void toInactive(boolean stillActive, boolean isFrozen)
toInactive
in class TimedElement
stillActive
- if true, indicates that the element is still
actually active, but between the end of the
computed repeat duration and the end of the
intervalisFrozen
- whether the element is frozen or notprotected void removeFill()
removeFill
in class TimedElement
protected void sampledAt(float simpleTime, float simpleDur, int repeatIteration)
sampledAt
in class TimedElement
simpleTime
- the sample time in local simple timesimpleDur
- the simple duration of the elementrepeatIteration
- the repeat iteration during which the element
was sampledprotected void sampledLastValue(int repeatIteration)
sampledLastValue
in class TimedElement
protected TimedElement getTimedElementById(java.lang.String id)
getTimedElementById
in class TimedElement
protected EventTarget getEventTargetById(java.lang.String id)
getEventTargetById
in class TimedElement
protected EventTarget getRootEventTarget()
getRootEventTarget
in class TimedElement
protected EventTarget getAnimationEventTarget()
EventTarget
. Used
for eventbase timing specifiers where the element ID is omitted.getAnimationEventTarget
in class TimedElement
public boolean isBefore(TimedElement other)
isBefore
in class TimedElement
public java.lang.String toString()
toString
in class java.lang.Object
protected boolean isConstantAnimation()
isConstantAnimation
in class TimedElement
Copyright © 2022 Apache Software Foundation. All Rights Reserved.