Class BmAdjustableBooleanGroupModel
java.lang.Object
com._1c.g5.aef2.validators.Validable
com._1c.g5.aef2.models.Model
com._1c.g5.aef2.models.EditableModel
com._1c.g5.aef2.models.value.Value<T>
com._1c.g5.aef2.models.pojo.PojoValue<AdjustableBoolean>
com._1c.g5.v8.dt.form.ui.properties.models.BmAdjustableBooleanGroupModel
- All Implemented Interfaces:
IEditableModel
,IModel
,IValue<AdjustableBoolean>
,IValidable
,IModelApiAwareModel
,IAdjustableBooleanModel
public class BmAdjustableBooleanGroupModel
extends PojoValue<AdjustableBoolean>
implements IAdjustableBooleanModel, IModelApiAwareModel
IAdjustableBooleanModel
implementation.-
Constructor Summary
ConstructorsConstructorDescriptionBmAdjustableBooleanGroupModel
(AdjustableBoolean initialValue, List<BmValue<AdjustableBoolean>> values, IV8Project v8project) Instantiates a new BM value. -
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
Commits the changes to the data model.void
dispose()
Disposes this model.Returns the model API.Returns V8 project.void
setModelApi
(IModelApi modelApi) Sets the specified API to the model.Methods inherited from class com._1c.g5.aef2.models.value.Value
addValueListener, createWorkingCopy, discard, get, getCommittedValue, getUncommittedValue, getValidatorTarget, isEqual, notifyValueChanged, queueNotifyValueChanged, removeValueListener, set, setCommittedValue, setUncommittedValue, setValue, toString
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, removeValidator, validate, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, discard, getChange, getComponent, isOnline, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
Methods inherited from interface com._1c.g5.aef2.models.value.IValue
addValueListener, createWorkingCopy, get, isEqual, removeValueListener, set
-
Constructor Details
-
BmAdjustableBooleanGroupModel
public BmAdjustableBooleanGroupModel(AdjustableBoolean initialValue, List<BmValue<AdjustableBoolean>> values, IV8Project v8project) Instantiates a new BM value.- Parameters:
initialValue
- the initial AdjustableBoolean value, cannot benull
values
- the all values is group, cannot benull
v8project
- the V8 project, cannot benull
-
-
Method Details
-
getV8project
Description copied from interface:IAdjustableBooleanModel
Returns V8 project.- Specified by:
getV8project
in interfaceIAdjustableBooleanModel
-
commit
public void commit()Description copied from interface:IModel
Commits the changes to the data model. -
dispose
public void dispose()Description copied from interface:IModel
Disposes this model.- Specified by:
dispose
in interfaceIModel
- Overrides:
dispose
in classValue<AdjustableBoolean>
-
getModelApi
Description copied from interface:IModelApiAwareModel
Returns the model API.- Specified by:
getModelApi
in interfaceIModelApiAwareModel
- Returns:
- the model API or
null
if it is not set.
-
setModelApi
Description copied from interface:IModelApiAwareModel
Sets the specified API to the model.- Specified by:
setModelApi
in interfaceIModelApiAwareModel
- Parameters:
modelApi
- the API, can benull
.
-