Package org.apache.batik.anim.timing
Class TimegraphAdapter
java.lang.Object
org.apache.batik.anim.timing.TimegraphAdapter
- All Implemented Interfaces:
TimegraphListener
An adapter class for
TimegraphListener
s.- Version:
- $Id: TimegraphAdapter.java 1733416 2016-03-03 07:07:13Z gadams $
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
TimegraphAdapter
public TimegraphAdapter()
-
-
Method Details
-
elementAdded
Invoked to indicate that a timed element has been added to the document.- Specified by:
elementAdded
in interfaceTimegraphListener
-
elementRemoved
Invoked to indicate that a timed element has been removed from the document.- Specified by:
elementRemoved
in interfaceTimegraphListener
-
elementActivated
Invoked to indicate that a timed element has become active.- Specified by:
elementActivated
in interfaceTimegraphListener
- 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.- Specified by:
elementFilled
in interfaceTimegraphListener
-
elementDeactivated
Invoked to indicate that a timed element has become inactive and is not filling.- Specified by:
elementDeactivated
in interfaceTimegraphListener
-
intervalCreated
Invoked to indivate that an interval was created for the given timed element.- Specified by:
intervalCreated
in interfaceTimegraphListener
-
intervalRemoved
Invoked to indivate that an interval was removed for the given timed element.- Specified by:
intervalRemoved
in interfaceTimegraphListener
-
intervalChanged
Invoked to indivate that an interval's endpoints were changed.- Specified by:
intervalChanged
in interfaceTimegraphListener
-
intervalBegan
Invoked to indivate that the given interval began.- Specified by:
intervalBegan
in interfaceTimegraphListener
- 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.- Specified by:
elementRepeated
in interfaceTimegraphListener
-
elementInstanceTimesChanged
Invoked to indicate that the list of instance times for the given timed element has been updated.- Specified by:
elementInstanceTimesChanged
in interfaceTimegraphListener
-