Uses of Class
ppJava.serie04.oceanlife.OceanException

Uses of OceanException in ppJava.serie04.oceanlife
 

Methods in ppJava.serie04.oceanlife that throw OceanException
 void OceanGUI.addNewObject(OceanObject oceanObject)
          Adds a oceanObject to ComboBox (of toolBar) and appends it to ocean
 void OceanInterface.addOceanObject(OceanObject oceanObject)
          Appends an oceanObject to the list
 void Ocean.addOceanObject(OceanObject oceanObject)
           
 void OceanObject.checkPosition(Ocean ocean)
          Check if the position is in the Ocean
 int OceanInterface.indexOfNearestObject(int[] position)
          Compute the next item to a specific position
 int Ocean.indexOfNearestObject(int[] position)
           
private  void OceanGUI.removeObject(int index)
          Removes a specific oceanObject at an given index (Removes this also from GUI)
 void OceanInterface.setDepth(int depth)
          Set the depth of ocean
 void OceanInterface.setWidth(int width)
          Set the width of ocean
 void Ocean.setWidth(int width)
           
 

Constructors in ppJava.serie04.oceanlife that throw OceanException
Ocean(int width, int depth, java.util.LinkedList<OceanObject> oceanObjects)
          Constructor for an ocean with bounds and a already defined linked list of oceanObjects which can be null