Class BasicScrollablePanelUI

Direct Known Subclasses:
RadianceScrollablePanelUI

public abstract class BasicScrollablePanelUI extends ScrollablePanelUI
Basic UI for scrollable panel JScrollablePanel.
  • Field Details

    • scrollablePanel

      protected JScrollablePanel scrollablePanel
      The associated scrollable panel.
    • viewport

      private JPanel viewport
    • leadingScrollCommand

      private Command leadingScrollCommand
    • trailingScrollCommand

      private Command trailingScrollCommand
    • leadingScroller

      private JCommandButton leadingScroller
    • trailingScroller

      private JCommandButton trailingScroller
    • viewOffset

      private int viewOffset
    • mouseWheelListener

      private MouseWheelListener mouseWheelListener
    • propertyChangeListener

      private PropertyChangeListener propertyChangeListener
    • componentListener

      private ComponentListener componentListener
  • Constructor Details

    • BasicScrollablePanelUI

      public BasicScrollablePanelUI()
  • Method Details

    • installUI

      public void installUI(JComponent c)
      Overrides:
      installUI in class ComponentUI
    • installListeners

      protected void installListeners()
    • installComponents

      protected void installComponents()
    • syncScrollers

      private void syncScrollers()
    • installDefaults

      protected void installDefaults()
    • uninstallUI

      public void uninstallUI(JComponent c)
      Overrides:
      uninstallUI in class ComponentUI
    • uninstallDefaults

      protected void uninstallDefaults()
    • uninstallComponents

      protected void uninstallComponents()
    • uninstallListeners

      protected void uninstallListeners()
    • syncScrolling

      private void syncScrolling()
    • scrollToIfNecessary

      public void scrollToIfNecessary(int startPosition, int span)
      Specified by:
      scrollToIfNecessary in class ScrollablePanelUI
    • revealLeftEdge

      private void revealLeftEdge(int x)
    • revealRightEdge

      private void revealRightEdge(int x, int width)
    • revealTopEdge

      private void revealTopEdge(int y)
    • revealBottomEdge

      private void revealBottomEdge(int y, int height)
    • isShowingScrollButtons

      public boolean isShowingScrollButtons()
      Specified by:
      isShowingScrollButtons in class ScrollablePanelUI