My Movies 1.0.0

hirondelle.movies.edit
Class MovieController

Object
  extended by MovieController
All Implemented Interfaces:
ActionListener, EventListener

final class MovieController
extends Object
implements ActionListener

Add a new Movie to the database, or change an existing one.

It's important to note that this class uses most of the other classes in this feature to get its job done (it doesn't use the Action classes):


Constructor Summary
MovieController(MovieView aView, Edit aEdit)
          Constructor.
 
Method Summary
 void actionPerformed(ActionEvent aEvent)
          Attempt to add a new Movie, or edit an existing one.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovieController

MovieController(MovieView aView,
                Edit aEdit)
Constructor.

Parameters:
aView - user interface
aEdit - identifies what type of edit - add or change
Method Detail

actionPerformed

public void actionPerformed(ActionEvent aEvent)
Attempt to add a new Movie, or edit an existing one.

If the input is invalid, then inform the user of the problem(s). If the input is valid, then add or change the Movie, close the dialog, and update the main window's display.

Specified by:
actionPerformed in interface ActionListener

My Movies 1.0.0

Copyright Hirondelle Systems - Generated 2008Dec30.15.53