Method getActionCommand()
Return type: java.lang.String
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 if(source.getActionCommand().equals(CDAY_MODE)) {
2 barDBupdate(false, Integer.parseInt(m_buttonSelected.getActionCommand()));
3 model.setSelectedNodeName(((JRadioButton)e.getSource()).getActionCommand());
4 Action action = getAction(comp.getActionCommand());
5 if(command.equals(item.getActionCommand())) return item;
6 Action action = getAction(comp.getActionCommand());
7 if ((item = menu.getItem(j)) != null && cmd == Integer.parseInt(item.getActionCommand())) {
8 String keyColumn = button.getActionCommand();
9 if (newEvent.getActionCommand().equals(miReleaseNotes.getActionCommand())) doReleaseNotes();
10 String ac = ab.getActionCommand();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.