Package ipsk.swing

Class AbstractLocalizableAction

    • Field Summary

      • Fields inherited from class javax.swing.AbstractAction

        changeSupport, enabled
      • Fields inherited from interface javax.swing.Action

        ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void actionPerformed​(java.awt.event.ActionEvent e)  
      javax.swing.KeyStroke getAccelerator()  
      java.lang.String getActionCommand()  
      LocalizableMessage getDisplayName()  
      javax.swing.Icon getIcon()  
      int getMnemonic()  
      void setAccelerator​(javax.swing.KeyStroke accelerator)  
      void setDisplayName​(LocalizableMessage displayName)  
      void setIcon​(javax.swing.Icon icon)  
      void setMnemonic​(int mnemonicVal)  
      • Methods inherited from class javax.swing.AbstractAction

        addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from interface javax.swing.Action

        accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractLocalizableAction

        protected AbstractLocalizableAction​(java.lang.String actionCommand)
        Create action.
        Parameters:
        actionCommand - action command string identifier
      • AbstractLocalizableAction

        protected AbstractLocalizableAction​(java.lang.String actionCommand,
                                            LocalizableMessage displayName)
        Create action.
        Parameters:
        actionCommand - action command string identifier
        displayName - the display string as localizable message
    • Method Detail

      • getActionCommand

        public java.lang.String getActionCommand()
      • actionPerformed

        public abstract void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • getIcon

        public javax.swing.Icon getIcon()
        Specified by:
        getIcon in interface ActionLeaf
      • setIcon

        public void setIcon​(javax.swing.Icon icon)
        Specified by:
        setIcon in interface ActionLeaf
      • getAccelerator

        public javax.swing.KeyStroke getAccelerator()
      • setAccelerator

        public void setAccelerator​(javax.swing.KeyStroke accelerator)
      • getMnemonic

        public int getMnemonic()
      • setMnemonic

        public void setMnemonic​(int mnemonicVal)