Constructor and Description |
---|
EditGroupAction(boolean add) |
EditGroupAction(boolean add,
VPTGroup parent,
java.awt.Component gui) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae) |
java.lang.String |
getText()
Returns the text to be shown on the button and/or menu item.
|
void |
prepareForNode(VPTNode node)
Enable action only for group nodes.
|
public EditGroupAction(boolean add)
public EditGroupAction(boolean add, VPTGroup parent, java.awt.Component gui)
public java.lang.String getText()
public void prepareForNode(VPTNode node)
prepareForNode
in class Action
node
- The selected node, or null
if multiple
nodes are selected.public void actionPerformed(java.awt.event.ActionEvent ae)