Package com._1c.g5.v8.dt.form.model
Enum FormWindowOpeningMode
- java.lang.Object
-
- java.lang.Enum<FormWindowOpeningMode>
-
- com._1c.g5.v8.dt.form.model.FormWindowOpeningMode
-
- All Implemented Interfaces:
Serializable
,Comparable<FormWindowOpeningMode>
,org.eclipse.emf.common.util.Enumerator
public enum FormWindowOpeningMode extends Enum<FormWindowOpeningMode> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Window Opening Mode', and utility methods for working with them.- See Also:
FormPackage.getFormWindowOpeningMode()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDEPENDENT
The 'Independent' literal object.LOCK_OWNER_WINDOW
The 'Lock Owner Window' literal object.LOCK_WHOLE_INTERFACE
The 'Lock Whole Interface' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
INDEPENDENT_VALUE
The 'Independent' literal value.static int
LOCK_OWNER_WINDOW_VALUE
The 'Lock Owner Window' literal value.static int
LOCK_WHOLE_INTERFACE_VALUE
The 'Lock Whole Interface' literal value.static List<FormWindowOpeningMode>
VALUES
A public read-only list of all the 'Window Opening Mode' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormWindowOpeningMode
get(int value)
Returns the 'Window Opening Mode' literal with the specified integer value.static FormWindowOpeningMode
get(String literal)
Returns the 'Window Opening Mode' literal with the specified literal value.static FormWindowOpeningMode
getByName(String name)
Returns the 'Window Opening 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 FormWindowOpeningMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static FormWindowOpeningMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDEPENDENT
public static final FormWindowOpeningMode INDEPENDENT
The 'Independent' literal object.- See Also:
INDEPENDENT_VALUE
-
LOCK_OWNER_WINDOW
public static final FormWindowOpeningMode LOCK_OWNER_WINDOW
The 'Lock Owner Window' literal object.- See Also:
LOCK_OWNER_WINDOW_VALUE
-
LOCK_WHOLE_INTERFACE
public static final FormWindowOpeningMode LOCK_WHOLE_INTERFACE
The 'Lock Whole Interface' literal object.- See Also:
LOCK_WHOLE_INTERFACE_VALUE
-
-
Field Detail
-
INDEPENDENT_VALUE
public static final int INDEPENDENT_VALUE
The 'Independent' literal value.- See Also:
INDEPENDENT
, Constant Field Values
-
LOCK_OWNER_WINDOW_VALUE
public static final int LOCK_OWNER_WINDOW_VALUE
The 'Lock Owner Window' literal value.- See Also:
LOCK_OWNER_WINDOW
, Constant Field Values
-
LOCK_WHOLE_INTERFACE_VALUE
public static final int LOCK_WHOLE_INTERFACE_VALUE
The 'Lock Whole Interface' literal value.- See Also:
LOCK_WHOLE_INTERFACE
, Constant Field Values
-
VALUES
public static final List<FormWindowOpeningMode> VALUES
A public read-only list of all the 'Window Opening Mode' enumerators.
-
-
Method Detail
-
values
public static FormWindowOpeningMode[] 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 (FormWindowOpeningMode c : FormWindowOpeningMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormWindowOpeningMode 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 FormWindowOpeningMode get(String literal)
Returns the 'Window Opening Mode' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static FormWindowOpeningMode getByName(String name)
Returns the 'Window Opening Mode' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static FormWindowOpeningMode get(int value)
Returns the 'Window Opening 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<FormWindowOpeningMode>
-
-