net.mlw.gfw.ext.basic.action
Class NewGameActionListener
java.lang.Object
|
+--net.mlw.gfw.ext.basic.action.NewGameActionListener
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
- public class NewGameActionListener
- extends java.lang.Object
- implements java.awt.event.ActionListener
This ActionListener starts up a new server dialog.
- Version:
- $Revision: 1.3 $ $Date: 2004/07/01 14:31:39 $
- Author:
- Matthew L. Wilson
Constructor Summary |
NewGameActionListener(javax.swing.JFrame frame,
net.mlw.gfw.server.impl.DefaultServerDecorator server,
java.lang.Class serverClass,
net.mlw.gfw.client.ClientContext clientContext,
net.mlw.gfw.event.EventHandler client)
The standard constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewGameActionListener
public NewGameActionListener(javax.swing.JFrame frame,
net.mlw.gfw.server.impl.DefaultServerDecorator server,
java.lang.Class serverClass,
net.mlw.gfw.client.ClientContext clientContext,
net.mlw.gfw.event.EventHandler client)
- The standard constructor.
- Parameters:
frame
- The Owner of the dialog.server
- The DefaultServerDecorator that a Server will be passed to.serverClass
- The classsName of the server implementation.clientContext
- The ClientContext, used to get the username of the player.client
- The EventHandler used by the client gui.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
Copyright © 2003-2004 mlavilson. All Rights Reserved.