public class MethodCallAction extends BasicAction implements GetTarget, UpdateUI
BasicAction.AcceleratorBuilder, BasicAction.BasicAcceleratorBuilder, BasicAction.Desc, BasicAction.Filter| Modifier and Type | Field and Description |
|---|---|
protected Method |
method |
protected Object |
owner |
ACCELERATOR_PROP, ACCELERATOR_PROPERTY, ACTION_COMMAND_PROP, ACTIONCOMMAND_PROPERTY, actionListener, ACTIONLISTENER_PROP, ACTIONLISTENER_PROPERTY, ALL, DEF, DIPLAYMNEMONICINDEX_PROPERTY, DISPLAY_MNEMONIC_INDEX_PROP, KEYBOARDSHORTCUTS_PROPERTY, LARGE_ICON_PROP, LARGEICON_PROPERTY, LONG_DESCRIPTION_PROP, LONGDESCRIPTION_PROPERTY, MNEMONIC_PROP, MNEMONIC_PROPERTY, NAME_PROP, NAME_PROPERTY, SELECTED_PROP, SELECTED_PROPERTY, SHORT_DESCRIPTION_PROP, SHORTDESCRIPTION_PROPERTY, SMALL_ICON_PROP, SMALLICON_PROPERTY, TARGET_PROPERTYchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
MethodCallAction() |
MethodCallAction(String name) |
MethodCallAction(String name,
Object own,
Method meth) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
Method |
getMethod() |
Object |
getOwner() |
protected Collection |
getTargets() |
void |
setMethod(Method method) |
void |
setOwner(Object owner) |
void |
updateUI() |
accelerator, accelerator, actionCommand, actionListener, actionListener, addShortcut, apply, copyTo, displayedMnemonicIndex, getAccelerator, getAccelerator, getActionCommand, getActionCommand, getActionListener, getDisplayedMnemonicIndex, getDisplayedMnemonicIndex, getKeyboardShortcuts, getLargeIcon, getLargeIcon, getLongDescription, getLongDescription, getMnemonic, getMnemonic, getName, getName, getShortDescription, getShortDescription, getSmallIcon, getSmallIcon, getTarget, isSelected, largeIcon, longDescription, mnemonic, name, putValue, setAccelerator, setAccelerator, setActionCommand, setActionCommand, setActionListener, setDisplayedMnemonicIndex, setDisplayedMnemonicIndex, setLargeIcon, setLargeIcon, setLongDescription, setLongDescription, setMnemonic, setMnemonic, setName, setName, setSelected, setShortDescription, setShortDescription, setSmallIcon, setSmallIcon, setTarget, shortDescription, smallIconaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, removePropertyChangeListener, setEnabledpublic MethodCallAction()
public MethodCallAction(String name)
public Method getMethod()
public void setMethod(Method method)
public Object getOwner()
public void setOwner(Object owner)
protected Collection getTargets()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class BasicActionCopyright © 2018. All rights reserved.