Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

javax.swing.event
Interface ChangeListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
AbstractButton.ButtonChangeListener, JSpinner.DefaultEditor, JTabbedPane.ModelListener

public interface ChangeListener
extends java.util.EventListener

Defines an object which listens for ChangeEvents.


Method Summary
 void stateChanged(ChangeEvent e)
          Invoked when the target of the listener has changed its state.
 

Method Detail

stateChanged

public void stateChanged(ChangeEvent e)
Invoked when the target of the listener has changed its state.

Parameters:
e - a ChangeEvent object

JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.