org.gscg.gameleader.mouse
Class GameMouseInputListener

java.lang.Object
  extended bynl.tudelft.simulation.dsol.gui.animation2D.mouse.InputListener
      extended byorg.gscg.gameleader.mouse.GameMouseInputListener
All Implemented Interfaces:
java.util.EventListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener

public class GameMouseInputListener
extends nl.tudelft.simulation.dsol.gui.animation2D.mouse.InputListener

The GameMouseInputListener is used to show a customized version of the introspection panel.

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:34:10 $
Author:
Stijn-Pieter van Houten

Field Summary
 
Fields inherited from class nl.tudelft.simulation.dsol.gui.animation2D.mouse.InputListener
application, mouseClicked, panel
 
Constructor Summary
GameMouseInputListener(nl.tudelft.simulation.dsol.gui.DSOLApplicationInterface application, nl.tudelft.simulation.dsol.gui.animation2D.AnimationPanel panel)
          constructs a new GameMouseInputListener
 
Method Summary
protected  java.util.List getSelectedObjects(java.awt.geom.Point2D mousePoint)
           
 void mouseClicked(java.awt.event.MouseEvent mouseEvent)
           
protected  void popup(java.awt.event.MouseEvent mouseEvent)
           
 
Methods inherited from class nl.tudelft.simulation.dsol.gui.animation2D.mouse.InputListener
getSelectedObject, keyPressed, keyReleased, keyTyped, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, pan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameMouseInputListener

public GameMouseInputListener(nl.tudelft.simulation.dsol.gui.DSOLApplicationInterface application,
                              nl.tudelft.simulation.dsol.gui.animation2D.AnimationPanel panel)
constructs a new GameMouseInputListener

Parameters:
application - the application
panel - the animation panel
Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent mouseEvent)
See Also:
MouseListener.mouseClicked(java.awt.event.MouseEvent)

popup

protected void popup(java.awt.event.MouseEvent mouseEvent)
See Also:
InputListener.popup(java.awt.event.MouseEvent)

getSelectedObjects

protected java.util.List getSelectedObjects(java.awt.geom.Point2D mousePoint)
See Also:
InputListener.getSelectedObjects(java.awt.geom.Point2D)


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.