Package com._1c.g5.aef2.models.value
Interface IValue<T>
-
- All Superinterfaces:
IModel
,IValidable
- All Known Subinterfaces:
IAddInModel
,IAddressingAttributeModel
,IAdjustableBooleanModel
,IBaseBmHandlerNameModel
,IBmCommonAttributeDataSeparationModel
,IBorderValueModel
,ICharacteristicsDescriptionDataPathModel<T>
,ICharacteristicsDescriptionFieldModel<T>
,IChartColorPaletteDescriptionModel
,IChartScaleModel
,ICodeModel<O>
,IColorModel
,IEmfTreeToSingleItemSelectionModel<T,O>
,IEmfValueAttribute<T,O>
,IEmfValueSelectionModel<T,O>
,IEventSubscriptionEventsModel
,IEventSubscriptionHandlerNameModel
,IFontSelectionModel
,com._1c.g5.v8.dt.form.internal.ui.properties.models.IFormValue<TValue,TSelection>
,IGraphicalSchemeLineModel
,IGraphicalSchemeValue<TValue,TSelection>
,IHandlerModel<T>
,IHandlerModel<T>
,IHandlerModel
,IMdPictureModel
,IMdTypeLinkModel
,IOpenMdHelpModel
,IPictureModel
,IRadioGroupModel<T>
,ISingleLanguageFormattedTextModel
,ISingleLanguageModel
,ISourceUrlModel<T>
,ITypeDescriptionExtensionModel
,ITypeLinkModel<T,U>
,IUnsettablePropertyFieldModel<T,O>
,IUsedMobileApplicationFunctionalitiesModel
,IValueModel
,IViewModelValue<T>
- All Known Implementing Classes:
AddInModel
,AddressingAttributeModel
,BmAdjustableBooleanModel
,BmBorderNoneToNullValue
,BmBorderValue
,BmCharacteristicsDescriptionDataPathModel
,BmCharacteristicsDescriptionFieldModel
,BmCharacteristicsDescriptionSelectionModel
,BmCharacteristicsDescriptionValueModel
,BmCodeModel
,BmColorModel
,BmCommonAttributeDataSeparationModel
,BmCommonModuleEnvironmentModel
,BmConfigurationCompatibilityModeModel
,BmDocumentNumeratorValue
,BmEventSubscriptionEventsModel
,BmEventSubscriptionHandlerNameModel
,BmFilteringTreeToSingleItemSelectionModel
,BmFontSelectionModel
,BmGraphicalSchemeLineModel
,BmHandlerModel
,BmInformationRegisterWriteModeModel
,BmInlineTaskValue
,BmMdObjectNameModel
,BmMdTypeLinkModel
,BmOpenMdHelpModel
,BmPictureModel
,BmPredefinedItemNameModel
,BmSkipNullValue
,BmStyleItemTypeModel
,BmTreeToSingleItemSelectionModel
,BmUnsettablePropertyFieldModel
,BmValue
,BmValueModel
,BmValueSelectionModel
,BmValueUsedMobileApplicationFunctionalitiesModel
,BmVersionedValue
,CommandActionModel
,CommonAttributeAutoUsePropertyStateModel
,CommonAttributeDataSeparationPropertyStateModel
,ConfigurationStandaloneContentExchangeSettingsDialogModel.ExchangePlanModel
,EmfBorderValue
,EmfCharacteristicsDescriptionDataPathModel
,EmfCharacteristicsDescriptionFieldModel
,EmfCharacteristicsDescriptionSelectionModel
,EmfCharacteristicsDescriptionValueModel
,EmfChartColorPaletteDescriptionModel
,EmfChartLineModel
,EmfChartScaleModelValue
,EmfCodeModel
,EmfColorModel
,EmfFontSelectionModel
,EmfLabelAreaModelValue
,EmfMdTypeLinkModel
,EmfPictureModel
,EmfSingleLanguageFormattedTextModel
,EmfSingleLanguageModel
,EmfStyleItemTypeModel
,EmfTreeToSingleItemSelectionModel
,EmfUnsettablePropertyFieldModel
,EmfValue
,EmfValueModel
,EmfValueSelectionModel
,EmfVersionedValue
,EventHandlerModel
,EventHandlerModel
,ExtendedConfigurationObjectPropertyStateModel
,ExtendedConfigurationObjectSelectionModel
,FormPropertyStateModel
,GraphicalSchemeCaseValue
,GraphicalSchemeItemValue
,IBaseBmHandlerNameModel.BaseBmHandlerNameModel
,ISingleLanguageFormattedTextModel.SingleLanguageFormattedTextWorkingCopy
,MdPictureModel
,NavigatorTreeDialogActionBarBmValue
,NavigatorTreeDialogActionBarEmfValue
,PojoValue
,PropertyStateModel
,SimpleGroupValue
,StandardObjectSwitchingSourceValue
,StandardObjectTypeLinkModel
,StandardObjectValueModel
,StandardObjectValueSelectionModel
,UnfilledParentValueModel
,Value
,ValueWorkingCopy
,ViewModelValue
public interface IValue<T> extends IModel
The value model. Value is like a variable but notifies about its changes and it's also aIModel
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addValueListener(IValueListener<T> listener)
Adds the value listener.IValue<T>
createWorkingCopy()
T
get()
boolean
isEqual(T other)
Checks the value for equality with the current stored value.void
removeValueListener(IValueListener<T> listener)
Removes the value listener.void
set(T value)
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Method Detail
-
get
T get()
- Returns:
- the stored value.
-
set
void set(T value)
- Parameters:
value
- the value to set.
-
isEqual
boolean isEqual(T other)
Checks the value for equality with the current stored value.- Parameters:
other
- the other value to check.- Returns:
true
if other value is equal to this value,false
otherwise.
-
createWorkingCopy
IValue<T> createWorkingCopy()
- Specified by:
createWorkingCopy
in interfaceIModel
- Returns:
- the model working copy or
null
if working copies is not supported by the model.
-
addValueListener
void addValueListener(IValueListener<T> listener)
Adds the value listener.- Parameters:
listener
- the listener to add.
-
removeValueListener
void removeValueListener(IValueListener<T> listener)
Removes the value listener.- Parameters:
listener
- the listener to remove.
-
-