Package org.adempiere.webui.component
Class WAppsAction
- java.lang.Object
-
- org.adempiere.webui.component.WAppsAction
-
public class WAppsAction extends Object
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
Constructors Constructor Description WAppsAction(String action, String accelerator)
Application ActionWAppsAction(String action, String accelerator, String toolTipText)
Application Action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Button
getButton()
Return ButtonString
getCtrlKeys()
String
getName()
Get Name/ActionCommand
-
-
-
Constructor Detail
-
WAppsAction
public WAppsAction(String action, String accelerator) throws IOException
Application Action- Parameters:
action
- base action command - used as AD_Message for Text and Icon nameaccelerator
- optional keystroke for accelerator- Throws:
IOException
-
WAppsAction
public WAppsAction(String action, String accelerator, String toolTipText) throws IOException
Application Action.- Parameters:
action
- base action command - used as AD_Message for Text and Icon nameaccelerator
- optional keystroke for acceleratortoolTipText
- text, if null defered from action- Throws:
IOException
-
-