Package org.omegat.gui.editor
Enum IEditor.CHANGE_CASE_TO
- java.lang.Object
-
- java.lang.Enum<IEditor.CHANGE_CASE_TO>
-
- org.omegat.gui.editor.IEditor.CHANGE_CASE_TO
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IEditor.CHANGE_CASE_TO>
- Enclosing interface:
- IEditor
public static enum IEditor.CHANGE_CASE_TO extends java.lang.Enum<IEditor.CHANGE_CASE_TO>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IEditor.CHANGE_CASE_TO
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IEditor.CHANGE_CASE_TO[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOWER
public static final IEditor.CHANGE_CASE_TO LOWER
lower case
-
SENTENCE
public static final IEditor.CHANGE_CASE_TO SENTENCE
title case for whole string
-
TITLE
public static final IEditor.CHANGE_CASE_TO TITLE
title case for each token in string
-
UPPER
public static final IEditor.CHANGE_CASE_TO UPPER
upper case
-
CYCLE
public static final IEditor.CHANGE_CASE_TO CYCLE
cycle between cases
-
-
Method Detail
-
values
public static IEditor.CHANGE_CASE_TO[] 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 (IEditor.CHANGE_CASE_TO c : IEditor.CHANGE_CASE_TO.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IEditor.CHANGE_CASE_TO 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
-
-