public class KernelListenerAdapter extends java.lang.Object implements KernelListener
| Constructor and Description |
|---|
KernelListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
agentAdded(Kernel kernel,
AgentProxy agent)
Notification that an agent has been added.
|
void |
agentRemoved(Kernel kernel,
AgentProxy agent)
Notification that an agent has been removed.
|
void |
simulationEnded(Kernel kernel)
Notification that the kernel has ended the simulation and shut down.
|
void |
simulationStarted(Kernel kernel)
Notification that the kernel has started the simulation.
|
void |
simulatorAdded(Kernel kernel,
SimulatorProxy simulator)
Notification that a simulator has been added.
|
void |
simulatorRemoved(Kernel kernel,
SimulatorProxy simulator)
Notification that a simulator has been removed.
|
void |
timestepCompleted(Kernel kernel,
Timestep time)
Notification that a timestep has been completed.
|
void |
viewerAdded(Kernel kernel,
ViewerProxy viewer)
Notification that a viewer has been added.
|
void |
viewerRemoved(Kernel kernel,
ViewerProxy viewer)
Notification that a viewer has been removed.
|
public void simulationStarted(Kernel kernel)
KernelListenersimulationStarted in interface KernelListenerkernel - The kernel.public void simulationEnded(Kernel kernel)
KernelListenersimulationEnded in interface KernelListenerkernel - The kernel.public void timestepCompleted(Kernel kernel, Timestep time)
KernelListenertimestepCompleted in interface KernelListenerkernel - The kernel.time - The timestep that has just been completed.public void agentAdded(Kernel kernel, AgentProxy agent)
KernelListeneragentAdded in interface KernelListenerkernel - The kernel.agent - The agent that was added.public void agentRemoved(Kernel kernel, AgentProxy agent)
KernelListeneragentRemoved in interface KernelListenerkernel - The kernel.agent - The agent that was removed.public void simulatorAdded(Kernel kernel, SimulatorProxy simulator)
KernelListenersimulatorAdded in interface KernelListenerkernel - The kernel.simulator - The simulator that was added.public void simulatorRemoved(Kernel kernel, SimulatorProxy simulator)
KernelListenersimulatorRemoved in interface KernelListenerkernel - The kernel.simulator - The simulator that was removed.public void viewerAdded(Kernel kernel, ViewerProxy viewer)
KernelListenerviewerAdded in interface KernelListenerkernel - The kernel.viewer - The viewer that was added.public void viewerRemoved(Kernel kernel, ViewerProxy viewer)
KernelListenerviewerRemoved in interface KernelListenerkernel - The kernel.viewer - The viewer that was removed.