Class LwtImageComboView<VM extends ComboLabelViewModel>
- java.lang.Object
-
- com._1c.g5.aef2.views.View<LwtRenderingParameters,VM,LC>
-
- com._1c.g5.aef2.lwt.views.LwtView<VM,LC>
-
- com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView<VM,LightImageCombo>
-
- com._1c.g5.aef2.standard.lwt.views.LwtImageComboView<VM>
-
- All Implemented Interfaces:
IView<LwtRenderingParameters,VM,LightImageCombo>
- Direct Known Subclasses:
LwtComboMdPropertyStateView
public class LwtImageComboView<VM extends ComboLabelViewModel> extends AbstractLwtStandardView<VM,LightImageCombo>
The LWT image combo view.
-
-
Constructor Summary
Constructors Constructor Description LwtImageComboView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
bind(VM viewModel, LightImageCombo lightControl)
Binds the view model and native control together to this view.protected LightImageCombo
createControl(ILightComposite parent, VM viewModel)
Creates a light control for the view without decorations.protected LightImageCombo
createLightImageCombo(VM viewModel)
CreatesLightImageCombo
-
Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView
createLightControl, setEnabledApperance
-
Methods inherited from class com._1c.g5.aef2.lwt.views.LwtView
getContentControl, handleFocusEvent, isControlDisposed, setContentControl, uiAsyncExec, uiSyncExec
-
Methods inherited from class com._1c.g5.aef2.views.View
bindListener, bindNativeControl, bindValue, bindValue, bindViewModel, getNativeControl, getParameters, getViewModel, handleEventChannelEvent, initialize, manageObservable, queueAndWaitEvent, queueEvent, registerEventChannelListener, unbind, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
-
-
-
-
Method Detail
-
bind
protected void bind(VM viewModel, LightImageCombo lightControl)
Description copied from class:View
Binds the view model and native control together to this view. Override this method to customize the binding.- Overrides:
bind
in classAbstractLwtStandardView<VM extends ComboLabelViewModel,LightImageCombo>
- Parameters:
viewModel
- the view model to bind.lightControl
- the native control to bind.
-
createControl
protected LightImageCombo createControl(ILightComposite parent, VM viewModel)
Description copied from class:AbstractLwtStandardView
Creates a light control for the view without decorations.- Specified by:
createControl
in classAbstractLwtStandardView<VM extends ComboLabelViewModel,LightImageCombo>
- Parameters:
parent
- the parent light composite.viewModel
- the view mode to create a control for.- Returns:
- the newly created control.
-
createLightImageCombo
protected LightImageCombo createLightImageCombo(VM viewModel)
CreatesLightImageCombo
- Returns:
- the light image combo, cannot be
null
-
-