projectviewer.action
Class ExpandAllAction
java.lang.Object
projectviewer.action.Action
projectviewer.action.ExpandAllAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener
- public class ExpandAllAction
- extends Action
Expands all nodes of the current tree.
- Version:
- $Id: ExpandAllAction.java 6333 2005-02-10 06:31:59Z vanza $
- Author:
- Marcelo Vanzin (based on code from old ProjectViewer class)
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Creates a new project. |
void |
expand(javax.swing.tree.TreePath path,
javax.swing.JTree tree)
Expand the given sub tree. |
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 java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandAllAction
public ExpandAllAction()
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.
expand
public void expand(javax.swing.tree.TreePath path,
javax.swing.JTree tree)
- Expand the given sub tree.