com.croftsoft.apps.jogl
Class JoglController

java.lang.Object
  extended by com.croftsoft.core.gui.event.UserInputAdapter
      extended by com.croftsoft.core.gui.controller.NilController
          extended by com.croftsoft.apps.jogl.JoglController
All Implemented Interfaces:
Controller, UserInputListener, Startable, Updatable, ActionListener, KeyListener, MouseListener, MouseMotionListener, WindowListener, EventListener, ChangeListener, MouseInputListener

public final class JoglController
extends NilController
implements Startable

Jogl controller. Modifies the Model based on user input.

Since:
2008-02-10
Version:
$Id: JoglController.java,v 1.12 2008/05/17 00:18:02 croft Exp $
Author:
David Wallace Croft

Field Summary
 
Fields inherited from class com.croftsoft.core.gui.controller.NilController
INSTANCE
 
Constructor Summary
JoglController(Mail<JoglMessage> mail)
           
 
Method Summary
 void keyPressed(KeyEvent keyEvent)
           
 void keyReleased(KeyEvent keyEvent)
           
 void mouseClicked(MouseEvent mouseEvent)
           
 void mouseMoved(MouseEvent mouseEvent)
           
 void start()
           
 void update()
           
 
Methods inherited from class com.croftsoft.core.gui.event.UserInputAdapter
actionPerformed, keyTyped, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, stateChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 
Methods inherited from interface javax.swing.event.ChangeListener
stateChanged
 
Methods inherited from interface java.awt.event.KeyListener
keyTyped
 
Methods inherited from interface java.awt.event.MouseListener
mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged
 
Methods inherited from interface java.awt.event.WindowListener
windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 

Constructor Detail

JoglController

public JoglController(Mail<JoglMessage> mail)
Method Detail

keyPressed

public void keyPressed(KeyEvent keyEvent)
Specified by:
keyPressed in interface KeyListener
Overrides:
keyPressed in class UserInputAdapter

keyReleased

public void keyReleased(KeyEvent keyEvent)
Specified by:
keyReleased in interface KeyListener
Overrides:
keyReleased in class UserInputAdapter

mouseClicked

public void mouseClicked(MouseEvent mouseEvent)
Specified by:
mouseClicked in interface MouseListener
Overrides:
mouseClicked in class UserInputAdapter

mouseMoved

public void mouseMoved(MouseEvent mouseEvent)
Specified by:
mouseMoved in interface MouseMotionListener
Overrides:
mouseMoved in class UserInputAdapter

start

public void start()
Specified by:
start in interface Startable

update

public void update()
Specified by:
update in interface Updatable
Overrides:
update in class NilController

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)