All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----java.awt.Panel | +----java.applet.Applet | +----examples.warehouse.GUI.Wrhsaplt
public Wrhsaplt()
public void actionPerformed(ActionEvent e)
public String getAppletInfo()
public void init()
public void interrupt()
public boolean isapplet()
main
isapplet
public void isapplet(boolean isapplet)
- Am I an applet or an autonomous program ?
- Parameters:
- isapplet - True to set the status as applet
isnotapplet
public boolean isnotapplet()
- Am I an applet or an autonomous program ?
- Returns:
- boolean True if started from
main
main
public static void main(String args[])
- main entrypoint - starts the part when it is run as an application
- Parameters:
- args - java.lang.String[]
simulate
public void simulate(double arr,
double rem,
int in1,
int in2,
int out1,
int out2,
int m,
double simperiod,
int seed)
- Start the simulation
- Parameters:
- arr - double Arrivals frequency
- rem - double Removals frequency
- in1 - int Lower boud for incoming batches
- in2 - int Upper boud for incoming batches
- out1 - int Lowerer boud for outgoing batches
- out2 - int Upper boud for outgoing batches
- m - int Warehouse size
- simperiod - double Simulation length
- seed - int Seed for random generator
termina
public void termina()
- Ends the execution of the program
update
public void update(Observable o,
Object arg)
- Called by observables (Simulation).
- Parameters:
- o - Caller
- arg - Parameter. If the caller is a Simulation, arg is the active process
windowActivated
public void windowActivated(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowClosed
public void windowClosed(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowClosing
public void windowClosing(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowDeiconified
public void windowDeiconified(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowIconified
public void windowIconified(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
windowOpened
public void windowOpened(WindowEvent e)
- Method to handle events for the WindowListener interface.
- Parameters:
- e - java.awt.event.WindowEvent
All Packages Class Hierarchy This Package Previous Next Index