Method setActionCommand(String actionCommand)
Return type: void
Member of:
javax.swing.AbstractButton
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
btnCancel.setActionCommand("cancel");
2
browse.setActionCommand("browse");
3
editButton.setActionCommand("edit");
4
contextHelp.setActionCommand("help");
5
menuItem.setActionCommand("Discard");
6
ivjPass1Button.setActionCommand("Button1");
7
ivjHoldButton.setActionCommand("HoldButton");
8
rbMenuItem.setActionCommand("jumpTo");
9
chgli.setActionCommand("changeLINode");
10
helpMI.setActionCommand("Help");
11
btnEveryTick.setActionCommand("every");
12
defaultButton.setActionCommand("Default");
13
prefs.buttonOk.setActionCommand("PrefsOk");
14
_findDocumentButton.setActionCommand("find_file");
15
saveButton.setActionCommand("Apply");
16
saveItem.setActionCommand(".txt");
17
item.setActionCommand(name);
18
btn.setActionCommand(a.getValue(Action.ACTION_COMMAND_KEY).toString());
19
selRecord.setActionCommand(vp.getValue()+"_ID");
20
popupMenuItemArray[menuItemCounter].setActionCommand(actionCommand);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.