org.apache.batik.anim.timing

Interface TimegraphListener

public interface TimegraphListener

An interface for listening to timing events in a timed document.
Method Summary
voidelementActivated(TimedElement e, float t)
Invoked to indicate that a timed element has become active.
voidelementAdded(TimedElement e)
Invoked to indicate that a timed element has been added to the document.
voidelementDeactivated(TimedElement e, float t)
Invoked to indicate that a timed element has become inactive and is not filling.
voidelementFilled(TimedElement e, float t)
Invoked to indicate that a timed element has become inactive and is filling.
voidelementInstanceTimesChanged(TimedElement e, float isBegin)
Invoked to indicate that the list of instance times for the given timed element has been updated.
voidelementRemoved(TimedElement e)
Invoked to indicate that a timed element has been removed from the document.
voidelementRepeated(TimedElement e, int i, float t)
Invoked to indicate that the given timed element began a repeat iteration at the specified time.
voidintervalBegan(TimedElement e, Interval i)
Invoked to indivate that the given interval began.
voidintervalChanged(TimedElement e, Interval i)
Invoked to indivate that an interval's endpoints were changed.
voidintervalCreated(TimedElement e, Interval i)
Invoked to indivate that an interval was created for the given timed element.
voidintervalRemoved(TimedElement e, Interval i)
Invoked to indivate that an interval was removed for the given timed element.

Method Detail

elementActivated

public void elementActivated(TimedElement e, float t)
Invoked to indicate that a timed element has become active.

Parameters: e the TimedElement that became active t the time (in parent simple time) that the element became active

elementAdded

public void elementAdded(TimedElement e)
Invoked to indicate that a timed element has been added to the document.

elementDeactivated

public void elementDeactivated(TimedElement e, float t)
Invoked to indicate that a timed element has become inactive and is not filling.

elementFilled

public void elementFilled(TimedElement e, float t)
Invoked to indicate that a timed element has become inactive and is filling.

elementInstanceTimesChanged

public void elementInstanceTimesChanged(TimedElement e, float isBegin)
Invoked to indicate that the list of instance times for the given timed element has been updated.

elementRemoved

public void elementRemoved(TimedElement e)
Invoked to indicate that a timed element has been removed from the document.

elementRepeated

public void elementRepeated(TimedElement e, int i, float t)
Invoked to indicate that the given timed element began a repeat iteration at the specified time.

intervalBegan

public void intervalBegan(TimedElement e, Interval i)
Invoked to indivate that the given interval began.

Parameters: i the Interval that began, or null if no interval is active for the given timed element.

intervalChanged

public void intervalChanged(TimedElement e, Interval i)
Invoked to indivate that an interval's endpoints were changed.

intervalCreated

public void intervalCreated(TimedElement e, Interval i)
Invoked to indivate that an interval was created for the given timed element.

intervalRemoved

public void intervalRemoved(TimedElement e, Interval i)
Invoked to indivate that an interval was removed for the given timed element.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.