Class AbstractLightScrollbar

    • Constructor Detail

      • AbstractLightScrollbar

        public AbstractLightScrollbar()
    • Method Detail

      • getMinimumPosition

        public int getMinimumPosition()
      • setMinimumPosition

        public void setMinimumPosition​(int minimumPosition)
      • getMaximumPosition

        public int getMaximumPosition()
      • setMaximumPosition

        public void setMaximumPosition​(int maximumPosition)
      • getPosition

        public int getPosition()
      • setPosition

        public void setPosition​(int position)
      • getSmallIncrement

        public int getSmallIncrement()
      • setSmallIncrement

        public void setSmallIncrement​(int smallIncrement)
      • getLargeIncrement

        public int getLargeIncrement()
      • setLargeIncrement

        public void setLargeIncrement​(int largeIncrement)
      • getScrollerScaleRange

        public int getScrollerScaleRange()
      • setScrollerScaleRange

        public void setScrollerScaleRange​(int scrollerScaleRange)
      • computeSize

        public org.eclipse.swt.graphics.Point computeSize​(org.eclipse.swt.graphics.GC gc,
                                                          int width,
                                                          int height,
                                                          boolean flushCache)
        Description copied from interface: ILightControl
        Computes the size of this control.
        Specified by:
        computeSize in interface ILightControl
        Overrides:
        computeSize in class LightComposite
        Parameters:
        gc - the GC to do measurements with.
        width - the width hint, SWT.DEFAULT to compute the preferred width.
        height - the height hint, SWT.DEFAULT to compute the preferred height.
        flushCache - the flush cache flag, instructs the associated layout to reset all its caches, if any.
        Returns:
        the computed size.
      • layout

        public void layout​(org.eclipse.swt.graphics.GC gc)
        Description copied from interface: ILightComposite
        Layouts this composite using its layout, if any.
        Specified by:
        layout in interface ILightComposite
        Overrides:
        layout in class LightComposite
        Parameters:
        gc - the GC to do the measurements with.