public class CreateCallbackMethodAction extends CayenneAction
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_NAME
unique action name
|
alwaysOn, applicationchangeSupport, 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 |
|---|
CreateCallbackMethodAction(Application application)
Constructor.
|
CreateCallbackMethodAction(String actionName,
Application application)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createCallbackMethod(CallbackType callbackType,
String methodName) |
static String |
getActionName() |
CallbackMap |
getCallbackMap() |
String |
getIconName()
Returns the name of the icon that should be used for buttons.
|
void |
performAction(ActionEvent e)
performs adding new callback method
|
actionPerformed, buildButton, buildCheckBoxMenu, buildMenu, createIcon, enableForPath, getAcceleratorKey, getApplication, getCurrentProject, getKey, getProjectController, isAlwaysOn, setAlwaysOn, setEnabled, setNameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListenerpublic static final String ACTION_NAME
public CreateCallbackMethodAction(String actionName, Application application)
actionName - unique action nameapplication - Application instancepublic CreateCallbackMethodAction(Application application)
application - Application instancepublic CallbackMap getCallbackMap()
public String getIconName()
CayenneActionRESOURCE_PATH. Default implementation returns
null.getIconName in class CayenneActionpublic final void performAction(ActionEvent e)
performAction in class CayenneActione - eventpublic void createCallbackMethod(CallbackType callbackType, String methodName)
public static String getActionName()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.