public class MoveUpAction
extends NodeAction
org.openide.nodes.Index| Constructor and Description |
|---|
MoveUpAction() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
enable(Node[] activatedNodes) |
HelpCtx |
getHelpCtx() |
java.lang.String |
getName() |
protected java.lang.String |
iconResource()
this is needed to avoid that
cern.gp.action.support.ActionUtils#createJButton(SystemAction)
creates a JButton with twice the text returned by getName(). |
protected void |
initialize() |
protected void |
performAction(Node[] activatedNodes) |
protected java.lang.String iconResource()
cern.gp.action.support.ActionUtils#createJButton(SystemAction)
creates a JButton with twice the text returned by getName().
This happens because, if no icon is returned, the icon is replaced by
the action text.protected void initialize()
protected void performAction(Node[] activatedNodes)
protected boolean enable(Node[] activatedNodes)
public java.lang.String getName()
public HelpCtx getHelpCtx()