Class LwtCheckboxView
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<CheckboxViewModel,LightCheckbox>
com._1c.g5.aef2.standard.lwt.views.LwtCheckboxView
- All Implemented Interfaces:
IView<LwtRenderingParameters,CheckboxViewModel, LightCheckbox>
The LWT checkbox view.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbind(CheckboxViewModel viewModel, LightCheckbox lightControl) Binds the view model and native control together to this view.protected LightCheckboxcreateControl(ILightComposite parent, CheckboxViewModel viewModel) Creates a light control for the view without decorations.protected voidhandleFocusEvent(FocusEvent event, CheckboxViewModel viewModel, LightCheckbox control) HandlesFocusEvent.Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView
createLightControl, setEnabledApperanceMethods inherited from class com._1c.g5.aef2.lwt.views.LwtView
getContentControl, isControlDisposed, setContentControl, uiAsyncExec, uiSyncExecMethods 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
-
LwtCheckboxView
public LwtCheckboxView()
-
-
Method Details
-
bind
Description copied from class:ViewBinds the view model and native control together to this view. Override this method to customize the binding.- Overrides:
bindin classAbstractLwtStandardView<CheckboxViewModel,LightCheckbox> - Parameters:
viewModel- the view model to bind.lightControl- the native control to bind.
-
handleFocusEvent
protected void handleFocusEvent(FocusEvent event, CheckboxViewModel viewModel, LightCheckbox control) Description copied from class:ViewHandlesFocusEvent.- Overrides:
handleFocusEventin classLwtView<CheckboxViewModel,LightCheckbox> - Parameters:
event- the focus event, cannot benull.viewModel- the view model, cannot benull.control- the native control, cannot benull.
-
createControl
Description copied from class:AbstractLwtStandardViewCreates a light control for the view without decorations.- Specified by:
createControlin classAbstractLwtStandardView<CheckboxViewModel,LightCheckbox> - Parameters:
parent- the parent light composite.viewModel- the view mode to create a control for.- Returns:
- the newly created control.
-