Package org.luwrain.controls
Enum RegionTextQueryTranslator.Flags
- java.lang.Object
-
- java.lang.Enum<RegionTextQueryTranslator.Flags>
-
- org.luwrain.controls.RegionTextQueryTranslator.Flags
-
- All Implemented Interfaces:
Serializable
,Comparable<RegionTextQueryTranslator.Flags>
- Enclosing class:
- RegionTextQueryTranslator
public static enum RegionTextQueryTranslator.Flags extends Enum<RegionTextQueryTranslator.Flags>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOWED_EMPTY
ALLOWED_WITHOUT_REGION_POINT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegionTextQueryTranslator.Flags
valueOf(String name)
Returns the enum constant of this type with the specified name.static RegionTextQueryTranslator.Flags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOWED_EMPTY
public static final RegionTextQueryTranslator.Flags ALLOWED_EMPTY
-
ALLOWED_WITHOUT_REGION_POINT
public static final RegionTextQueryTranslator.Flags ALLOWED_WITHOUT_REGION_POINT
-
-
Method Detail
-
values
public static RegionTextQueryTranslator.Flags[] 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 (RegionTextQueryTranslator.Flags c : RegionTextQueryTranslator.Flags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegionTextQueryTranslator.Flags valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-