Method getAction()
Return type: javax.swing.Action
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(_menuItem != null) ((MenuAction)_menuItem.getAction()).setText(title);
2 removeButton.getAction().setEnabled(false);
3 if ( getAction() != null && getAction() instanceof BSFAction ) {
4 Action action = button.getAction();
5 Action action = ((JMenuItem)c).getAction();
6 cancel.getActionMap().put(A_CANCEL, cancel.getAction());
7 Action action = btn.getAction();
8 if ( menuItem.getAction() instanceof BSFAction ) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.