Package com.inet.jortho
Class SpellChecker.LanguageAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.inet.jortho.SpellChecker.AbtsractLanguageAction
-
- com.inet.jortho.SpellChecker.LanguageAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.lang.Comparable<SpellChecker.LanguageAction>,java.util.EventListener,javax.swing.Action
- Enclosing class:
- SpellChecker
private static class SpellChecker.LanguageAction extends SpellChecker.AbtsractLanguageAction implements java.lang.Comparable<SpellChecker.LanguageAction>
Action for change the current dictionary language.
-
-
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 voidactionPerformed(java.awt.event.ActionEvent ev)intcompareTo(SpellChecker.LanguageAction obj)Sort the displaynames in the order of the current languagebooleanequals(java.lang.Object obj)inthashCode()-
Methods inherited from class com.inet.jortho.SpellChecker.AbtsractLanguageAction
setSelected
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(SpellChecker.LanguageAction obj)
Sort the displaynames in the order of the current language- Specified by:
compareToin interfacejava.lang.Comparable<SpellChecker.LanguageAction>
-
-