|
||||||||||
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.anim.timing.TimeContainer
public abstract class TimeContainer
An abstract base class for time container elements.
Field Summary | |
---|---|
protected List |
children
The child TimedElement s of this time container. |
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 | |
---|---|
TimeContainer()
|
Method Summary | |
---|---|
void |
addChild(TimedElement e)
Adds a TimedElement to this container. |
TimedElement[] |
getChildren()
Returns an array of the children of this container. |
abstract float |
getDefaultBegin(TimedElement child)
Returns the default begin time for the given child timed element. |
protected boolean |
isConstantAnimation()
Returns whether this timed element is for a constant animation (i.e., a 'set' animation. |
void |
removeChild(TimedElement e)
Removes a TimedElement from this container. |
protected void |
reset(boolean clearCurrentBegin)
Resets this element. |
protected float |
sampleAt(float parentSimpleTime,
boolean hyperlinking)
Calculates the local simple time. |
protected float |
sampleChildren(float parentSimpleTime,
boolean hyperlinking)
Samples all the child timed elements. |
protected void |
setRoot(TimedElement e,
TimedDocumentRoot root)
Recursively sets the TimedDocumentRoot of the given
TimedElement and any of its descendants. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List children
TimedElement
s of this time container.
Constructor Detail |
---|
public TimeContainer()
Method Detail |
---|
public void addChild(TimedElement e)
TimedElement
to this container.
protected void setRoot(TimedElement e, TimedDocumentRoot root)
TimedDocumentRoot
of the given
TimedElement
and any of its descendants.
public void removeChild(TimedElement e)
TimedElement
from this container.
public TimedElement[] getChildren()
protected float sampleAt(float parentSimpleTime, boolean hyperlinking)
sampleAt
in class TimedElement
Float.POSITIVE_INFINITY
if this
element will become active at some undetermined point in the
future (because of unresolved begin times, for example) or
will never become active again, or 0f
if the
element is currently active.protected float sampleChildren(float parentSimpleTime, boolean hyperlinking)
protected void reset(boolean clearCurrentBegin)
reset
in class TimedElement
protected boolean isConstantAnimation()
isConstantAnimation
in class TimedElement
public abstract float getDefaultBegin(TimedElement child)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |