public class AnimationBarListener extends java.lang.Object implements java.awt.event.ActionListener, AnimateClient, IWindowListener
| Constructor and Description |
|---|
AnimationBarListener(TimeAnimation animation,
AnimationDialog dialog,
ViewDocument view) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
destroyThread()
Stops the thread an set this to null.
|
void |
end()
This event is thrown when the animation finishes
|
void |
endIteration(RelativeInstant endDateTime)
This event is thrown when an iteration finishes.
|
void |
update(RelativeInstant startDateTime,
RelativeInstant endDateTime)
Updates the animation client
|
void |
windowActivated()
This method it is invoked when the window is activated.
|
void |
windowClosed()
This method it is invoked when the window is closed
|
public AnimationBarListener(TimeAnimation animation, AnimationDialog dialog, ViewDocument view)
public void destroyThread()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void update(RelativeInstant startDateTime, RelativeInstant endDateTime)
AnimateClientupdate in interface AnimateClientstartDateTime - Date when the step startsendDateTime - Date when the step endspublic void endIteration(RelativeInstant endDateTime)
AnimateClientendIteration in interface AnimateClientendDateTime - Date when the iteration endspublic void end()
AnimateClientend in interface AnimateClientpublic void windowActivated()
IWindowListenerwindowActivated in interface IWindowListenerpublic void windowClosed()
IWindowListenerwindowClosed in interface IWindowListener