Class ScrollBar


  • public class ScrollBar
    extends Object
    Helper for scrollbars. I recommend to check for code examples in shipped groovy code to learn more about the usage of this helper and how to integrate in client modules.
    • Constructor Detail

      • ScrollBar

        public ScrollBar​(String nameSuffix)
    • Method Detail

      • onMouseScroll

        public void onMouseScroll​(int button,
                                  CoordI2 absolutePos,
                                  Predicate<CoordI2> positionIntersectsPredicate)
      • render

        public void render​(List<RenderingBo> renderingBo,
                           Area2 renderingArea,
                           int numElements)
      • getScrollPosition

        public double getScrollPosition()
      • setScrollPosition

        public void setScrollPosition​(double scrollPosition)
      • getName

        public String getName()