Module java.desktop

Class BasicScrollPaneUI.ViewportChangeHandler

java.lang.Object
javax.swing.plaf.basic.BasicScrollPaneUI.ViewportChangeHandler
所有已实现的接口:
EventListener, ChangeListener
封闭类:
BasicScrollPaneUI

@Deprecated(since="17", forRemoval=true) public class BasicScrollPaneUI.ViewportChangeHandler extends Object implements ChangeListener
Deprecated, for removal: This API element is subject to removal in a future version.
视口事件的监听器。此类仅用于向后兼容。其所有功能已移至Handler中。
  • Constructor Summary

    Constructors
    Constructor
    Description
    已弃用,将被移除:此API元素可能在将来的版本中被移除。
    构造一个ViewportChangeHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    已弃用,将被移除:此API元素可能在将来的版本中被移除。
    当监听器的目标更改其状态时调用。

    Methods declared in class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ViewportChangeHandler

      public ViewportChangeHandler()
      Deprecated, for removal: This API element is subject to removal in a future version.
      构造一个ViewportChangeHandler
  • Method Details

    • stateChanged

      public void stateChanged(ChangeEvent e)
      Deprecated, for removal: This API element is subject to removal in a future version.
      从接口复制的描述: ChangeListener
      当监听器的目标更改其状态时调用。
      指定者:
      stateChanged 在接口 ChangeListener
      参数:
      e - 一个 ChangeEvent 对象