public class FileCloseAction extends Object implements ActionListener
| Modifier and Type | Field and Description |
|---|---|
protected Observable |
observable
An object that allows you to close a file.
|
| Constructor and Description |
|---|
FileCloseAction(Observable observable)
Creates the close action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent evt) |
protected Observable observable
public FileCloseAction(Observable observable)
observable - the object that expects you to close a file.public void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerActionListener.actionPerformed(java.awt.event.ActionEvent)Copyright © 2015. All rights reserved.