Enum StandardComponent.BindingDirection
- java.lang.Object
-
- java.lang.Enum<StandardComponent.BindingDirection>
-
- com._1c.g5.aef2.standard.components.StandardComponent.BindingDirection
-
- All Implemented Interfaces:
Serializable
,Comparable<StandardComponent.BindingDirection>
- Enclosing class:
- StandardComponent<M extends IModel,P extends IParameterization>
public static enum StandardComponent.BindingDirection extends Enum<StandardComponent.BindingDirection>
The enum that describes the direction of binding with theStandardComponent
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MODEL_TO_VIEW
Indicates to bind only model to view model.VIEW_TO_MODEL
Indicates to bind only view model to model.
-
Field Summary
Fields Modifier and Type Field Description static EnumSet<StandardComponent.BindingDirection>
BOTH
Enum set that indicates to bind model in both direction.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StandardComponent.BindingDirection
valueOf(String name)
Returns the enum constant of this type with the specified name.static StandardComponent.BindingDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODEL_TO_VIEW
public static final StandardComponent.BindingDirection MODEL_TO_VIEW
Indicates to bind only model to view model.
-
VIEW_TO_MODEL
public static final StandardComponent.BindingDirection VIEW_TO_MODEL
Indicates to bind only view model to model.
-
-
Field Detail
-
BOTH
public static final EnumSet<StandardComponent.BindingDirection> BOTH
Enum set that indicates to bind model in both direction.
-
-
Method Detail
-
values
public static StandardComponent.BindingDirection[] 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 (StandardComponent.BindingDirection c : StandardComponent.BindingDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StandardComponent.BindingDirection 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
-
-