Class FileCloseAction

  extended by
All Implemented Interfaces:
ActionListener, EventListener

public class FileCloseAction
extends Object
implements ActionListener

Action that tells an observable to close a file and/or releases resources relevant for the file that is being closed.

Field Summary
protected  Observable observable
          An object that allows you to close a file.
Constructor Summary
FileCloseAction(Observable observable)
          Creates the close action.
Method Summary
 void actionPerformed(ActionEvent evt)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected Observable observable
An object that allows you to close a file.

Constructor Detail


public FileCloseAction(Observable observable)
Creates the close action.

observable - the object that expects you to close a file.
Method Detail


public void actionPerformed(ActionEvent evt)
Specified by:
actionPerformed in interface ActionListener
See Also:

Hosted by Hostbasket