Class DtPictureComponent
java.lang.Object
com._1c.g5.aef2.components.Component<M,P>
com._1c.g5.aef2.standard.components.StandardComponent<M,P>
com._1c.g5.aef2.standard.components.AbstractControlComponent<IValue<File>,IParameterization,PictureViewModel>
com._1c.g5.v8.dt.ui.aef.component.DtPictureComponent
- All Implemented Interfaces:
IComponent<IValue<File>>,IEventChannel
public class DtPictureComponent
extends AbstractControlComponent<IValue<File>,IParameterization,PictureViewModel>
The picture component for displaying the model value as
image.
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance.DtPictureComponent(IParameterization parameterization) Creates a new instance with parameterization. -
Method Summary
Modifier and TypeMethodDescriptionprotected PictureViewModelCreates control view model instance.protected voidDisposes the view models of this component.protected voidupdateViewModelStatus(ControlViewModel viewModel, IModel model) Updates the validation status of the given view model.Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
createViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModelsMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocusMethods inherited from class com._1c.g5.aef2.components.Component
addComponent, addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, detachFromModel, dispose, disposeComponents, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEvents
-
Constructor Details
-
DtPictureComponent
Creates a new instance with parameterization.- Parameters:
parameterization- the parameterization.
-
DtPictureComponent
public DtPictureComponent()Creates a new instance.
-
-
Method Details
-
updateViewModelStatus
Description copied from class:StandardComponentUpdates the validation status of the given view model.- Overrides:
updateViewModelStatusin classStandardComponent<IValue<File>,IParameterization> - Parameters:
viewModel- the view model.model- the model to validate.
-
createControlViewModel
Description copied from class:AbstractControlComponentCreates control view model instance.- Specified by:
createControlViewModelin classAbstractControlComponent<IValue<File>,IParameterization, PictureViewModel> - Returns:
- a newly created control view model.
-
disposeViewModels
protected void disposeViewModels()Description copied from class:ComponentDisposes the view models of this component. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeViewModelsin classAbstractControlComponent<IValue<File>,IParameterization, PictureViewModel>
-