SMACS

smacs.xngr.browser.viewer
Class CollapseAllAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bysmacs.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

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
CollapseAllAction(Viewer viewer)
          The constructor for the action to collapse all nodes in the viewer.
 
Method Summary
 void actionPerformed(ActionEvent event)
          The implementation of the collapse all action, called after a user action.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollapseAllAction

public CollapseAllAction(Viewer viewer)
The constructor for the action to collapse all nodes in the viewer.

Parameters:
viewer - the XML viewer
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
The implementation of the collapse all action, called after a user action.

Parameters:
event - the action event.

SMACS