actions
Class NewMapAction

java.lang.Object
  extended by actions.NewMapAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class NewMapAction
extends java.lang.Object
implements java.awt.event.ActionListener

Action for creating a new map.


Field Summary
private  MainWindow mainWindow
          the main frame
 
Constructor Summary
NewMapAction(MainWindow window)
          Constructs the new map action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
          Creates a new map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainWindow

private MainWindow mainWindow
the main frame

Constructor Detail

NewMapAction

public NewMapAction(MainWindow window)
Constructs the new map action.

Parameters:
window - - the main frame
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Creates a new map.

Specified by:
actionPerformed in interface java.awt.event.ActionListener