Class SwtImageButtonView
- 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<ImageButtonViewModel,org.eclipse.swt.widgets.Button>
- 
- com._1c.g5.aef2.standard.swt.views.SwtImageButtonView
 
 
 
 
- 
- All Implemented Interfaces:
- IView<SwtRenderingParameters,ImageButtonViewModel,org.eclipse.swt.widgets.Button>
 
 public class SwtImageButtonView extends SwtStandardView<ImageButtonViewModel,org.eclipse.swt.widgets.Button> The SWT image button view.
- 
- 
Constructor SummaryConstructors Constructor Description SwtImageButtonView()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbind(ImageButtonViewModel viewModel, org.eclipse.swt.widgets.Button nativeControl)Binds the view model and native control together to this view.org.eclipse.swt.widgets.ButtoncreateControl(org.eclipse.swt.widgets.Composite parent, ImageButtonViewModel viewModel)Creates a native control for the view without decorations.protected voidunbind(ImageButtonViewModel viewModel, org.eclipse.swt.widgets.Button nativeControl)Unbinds the view model and the native control from this view.- 
Methods inherited from class com._1c.g5.aef2.standard.swt.views.SwtStandardViewcreateNativeControl, setEnabledApperance
 - 
Methods inherited from class com._1c.g5.aef2.swt.views.SwtViewcomputeNativeStyle, getContentControl, handleFocusEvent, isControlDisposed, setContentControl, uiAsyncExec, uiSyncExec
 - 
Methods inherited from class com._1c.g5.aef2.views.ViewbindListener, bindNativeControl, bindValue, bindValue, bindViewModel, getNativeControl, getParameters, getViewModel, handleEventChannelEvent, initialize, manageObservable, queueAndWaitEvent, queueEvent, registerEventChannelListener, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
 
- 
 
- 
- 
- 
Method Detail- 
bindprotected void bind(ImageButtonViewModel viewModel, org.eclipse.swt.widgets.Button 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 class- SwtStandardView<ImageButtonViewModel,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, ImageButtonViewModel viewModel)Description copied from class:SwtStandardViewCreates a native control for the view without decorations.- Specified by:
- createControlin class- SwtStandardView<ImageButtonViewModel,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
 
 - 
unbindprotected void unbind(ImageButtonViewModel viewModel, org.eclipse.swt.widgets.Button 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 class- View<SwtRenderingParameters,ImageButtonViewModel,org.eclipse.swt.widgets.Button>
- Parameters:
- viewModel- the view mode to unbind.
- nativeControl- the native control to unbind.
 
 
- 
 
-