public class GGNavigationAdapter extends java.lang.Object implements GGNavigationListener
| Constructor and Description |
|---|
GGNavigationAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
paused()
Event callback method called when the pause button is hit.
|
boolean |
periodChanged(int simulationPeriod)
Event callback method called when the simulation period slider is moved.
|
boolean |
resetted()
Event callback method called when the reset button is hit.
|
boolean |
started()
Event callback method called when the run button is hit.
|
boolean |
stepped()
Event callback method called when the step button is hit.
|
public boolean started()
started in interface GGNavigationListenerpublic boolean paused()
paused in interface GGNavigationListenerpublic boolean stepped()
stepped in interface GGNavigationListenerpublic boolean resetted()
resetted in interface GGNavigationListenerpublic boolean periodChanged(int simulationPeriod)
periodChanged in interface GGNavigationListenersimulationPeriod - the new value of the simulation period