cin.aquario
Class NoOxigen

java.lang.Object
  extended bycin.aquario.NoOxigen
All Implemented Interfaces:
java.util.EventListener, ItemListener

public class NoOxigen
extends java.lang.Object
implements ItemListener

Defines a item listener to verify if the attribute 'oxigen_level' has gone to a negative value. This listener stops the simulation clock.


Constructor Summary
NoOxigen()
           
 
Method Summary
 void itemStateChanged(ItemEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOxigen

public NoOxigen()
Method Detail

itemStateChanged

public void itemStateChanged(ItemEvent e)
Specified by:
itemStateChanged in interface ItemListener