Class UseAlwaysAttributeService
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.attribute.impl.UseAlwaysAttributeService
-
- All Implemented Interfaces:
IUseAlwaysAttributeService
public class UseAlwaysAttributeService extends Object implements IUseAlwaysAttributeService
The default implementation ofIUseAlwaysAttributeService
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.form.service.attribute.IUseAlwaysAttributeService
IUseAlwaysAttributeService.UseAlways
-
-
Constructor Summary
Constructors Constructor Description UseAlwaysAttributeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear(FormAttribute attribute, Form form)
This method clean all "use always" data in the attribute.IUseAlwaysAttributeService.UseAlways
getDefaultValue(PropertyInfo info, Form form)
The method return default "use always" value of form attribute.IUseAlwaysAttributeService.UseAlways
getUseAlwaysValue(PropertyInfo info, Form form)
The method return "use always" value of form attribute.void
setUseAlwaysValue(PropertyInfo info, boolean checked, Form form)
The method update "use always" value for propery info.
-
-
-
Method Detail
-
getDefaultValue
public IUseAlwaysAttributeService.UseAlways getDefaultValue(PropertyInfo info, Form form)
The method return default "use always" value of form attribute.- Specified by:
getDefaultValue
in interfaceIUseAlwaysAttributeService
- Parameters:
info
- is checked property info. (Can not benull
.)form
- the form. (Can not benull
.)- Returns:
- the "use always" default value of property info.
-
getUseAlwaysValue
public IUseAlwaysAttributeService.UseAlways getUseAlwaysValue(PropertyInfo info, Form form)
The method return "use always" value of form attribute.- Specified by:
getUseAlwaysValue
in interfaceIUseAlwaysAttributeService
- Parameters:
info
- is checked property info.(Can not benull
.)form
- the form. (Can not benull
.)- Returns:
- the "use always" value of property info.
-
setUseAlwaysValue
public void setUseAlwaysValue(PropertyInfo info, boolean checked, Form form)
The method update "use always" value for propery info.- Specified by:
setUseAlwaysValue
in interfaceIUseAlwaysAttributeService
- Parameters:
info
- for update "use always" value. (Can not benull
.)checked
- the use always value.form
- the form. (Can not benull
.)
-
clear
public void clear(FormAttribute attribute, Form form)
This method clean all "use always" data in the attribute.- Specified by:
clear
in interfaceIUseAlwaysAttributeService
- Parameters:
attribute
- the form attribute for clean use always values.(Can not benull
).form
- the form. (Can not benull
).
-
-