public class TimegraphAdapter extends java.lang.Object implements TimegraphListener
TimegraphListener
s.Constructor and Description |
---|
TimegraphAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
elementActivated(TimedElement e,
float t)
Invoked to indicate that a timed element has become active.
|
void |
elementAdded(TimedElement e)
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 |
elementRemoved(TimedElement e)
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 |
intervalBegan(TimedElement e,
Interval i)
Invoked to indivate that the given interval began.
|
void |
intervalChanged(TimedElement e,
Interval i)
Invoked to indivate that an interval's endpoints were changed.
|
void |
intervalCreated(TimedElement e,
Interval i)
Invoked to indivate that an interval was created for the given
timed element.
|
void |
intervalRemoved(TimedElement e,
Interval i)
Invoked to indivate that an interval was removed for the given
timed element.
|
public void elementAdded(TimedElement e)
elementAdded
in interface TimegraphListener
public void elementRemoved(TimedElement e)
elementRemoved
in interface TimegraphListener
public void elementActivated(TimedElement e, float t)
elementActivated
in interface TimegraphListener
e
- the TimedElement that became activet
- the time (in parent simple time) that the element became activepublic void elementFilled(TimedElement e, float t)
elementFilled
in interface TimegraphListener
public void elementDeactivated(TimedElement e, float t)
elementDeactivated
in interface TimegraphListener
public void intervalCreated(TimedElement e, Interval i)
intervalCreated
in interface TimegraphListener
public void intervalRemoved(TimedElement e, Interval i)
intervalRemoved
in interface TimegraphListener
public void intervalChanged(TimedElement e, Interval i)
intervalChanged
in interface TimegraphListener
public void intervalBegan(TimedElement e, Interval i)
intervalBegan
in interface TimegraphListener
i
- the Interval that began, or null if no interval is
active for the given timed element.public void elementRepeated(TimedElement e, int i, float t)
elementRepeated
in interface TimegraphListener
public void elementInstanceTimesChanged(TimedElement e, float isBegin)
elementInstanceTimesChanged
in interface TimegraphListener
Copyright © 2022 Apache Software Foundation. All Rights Reserved.