public class CollapseAllAction
extends jadex.commons.gui.ToolTipAction
Modifier and Type | Field and Description |
---|---|
protected static javax.swing.UIDefaults |
icons
The image icons.
|
protected FileTreePanel |
treepanel
The tree.
|
Constructor and Description |
---|
CollapseAllAction(FileTreePanel treepanel)
Create a new action
|
CollapseAllAction(java.lang.String name,
javax.swing.Icon icon,
java.lang.String desc,
FileTreePanel treepanel)
Create a new action
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Action performed.
|
static javax.swing.Icon |
getIcon()
Get the icon.
|
static java.lang.String |
getName()
Get the name.
|
static java.lang.String |
getTooltipText()
Get the tooltip text.
|
boolean |
isEnabled()
Test if action is available in current context.
|
protected static final javax.swing.UIDefaults icons
protected FileTreePanel treepanel
public CollapseAllAction(FileTreePanel treepanel)
public CollapseAllAction(java.lang.String name, javax.swing.Icon icon, java.lang.String desc, FileTreePanel treepanel)
public boolean isEnabled()
isEnabled
in interface javax.swing.Action
isEnabled
in class javax.swing.AbstractAction
public void actionPerformed(java.awt.event.ActionEvent e)
public static javax.swing.Icon getIcon()
public static java.lang.String getName()
public static java.lang.String getTooltipText()