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 PictureViewModel
Creates control view model instance.protected void
Disposes the view models of this component.protected void
updateViewModelStatus
(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, updateViewModels
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus
Methods 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:StandardComponent
Updates the validation status of the given view model.- Overrides:
updateViewModelStatus
in classStandardComponent<IValue<File>,
IParameterization> - Parameters:
viewModel
- the view model.model
- the model to validate.
-
createControlViewModel
Description copied from class:AbstractControlComponent
Creates control view model instance.- Specified by:
createControlViewModel
in classAbstractControlComponent<IValue<File>,
IParameterization, PictureViewModel> - Returns:
- a newly created control view model.
-
disposeViewModels
protected void disposeViewModels()Description copied from class:Component
Disposes the view models of this component. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeViewModels
in classAbstractControlComponent<IValue<File>,
IParameterization, PictureViewModel>
-