Class JBScrollBar

All Implemented Interfaces:
Adjustable, ImageObserver, MenuContainer, Serializable, Accessible

public class JBScrollBar extends JScrollBar
Our implementation of a scroll bar with the custom UI. Also it provides a method to create custom UI for our custom Linvalid input: '&Fs'.
See Also:
  • Field Details

  • Constructor Details

    • JBScrollBar

      public JBScrollBar()
    • JBScrollBar

      public JBScrollBar(int orientation)
    • JBScrollBar

      public JBScrollBar(int orientation, int value, int extent, int min, int max)
  • Method Details

    • updateUI

      public void updateUI()
      Overrides:
      updateUI in class JScrollBar
    • createUI

      public static ScrollBarUI createUI(JComponent c)
      Returns a new instance of ScrollBarUI. Do not share it between different scroll bars.
      Parameters:
      c - a target component for this UI
      Returns:
      a new instance of ScrollBarUI