Package org.apache.batik.anim.timing
Interface TimegraphListener
- All Known Implementing Classes:
TimegraphAdapter
public interface TimegraphListener
An interface for listening to timing events in a timed document.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
elementActivated
(TimedElement e, float t) Invoked to indicate that a timed element has become active.void
Invoked to indicate that a timed element has been added to the document.void
elementDeactivated
(TimedElement e, float t) Invoked to indicate that a timed element has become inactive and is not filling.void
elementFilled
(TimedElement e, float t) Invoked to indicate that a timed element has become inactive and is filling.void
elementInstanceTimesChanged
(TimedElement e, float isBegin) Invoked to indicate that the list of instance times for the given timed element has been updated.void
Invoked to indicate that a timed element has been removed from the document.void
elementRepeated
(TimedElement e, int i, float t) Invoked to indicate that the given timed element began a repeat iteration at the specified time.void
Invoked to indivate that the given interval began.void
Invoked to indivate that an interval's endpoints were changed.void
Invoked to indivate that an interval was created for the given timed element.void
Invoked to indivate that an interval was removed for the given timed element.
-
Method Details
-
elementAdded
Invoked to indicate that a timed element has been added to the document. -
elementRemoved
Invoked to indicate that a timed element has been removed from the document. -
elementActivated
Invoked to indicate that a timed element has become active.- Parameters:
e
- the TimedElement that became activet
- the time (in parent simple time) that the element became active
-
elementFilled
Invoked to indicate that a timed element has become inactive and is filling. -
elementDeactivated
Invoked to indicate that a timed element has become inactive and is not filling. -
intervalCreated
Invoked to indivate that an interval was created for the given timed element. -
intervalRemoved
Invoked to indivate that an interval was removed for the given timed element. -
intervalChanged
Invoked to indivate that an interval's endpoints were changed. -
intervalBegan
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.
-
elementRepeated
Invoked to indicate that the given timed element began a repeat iteration at the specified time. -
elementInstanceTimesChanged
Invoked to indicate that the list of instance times for the given timed element has been updated.
-