Class SwtScrolledCompositeView

    • Constructor Detail

      • SwtScrolledCompositeView

        public SwtScrolledCompositeView()
    • 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 class SwtStandardView<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 be null.
        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 class SwtView<ScrolledCompositeViewModel,​org.eclipse.swt.custom.ScrolledComposite>
        Parameters:
        viewModel - the view model to compute a style from.
        Returns:
        the computed style.
        See Also:
        Widget.getStyle()