Class SwtLightScrolledComposite

    • Constructor Detail

      • SwtLightScrolledComposite

        public SwtLightScrolledComposite​(org.eclipse.swt.custom.ScrolledComposite swtComposite)
        Instantiates a new SWT light scrolled composite.
        Parameters:
        swtComposite - the SWT scrolled composite to attach the light controls support to.
    • Method Detail

      • addChild

        public <T extends ILightControl> T addChild​(T control,
                                                    int index)
        Description copied from interface: ILightComposite
        Adds the child control to this composite.
        Specified by:
        addChild in interface ILightComposite
        Overrides:
        addChild in class SwtLightComposite
        Parameters:
        control - the control to add.
        index - the index to add the control at.
        Returns:
        the control added.
      • getSwtComposite

        public org.eclipse.swt.custom.ScrolledComposite getSwtComposite()
        Description copied from class: SwtLightComposite
        Gets the associated SWT composite.
        Overrides:
        getSwtComposite in class SwtLightComposite
        Returns:
        the SWT composite.