ppJava.serie04.oceanlife
Class OceanGUI.OceanMouseListener

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by ppJava.serie04.oceanlife.OceanGUI.OceanMouseListener
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
Enclosing class:
OceanGUI

public class OceanGUI.OceanMouseListener
extends java.awt.event.MouseAdapter

Manages the "mouseClicked"-event. If there is a pendingObject, it will be added to the ocean otherwise action is ignored. (If it fails a message is displayed and object will be ignored)


Constructor Summary
OceanGUI.OceanMouseListener()
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent mouseEvent)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OceanGUI.OceanMouseListener

public OceanGUI.OceanMouseListener()
Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent mouseEvent)
Specified by:
mouseClicked in interface java.awt.event.MouseListener
Overrides:
mouseClicked in class java.awt.event.MouseAdapter