Class SwtScrolledCompositeView
- 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<ScrolledCompositeViewModel,org.eclipse.swt.custom.ScrolledComposite>
-
- com._1c.g5.aef2.standard.swt.views.SwtScrolledCompositeView
-
- All Implemented Interfaces:
IView<SwtRenderingParameters,ScrolledCompositeViewModel,org.eclipse.swt.custom.ScrolledComposite>
- Direct Known Subclasses:
SwtPropertiesScrolledCompositeView
,SwtPropertiesScrolledCompositeView
public class SwtScrolledCompositeView extends SwtStandardView<ScrolledCompositeViewModel,org.eclipse.swt.custom.ScrolledComposite>
The SWT scrolled composite view.
-
-
Constructor Summary
Constructors Constructor Description SwtScrolledCompositeView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
computeNativeStyle(ScrolledCompositeViewModel viewModel)
Computes an SWT widget style flags.protected org.eclipse.swt.custom.ScrolledComposite
createControl(org.eclipse.swt.widgets.Composite parent, ScrolledCompositeViewModel viewModel)
Creates a native control for the view without decorations.protected org.eclipse.swt.custom.ScrolledComposite
createScrolledComposite(org.eclipse.swt.widgets.Composite parent, ScrolledCompositeViewModel viewModel)
Creates the scrolled composite for view.-
Methods inherited from class com._1c.g5.aef2.standard.swt.views.SwtStandardView
bind, createNativeControl, setEnabledApperance
-
Methods inherited from class com._1c.g5.aef2.swt.views.SwtView
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, unbind, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
-
-
-
-
Method Detail
-
createControl
protected org.eclipse.swt.custom.ScrolledComposite createControl(org.eclipse.swt.widgets.Composite parent, ScrolledCompositeViewModel viewModel)
Description copied from class:SwtStandardView
Creates a native control for the view without decorations.- Specified by:
createControl
in classSwtStandardView<ScrolledCompositeViewModel,org.eclipse.swt.custom.ScrolledComposite>
- Parameters:
parent
- the parent composite to place a control in.viewModel
- the view mode to create a control for.- Returns:
- the newly created control
-
createScrolledComposite
protected org.eclipse.swt.custom.ScrolledComposite createScrolledComposite(org.eclipse.swt.widgets.Composite parent, ScrolledCompositeViewModel viewModel)
Creates the scrolled composite for view.- Parameters:
parent
- The parent composite, cannot benull
.viewModel
- The view model.- Returns:
- The created composite.
-
computeNativeStyle
protected int computeNativeStyle(ScrolledCompositeViewModel viewModel)
Description copied from class:SwtView
Computes an SWT widget style flags. Override it to customize the flags.- Overrides:
computeNativeStyle
in classSwtView<ScrolledCompositeViewModel,org.eclipse.swt.custom.ScrolledComposite>
- Parameters:
viewModel
- the view model to compute a style from.- Returns:
- the computed style.
- See Also:
Widget.getStyle()
-
-