Module java.desktop

Class BasicScrollPaneUI.ViewportChangeHandler

java.lang.Object
javax.swing.plaf.basic.BasicScrollPaneUI.ViewportChangeHandler
All Implemented Interfaces:
EventListener, ChangeListener
Enclosing class:
BasicScrollPaneUI

@Deprecated(since="17") public class BasicScrollPaneUI.ViewportChangeHandler extends Object implements ChangeListener
Deprecated.
Listener for viewport events. This class exists only for backward compatibility. All its functionality has been moved into Handler.
  • Constructor Details

    • ViewportChangeHandler

      public ViewportChangeHandler()
      Deprecated.
      Constructs a ViewportChangeHandler.
  • Method Details

    • stateChanged

      public void stateChanged(ChangeEvent e)
      Deprecated.
      Description copied from interface: ChangeListener
      Invoked when the target of the listener has changed its state.
      Specified by:
      stateChanged in interface ChangeListener
      Parameters:
      e - a ChangeEvent object