Class LwtRadioGroupView
- 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,LC>
-
- com._1c.g5.aef2.standard.lwt.views.AbstractHeavyWrapperView<VM,SwtLightControl,NC>
-
- com._1c.g5.aef2.standard.lwt.views.AbstractHeavyControlWrapperView<RadioGroupViewModel,org.eclipse.swt.widgets.Group>
-
- com._1c.g5.aef2.standard.lwt.views.LwtRadioGroupView
-
- All Implemented Interfaces:
IView<LwtRenderingParameters,RadioGroupViewModel,SwtLightControl>
public class LwtRadioGroupView extends AbstractHeavyControlWrapperView<RadioGroupViewModel,org.eclipse.swt.widgets.Group>
The LWT radio group view.
-
-
Constructor Summary
Constructors Constructor Description LwtRadioGroupView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
bind(RadioGroupViewModel viewModel, SwtLightControl lightControl)
Binds the view model and native control together to this view.protected org.eclipse.swt.widgets.Group
createHeavyControl(org.eclipse.swt.widgets.Composite composite, RadioGroupViewModel viewModel)
Creates SWT control.protected void
unbind(RadioGroupViewModel viewModel, SwtLightControl lightControl)
Unbinds the view model and the native control from this view.-
Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractHeavyControlWrapperView
wrapHeavyControl
-
Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractHeavyWrapperView
createControl
-
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, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
-
-
-
-
Method Detail
-
bind
protected void bind(RadioGroupViewModel viewModel, SwtLightControl 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<RadioGroupViewModel,SwtLightControl>
- Parameters:
viewModel
- the view model to bind.lightControl
- the native control to bind.
-
unbind
protected void unbind(RadioGroupViewModel viewModel, SwtLightControl lightControl)
Description copied from class:View
Unbinds the view model and the native control from this view. Override this method to customize the unbinding.- Overrides:
unbind
in classView<LwtRenderingParameters,RadioGroupViewModel,SwtLightControl>
- Parameters:
viewModel
- the view mode to unbind.lightControl
- the native control to unbind.
-
createHeavyControl
protected org.eclipse.swt.widgets.Group createHeavyControl(org.eclipse.swt.widgets.Composite composite, RadioGroupViewModel viewModel)
Description copied from class:AbstractHeavyWrapperView
Creates SWT control.- Specified by:
createHeavyControl
in classAbstractHeavyWrapperView<RadioGroupViewModel,SwtLightControl,org.eclipse.swt.widgets.Group>
- Parameters:
composite
- the composite.viewModel
- the view model.- Returns:
- the newly created SWT control.
-
-