Class SwtRadioGroupView
- java.lang.Object
-
- com._1c.g5.aef2.views.View<SwtRenderingParameters,VM,NC>
-
- com._1c.g5.aef2.swt.views.SwtView<VM,NC>
-
- com._1c.g5.aef2.standard.swt.views.SwtStandardView<RadioGroupViewModel,org.eclipse.swt.widgets.Group>
-
- com._1c.g5.aef2.standard.swt.views.SwtRadioGroupView
-
- All Implemented Interfaces:
IView<SwtRenderingParameters,RadioGroupViewModel,org.eclipse.swt.widgets.Group>
public class SwtRadioGroupView extends SwtStandardView<RadioGroupViewModel,org.eclipse.swt.widgets.Group>
The SWT radio group view.
-
-
Constructor Summary
Constructors Constructor Description SwtRadioGroupView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbind(RadioGroupViewModel viewModel, org.eclipse.swt.widgets.Group nativeControl)Binds the view model and native control together to this view.org.eclipse.swt.widgets.GroupcreateControl(org.eclipse.swt.widgets.Composite parent, RadioGroupViewModel viewModel)Creates a native control for the view without decorations.protected voidunbind(RadioGroupViewModel viewModel, org.eclipse.swt.widgets.Group nativeControl)Unbinds the view model and the native control from this view.-
Methods inherited from class com._1c.g5.aef2.standard.swt.views.SwtStandardView
createNativeControl, setEnabledApperance
-
Methods inherited from class com._1c.g5.aef2.swt.views.SwtView
computeNativeStyle, 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, org.eclipse.swt.widgets.Group nativeControl)
Description copied from class:ViewBinds the view model and native control together to this view. Override this method to customize the binding.- Overrides:
bindin classSwtStandardView<RadioGroupViewModel,org.eclipse.swt.widgets.Group>- Parameters:
viewModel- the view model to bind.nativeControl- the native control to bind.
-
unbind
protected void unbind(RadioGroupViewModel viewModel, org.eclipse.swt.widgets.Group nativeControl)
Description copied from class:ViewUnbinds the view model and the native control from this view. Override this method to customize the unbinding.- Overrides:
unbindin classView<SwtRenderingParameters,RadioGroupViewModel,org.eclipse.swt.widgets.Group>- Parameters:
viewModel- the view mode to unbind.nativeControl- the native control to unbind.
-
createControl
public org.eclipse.swt.widgets.Group createControl(org.eclipse.swt.widgets.Composite parent, RadioGroupViewModel viewModel)Description copied from class:SwtStandardViewCreates a native control for the view without decorations.- Specified by:
createControlin classSwtStandardView<RadioGroupViewModel,org.eclipse.swt.widgets.Group>- Parameters:
parent- the parent composite to place a control in.viewModel- the view mode to create a control for.- Returns:
- the newly created control
-
-