|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.anim.timing.TimedElement
org.apache.batik.bridge.SVGAnimationElementBridge.SVGTimedElement
protected class SVGAnimationElementBridge.SVGTimedElement
A TimedElement class for SVG animation elements.
Field Summary |
---|
Fields inherited from class org.apache.batik.anim.timing.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 |
Constructor Summary | |
---|---|
protected |
SVGAnimationElementBridge.SVGTimedElement()
|
Method Summary | |
---|---|
protected void |
fireTimeEvent(String eventType,
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(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(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. |
String |
toString()
Returns a string representation of this animation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected SVGAnimationElementBridge.SVGTimedElement()
Method Detail |
---|
public Element getElement()
getElement
in class TimedElement
protected void fireTimeEvent(String eventType, 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(String id)
getTimedElementById
in class TimedElement
protected EventTarget getEventTargetById(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 String toString()
toString
in class Object
protected boolean isConstantAnimation()
isConstantAnimation
in class TimedElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |