public class RemovePathAction
extends jadex.commons.gui.ToolTipAction
Modifier and Type | Field and Description |
---|---|
protected static javax.swing.UIDefaults |
icons
The image icons.
|
protected ITreeAbstraction |
treepanel
The tree.
|
Constructor and Description |
---|
RemovePathAction(ITreeAbstraction treepanel)
Create a new action.
|
RemovePathAction(java.lang.String name,
javax.swing.Icon icon,
java.lang.String desc,
ITreeAbstraction 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 ITreeAbstraction treepanel
public RemovePathAction(ITreeAbstraction treepanel)
public RemovePathAction(java.lang.String name, javax.swing.Icon icon, java.lang.String desc, ITreeAbstraction 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 java.lang.String getName()
public static javax.swing.Icon getIcon()
public static java.lang.String getTooltipText()