projectviewer.action
Class CollapseAllAction

java.lang.Object
  extended byprojectviewer.action.Action
      extended byprojectviewer.action.CollapseAllAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener

public class CollapseAllAction
extends Action

Expands all nodes of the current tree.

Version:
$Id: CollapseAllAction.java 6333 2005-02-10 06:31:59Z vanza $
Author:
Marcelo Vanzin

Field Summary
 
Fields inherited from class projectviewer.action.Action
action, cmItem, tbButton, viewer
 
Constructor Summary
CollapseAllAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Creates a new project.
 javax.swing.Icon getIcon()
          Returns the icon for the action.
 java.lang.String getText()
          Returns the text to be shown on the button and/or menu item.
 
Methods inherited from class projectviewer.action.Action
clone, getButton, getMenuItem, prepareForNode, setViewer
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollapseAllAction

public CollapseAllAction()
Method Detail

getText

public java.lang.String getText()
Returns the text to be shown on the button and/or menu item.

Specified by:
getText in class Action

getIcon

public javax.swing.Icon getIcon()
Returns the icon for the action.

Overrides:
getIcon in class Action

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Creates a new project.