smacs.xngr.browser.viewer
Class CloseAction
java.lang.Object
javax.swing.AbstractAction
smacs.xngr.browser.viewer.CloseAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class CloseAction
- extends AbstractAction
An action that can be used to close the Xml Viewer.
- Author:
- Edwin Dankert
- See Also:
- Serialized Form
|
Constructor Summary |
CloseAction(Viewer viewer)
The constructor for the action which allows for closing
the Xml Viewer. |
CloseAction
public CloseAction(Viewer viewer)
- The constructor for the action which allows for closing
the Xml Viewer.
- Parameters:
viewer - the XML Viewer
actionPerformed
public void actionPerformed(ActionEvent event)
- The implementation of the close action, called
after a user action.
- Parameters:
event - the action event.