org.apache.batik.anim.timing
public abstract class TimeContainer extends TimedElement
Field Summary | |
---|---|
protected List | children
The child TimedElements of this time container. |
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. |
Returns: the number of seconds until this element becomes active again
if it currently is not, 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.