Package org.apache.batik.anim.timing
Class TimegraphAdapter
- java.lang.Object
-
- org.apache.batik.anim.timing.TimegraphAdapter
-
- All Implemented Interfaces:
TimegraphListener
public class TimegraphAdapter extends java.lang.Object implements TimegraphListener
An adapter class forTimegraphListeners.- Version:
- $Id: TimegraphAdapter.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Constructor Summary
Constructors Constructor Description TimegraphAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
elementAdded
public void elementAdded(TimedElement e)
Invoked to indicate that a timed element has been added to the document.- Specified by:
elementAddedin interfaceTimegraphListener
-
elementRemoved
public void elementRemoved(TimedElement e)
Invoked to indicate that a timed element has been removed from the document.- Specified by:
elementRemovedin interfaceTimegraphListener
-
elementActivated
public void elementActivated(TimedElement e, float t)
Invoked to indicate that a timed element has become active.- Specified by:
elementActivatedin interfaceTimegraphListener- Parameters:
e- the TimedElement that became activet- the time (in parent simple time) that the element became active
-
elementFilled
public void elementFilled(TimedElement e, float t)
Invoked to indicate that a timed element has become inactive and is filling.- Specified by:
elementFilledin interfaceTimegraphListener
-
elementDeactivated
public void elementDeactivated(TimedElement e, float t)
Invoked to indicate that a timed element has become inactive and is not filling.- Specified by:
elementDeactivatedin interfaceTimegraphListener
-
intervalCreated
public void intervalCreated(TimedElement e, Interval i)
Invoked to indivate that an interval was created for the given timed element.- Specified by:
intervalCreatedin interfaceTimegraphListener
-
intervalRemoved
public void intervalRemoved(TimedElement e, Interval i)
Invoked to indivate that an interval was removed for the given timed element.- Specified by:
intervalRemovedin interfaceTimegraphListener
-
intervalChanged
public void intervalChanged(TimedElement e, Interval i)
Invoked to indivate that an interval's endpoints were changed.- Specified by:
intervalChangedin interfaceTimegraphListener
-
intervalBegan
public void intervalBegan(TimedElement e, Interval i)
Invoked to indivate that the given interval began.- Specified by:
intervalBeganin interfaceTimegraphListener- Parameters:
i- the Interval that began, or null if no interval is active for the given timed element.
-
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.- Specified by:
elementRepeatedin interfaceTimegraphListener
-
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.- Specified by:
elementInstanceTimesChangedin interfaceTimegraphListener
-
-