Class SpellChecker.AbtsractLanguageAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
    Direct Known Subclasses:
    SpellChecker.DisableLanguageAction, SpellChecker.LanguageAction
    Enclosing class:
    SpellChecker

    private abstract static class SpellChecker.AbtsractLanguageAction
    extends javax.swing.AbstractAction
    Base class for languages change actions. This class has a static state to solv http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4133141
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static SpellChecker.AbtsractLanguageAction currentAction  
      • 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 Concrete Methods 
      Modifier and Type Method Description
      void setSelected​(boolean b)
      Selects or deselects the menu item.
      • Methods inherited from class javax.swing.AbstractAction

        addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept
      • Methods inherited from interface java.awt.event.ActionListener

        actionPerformed
    • Constructor Detail

      • AbtsractLanguageAction

        public AbtsractLanguageAction​(java.lang.String name)
    • Method Detail

      • setSelected

        public void setSelected​(boolean b)
        Selects or deselects the menu item.
        Parameters:
        b - true selects the menu item, false deselects the menu item.