Class SpellChecker.LanguageAction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.net.URL baseURL  
      private java.lang.String extension  
      private java.util.Locale locale  
      • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      LanguageAction​(java.net.URL baseURL, java.util.Locale locale, java.lang.String extension)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionPerformed​(java.awt.event.ActionEvent ev)  
      int compareTo​(SpellChecker.LanguageAction obj)
      Sort the displaynames in the order of the current language
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class javax.swing.AbstractAction

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

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

        accept
    • Field Detail

      • baseURL

        private final java.net.URL baseURL
      • locale

        private final java.util.Locale locale
      • extension

        private java.lang.String extension
    • Constructor Detail

      • LanguageAction

        LanguageAction​(java.net.URL baseURL,
                       java.util.Locale locale,
                       java.lang.String extension)
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent ev)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object