Class LwtImageButtonView
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<ImageButtonViewModel,LightImageButton>
com._1c.g5.aef2.standard.lwt.views.LwtImageButtonView
- All Implemented Interfaces:
IView<LwtRenderingParameters,
ImageButtonViewModel, LightImageButton>
public class LwtImageButtonView
extends AbstractLwtStandardView<ImageButtonViewModel,LightImageButton>
The LWT image button view.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
bind
(ImageButtonViewModel viewModel, LightImageButton lightControl) Binds the view model and native control together to this view.protected LightImageButton
createControl
(ILightComposite parent, ImageButtonViewModel viewModel) Creates a light control for the view without decorations.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
-
Constructor Details
-
LwtImageButtonView
public LwtImageButtonView()
-
-
Method Details
-
bind
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<ImageButtonViewModel,
LightImageButton> - Parameters:
viewModel
- the view model to bind.lightControl
- the native control to bind.
-
createControl
Description copied from class:AbstractLwtStandardView
Creates a light control for the view without decorations.- Specified by:
createControl
in classAbstractLwtStandardView<ImageButtonViewModel,
LightImageButton> - Parameters:
parent
- the parent light composite.viewModel
- the view mode to create a control for.- Returns:
- the newly created control.
-