Class SwtCheckableLabelView<VM extends CheckableLabelViewModel>
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<VM,org.eclipse.swt.widgets.Button>
 
com._1c.g5.aef2.standard.swt.views.SwtCheckableLabelView<VM>
- All Implemented Interfaces:
- IView<SwtRenderingParameters,- VM, - org.eclipse.swt.widgets.Button> 
- Direct Known Subclasses:
- SwtMdPropertyStateView
public class SwtCheckableLabelView<VM extends CheckableLabelViewModel>
extends SwtStandardView<VM,org.eclipse.swt.widgets.Button> 
The SWT checkable label view.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidBinds the view model and native control together to this view.protected intcomputeNativeStyle(VM viewModel) Computes an SWT widget style flags.org.eclipse.swt.widgets.ButtoncreateControl(org.eclipse.swt.widgets.Composite parent, VM viewModel) Creates a native control for the view without decorations.Methods inherited from class com._1c.g5.aef2.standard.swt.views.SwtStandardViewcreateNativeControl, setEnabledApperanceMethods inherited from class com._1c.g5.aef2.swt.views.SwtViewgetContentControl, handleFocusEvent, isControlDisposed, setContentControl, uiAsyncExec, uiSyncExecMethods inherited from class com._1c.g5.aef2.views.ViewbindListener, bindNativeControl, bindValue, bindValue, bindViewModel, getNativeControl, getParameters, getViewModel, handleEventChannelEvent, initialize, manageObservable, queueAndWaitEvent, queueEvent, registerEventChannelListener, unbind, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
- 
Constructor Details- 
SwtCheckableLabelViewpublic SwtCheckableLabelView()
 
- 
- 
Method Details- 
bindDescription copied from class:ViewBinds the view model and native control together to this view. Override this method to customize the binding.- Overrides:
- bindin class- SwtStandardView<VM extends CheckableLabelViewModel,- org.eclipse.swt.widgets.Button> 
- Parameters:
- viewModel- the view model to bind.
- nativeControl- the native control to bind.
 
- 
createControlpublic org.eclipse.swt.widgets.Button createControl(org.eclipse.swt.widgets.Composite parent, VM viewModel) Description copied from class:SwtStandardViewCreates a native control for the view without decorations.- Specified by:
- createControlin class- SwtStandardView<VM extends CheckableLabelViewModel,- org.eclipse.swt.widgets.Button> 
- Parameters:
- parent- the parent composite to place a control in.
- viewModel- the view mode to create a control for.
- Returns:
- the newly created control
 
- 
computeNativeStyleDescription copied from class:SwtViewComputes an SWT widget style flags. Override it to customize the flags.- Overrides:
- computeNativeStylein class- SwtView<VM extends CheckableLabelViewModel,- org.eclipse.swt.widgets.Button> 
- Parameters:
- viewModel- the view model to compute a style from.
- Returns:
- the computed style.
- See Also:
- 
- Widget.getStyle()
 
 
 
-