Class 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 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 name
        accelerator - 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 name
        accelerator - optional keystroke for accelerator
        toolTipText - text, if null defered from action
        Throws:
        IOException
    • Method Detail

      • getName

        public String getName()
        Get Name/ActionCommand
        Returns:
        ActionName
      • getButton

        public Button getButton()
        Return Button
        Returns:
        Button
      • getCtrlKeys

        public String getCtrlKeys()