public class StandardWorldModelViewerComponent extends KernelListenerAdapter implements GUIComponent
| Constructor and Description |
|---|
StandardWorldModelViewerComponent()
Construct a StandardWorldModelViewerComponent.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
getGUIComponent()
Get a JComponent that should be added to the GUI.
|
java.lang.String |
getGUIComponentName()
Get the name of this part of the GUI.
|
void |
simulationStarted(Kernel kernel)
Notification that the kernel has started the simulation.
|
void |
timestepCompleted(Kernel kernel,
Timestep time)
Notification that a timestep has been completed.
|
agentAdded, agentRemoved, simulationEnded, simulatorAdded, simulatorRemoved, viewerAdded, viewerRemovedpublic StandardWorldModelViewerComponent()
public void simulationStarted(Kernel kernel)
KernelListenersimulationStarted in interface KernelListenersimulationStarted in class KernelListenerAdapterkernel - The kernel.public void timestepCompleted(Kernel kernel, Timestep time)
KernelListenertimestepCompleted in interface KernelListenertimestepCompleted in class KernelListenerAdapterkernel - The kernel.time - The timestep that has just been completed.public javax.swing.JComponent getGUIComponent()
GUIComponentgetGUIComponent in interface GUIComponentpublic java.lang.String getGUIComponentName()
GUIComponentgetGUIComponentName in interface GUIComponent