Module java.desktop

Class MetalScrollPaneUI

All Implemented Interfaces:
ScrollPaneConstants

public class MetalScrollPaneUI
extends BasicScrollPaneUI
A Metal L&F implementation of ScrollPaneUI.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans has been added to the java.beans package. Please see XMLEncoder.

  • Constructor Details

    • MetalScrollPaneUI

      public MetalScrollPaneUI()
  • Method Details

    • createUI

      public static ComponentUI createUI​(JComponent x)
      Constructs a new MetalScrollPaneUI.
      Parameters:
      x - a component
      Returns:
      a new MetalScrollPaneUI
    • uninstallListeners

      @Deprecated public void uninstallListeners​(JScrollPane scrollPane)
      Parameters:
      scrollPane - an instance of the JScrollPane
    • createScrollBarSwapListener

      protected PropertyChangeListener createScrollBarSwapListener()
      Returns a new PropertyChangeListener for scroll bar swap events.
      Returns:
      a new PropertyChangeListener for scroll bar swap events.