[Java] Class DefaultAction
- groovy.swing.impl.DefaultAction
public class DefaultAction extends AbstractAction
A default action implementation
Fields inherited from class | Fields |
---|---|
class AbstractAction | DEFAULT, NAME, SHORT_DESCRIPTION, LONG_DESCRIPTION, SMALL_ICON, ACTION_COMMAND_KEY, ACCELERATOR_KEY, MNEMONIC_KEY, SELECTED_KEY, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public void |
actionPerformed(ActionEvent event) | |
public Closure |
getClosure() | |
public void |
setClosure(Closure closure) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class AbstractAction | getValue, putValue, getKeys, setEnabled, isEnabled, removePropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, accept, actionPerformed |
Method Detail
public void actionPerformed(ActionEvent event)
public Closure getClosure()
public void setClosure(Closure closure)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/swing/impl/DefaultAction.html