-
所有超级接口:
-
EventListener
-
所有已知实现类:
-
AbstractButton.ButtonChangeListener,
BasicButtonListener,
BasicMenuUI.ChangeHandler,
BasicProgressBarUI.ChangeHandler,
BasicScrollBarUI.ModelListener,
BasicScrollPaneUI.HSBChangeListener,
BasicScrollPaneUI.ViewportChangeHandler,
BasicScrollPaneUI.VSBChangeListener,
BasicSliderUI.ChangeHandler,
BasicTabbedPaneUI.TabSelectionHandler,
JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem,
JMenu.AccessibleJMenu,
JMenuItem.AccessibleJMenuItem,
JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem,
JScrollPane.AccessibleJScrollPane,
JSpinner.AccessibleJSpinner,
JSpinner.DateEditor,
JSpinner.DefaultEditor,
JSpinner.ListEditor,
JSpinner.NumberEditor,
JTabbedPane.AccessibleJTabbedPane,
JTabbedPane.ModelListener,
ProgressMonitor.AccessibleProgressMonitor
-
public interface ChangeListener
-
extends
EventListener
定义一个侦听 ChangeEvent 的对象。
stateChanged
void stateChanged(ChangeEvent e)
-
当侦听器的目标已更改其状态时调用。
-
-
-
参数:
-
e
- ChangeEvent 对象