Class LwtButtonView
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<ButtonViewModel,org.eclipse.swt.widgets.Button>
 
com._1c.g5.aef2.standard.lwt.views.LwtButtonView
- All Implemented Interfaces:
- IView<LwtRenderingParameters,- ButtonViewModel, - SwtLightControl> 
public class LwtButtonView
extends AbstractHeavyControlWrapperView<ButtonViewModel,org.eclipse.swt.widgets.Button> 
The LWT button view.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidbind(ButtonViewModel viewModel, SwtLightControl lightControl) Binds the view model and native control together to this view.protected org.eclipse.swt.widgets.ButtoncreateHeavyControl(org.eclipse.swt.widgets.Composite composite, ButtonViewModel viewModel) Creates SWT control.Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractHeavyControlWrapperViewwrapHeavyControlMethods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractHeavyWrapperViewcreateControlMethods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardViewcreateLightControl, setEnabledApperanceMethods inherited from class com._1c.g5.aef2.lwt.views.LwtViewgetContentControl, 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- 
LwtButtonViewpublic LwtButtonView()
 
- 
- 
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- AbstractLwtStandardView<ButtonViewModel,- SwtLightControl> 
- Parameters:
- viewModel- the view model to bind.
- lightControl- the native control to bind.
 
- 
createHeavyControlprotected org.eclipse.swt.widgets.Button createHeavyControl(org.eclipse.swt.widgets.Composite composite, ButtonViewModel viewModel) Description copied from class:AbstractHeavyWrapperViewCreates SWT control.- Specified by:
- createHeavyControlin class- AbstractHeavyWrapperView<ButtonViewModel,- SwtLightControl, - org.eclipse.swt.widgets.Button> 
- Parameters:
- composite- the composite.
- viewModel- the view model.
- Returns:
- the newly created SWT control.
 
 
-