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