Module java.desktop

Class BasicScrollPaneUI.ViewportChangeHandler

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

public class BasicScrollPaneUI.ViewportChangeHandler extends Object implements ChangeListener
Listener for viewport events.
  • Constructor Details

    • ViewportChangeHandler

      public ViewportChangeHandler()
      Constructs a ViewportChangeHandler.
  • Method Details

    • stateChanged

      public void stateChanged(ChangeEvent e)
      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