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
Constructors Constructor Description DtPictureComponent()
Creates a new instance.DtPictureComponent(IParameterization parameterization)
Creates a new instance with parameterization.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PictureViewModel
createControlViewModel()
Creates control view model instance.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, disposeViewModels, 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 Detail
-
DtPictureComponent
public DtPictureComponent(IParameterization parameterization)
Creates a new instance with parameterization.- Parameters:
parameterization
- the parameterization.
-
DtPictureComponent
public DtPictureComponent()
Creates a new instance.
-
-
Method Detail
-
updateViewModelStatus
protected void updateViewModelStatus(ControlViewModel viewModel, IModel model)
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
protected PictureViewModel 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.
-
-