Package com._1c.g5.v8.dt.form.model
Enum SpecialTextInputMode
- java.lang.Object
-
- java.lang.Enum<SpecialTextInputMode>
-
- com._1c.g5.v8.dt.form.model.SpecialTextInputMode
-
- All Implemented Interfaces:
Serializable
,Comparable<SpecialTextInputMode>
,org.eclipse.emf.common.util.Enumerator
public enum SpecialTextInputMode extends Enum<SpecialTextInputMode> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Special Text Input Mode', and utility methods for working with them.- See Also:
FormPackage.getSpecialTextInputMode()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO
The 'Auto' literal object.DIGITS
The 'Digits' literal object.DIGITS_AND_PUNCTUATION
The 'Digits And Punctuation' literal object.EMAIL
The 'Email' literal object.NONE
The 'None' literal object.PHONE_NUMBER
The 'Phone Number' literal object.URL
The 'URL' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_VALUE
The 'Auto' literal value.static int
DIGITS_AND_PUNCTUATION_VALUE
The 'Digits And Punctuation' literal value.static int
DIGITS_VALUE
The 'Digits' literal value.static int
EMAIL_VALUE
The 'Email' literal value.static int
NONE_VALUE
The 'None' literal value.static int
PHONE_NUMBER_VALUE
The 'Phone Number' literal value.static int
URL_VALUE
The 'URL' literal value.static List<SpecialTextInputMode>
VALUES
A public read-only list of all the 'Special Text Input Mode' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpecialTextInputMode
get(int value)
Returns the 'Special Text Input Mode' literal with the specified integer value.static SpecialTextInputMode
get(String literal)
Returns the 'Special Text Input Mode' literal with the specified literal value.static SpecialTextInputMode
getByName(String name)
Returns the 'Special Text Input Mode' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static SpecialTextInputMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpecialTextInputMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final SpecialTextInputMode AUTO
The 'Auto' literal object.- See Also:
AUTO_VALUE
-
NONE
public static final SpecialTextInputMode NONE
The 'None' literal object.- See Also:
NONE_VALUE
-
DIGITS_AND_PUNCTUATION
public static final SpecialTextInputMode DIGITS_AND_PUNCTUATION
The 'Digits And Punctuation' literal object.- See Also:
DIGITS_AND_PUNCTUATION_VALUE
-
URL
public static final SpecialTextInputMode URL
The 'URL' literal object.- See Also:
URL_VALUE
-
EMAIL
public static final SpecialTextInputMode EMAIL
The 'Email' literal object.- See Also:
EMAIL_VALUE
-
PHONE_NUMBER
public static final SpecialTextInputMode PHONE_NUMBER
The 'Phone Number' literal object.- See Also:
PHONE_NUMBER_VALUE
-
DIGITS
public static final SpecialTextInputMode DIGITS
The 'Digits' literal object.- See Also:
DIGITS_VALUE
-
-
Field Detail
-
AUTO_VALUE
public static final int AUTO_VALUE
The 'Auto' literal value.- See Also:
AUTO
, Constant Field Values
-
NONE_VALUE
public static final int NONE_VALUE
The 'None' literal value.- See Also:
NONE
, Constant Field Values
-
DIGITS_AND_PUNCTUATION_VALUE
public static final int DIGITS_AND_PUNCTUATION_VALUE
The 'Digits And Punctuation' literal value.- See Also:
DIGITS_AND_PUNCTUATION
, Constant Field Values
-
URL_VALUE
public static final int URL_VALUE
The 'URL' literal value.- See Also:
URL
, Constant Field Values
-
EMAIL_VALUE
public static final int EMAIL_VALUE
The 'Email' literal value.- See Also:
EMAIL
, Constant Field Values
-
PHONE_NUMBER_VALUE
public static final int PHONE_NUMBER_VALUE
The 'Phone Number' literal value.- See Also:
PHONE_NUMBER
, Constant Field Values
-
DIGITS_VALUE
public static final int DIGITS_VALUE
The 'Digits' literal value.- See Also:
DIGITS
, Constant Field Values
-
VALUES
public static final List<SpecialTextInputMode> VALUES
A public read-only list of all the 'Special Text Input Mode' enumerators.
-
-
Method Detail
-
values
public static SpecialTextInputMode[] 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 (SpecialTextInputMode c : SpecialTextInputMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpecialTextInputMode 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
-
get
public static SpecialTextInputMode get(String literal)
Returns the 'Special Text Input Mode' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static SpecialTextInputMode getByName(String name)
Returns the 'Special Text Input Mode' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static SpecialTextInputMode get(int value)
Returns the 'Special Text Input Mode' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<SpecialTextInputMode>
-
-