com.croftsoft.apps.infant
Class InfantController

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

public final class InfantController
extends NilController

Modifies model based on user input.

Since:
2005-03-16
Version:
$Id: InfantController.java,v 1.28 2007/12/01 00:51:07 croft Exp $
Author:
David Wallace Croft

Field Summary
 
Fields inherited from class com.croftsoft.core.gui.controller.NilController
INSTANCE
 
Constructor Summary
InfantController(InfantConfig infantConfig, Queue<InfantMessage> requestQueue)
           
 
Method Summary
 void actionPerformed(ActionEvent actionEvent)
           
 void keyReleased(KeyEvent keyEvent)
           
 void update()
           
 
Methods inherited from class com.croftsoft.core.gui.event.UserInputAdapter
keyPressed, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, 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 javax.swing.event.ChangeListener
stateChanged
 
Methods inherited from interface java.awt.event.KeyListener
keyPressed, keyTyped
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged, mouseMoved
 
Methods inherited from interface java.awt.event.WindowListener
windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 

Constructor Detail

InfantController

public InfantController(InfantConfig infantConfig,
                        Queue<InfantMessage> requestQueue)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent actionEvent)
Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class UserInputAdapter

keyReleased

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

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)