Package org.adempiere.webui.component
Class WAppsAction
java.lang.Object
org.adempiere.webui.component.WAppsAction
Application Action. Creates Action with Button The ActionCommand is translated for display If translated text contains &, the next character is the Mnemonic
- Author:
- Andrew Kimball
-
Constructor Summary
ConstructorDescriptionWAppsAction
(String action, String accelerator) Application ActionWAppsAction
(String action, String accelerator, String toolTipText) Application Action. -
Method Summary
-
Constructor Details
-
WAppsAction
Application Action- Parameters:
action
- base action command - used as AD_Message for Text and Icon nameaccelerator
- optional keystroke for accelerator- Throws:
IOException
-
WAppsAction
Application Action.- Parameters:
action
- base action command - used as AD_Message for Text and Icon nameaccelerator
- optional keystroke for acceleratortoolTipText
- text, if null deferred from action- Throws:
IOException
-
-
Method Details
-
getName
Get Name/ActionCommand- Returns:
- ActionName
-
getButton
- Returns:
- Button
-
getCtrlKeys
Support for this is not implemented yet.- Returns:
- shortcut key
-