Package org.languagetool.gui
Enum LanguageToolEvent.Type
- java.lang.Object
-
- java.lang.Enum<LanguageToolEvent.Type>
-
- org.languagetool.gui.LanguageToolEvent.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LanguageToolEvent.Type>
- Enclosing class:
- LanguageToolEvent
public static enum LanguageToolEvent.Type extends java.lang.Enum<LanguageToolEvent.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKING_FINISHED
CHECKING_STARTED
LANGUAGE_CHANGED
RULE_DISABLED
RULE_ENABLED
-
Constructor Summary
Constructors Modifier Constructor Description private
Type()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LanguageToolEvent.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LanguageToolEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHECKING_STARTED
public static final LanguageToolEvent.Type CHECKING_STARTED
-
CHECKING_FINISHED
public static final LanguageToolEvent.Type CHECKING_FINISHED
-
LANGUAGE_CHANGED
public static final LanguageToolEvent.Type LANGUAGE_CHANGED
-
RULE_DISABLED
public static final LanguageToolEvent.Type RULE_DISABLED
-
RULE_ENABLED
public static final LanguageToolEvent.Type RULE_ENABLED
-
-
Method Detail
-
values
public static LanguageToolEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LanguageToolEvent.Type c : LanguageToolEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LanguageToolEvent.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-