javax.swing
Class AbstractButton.ButtonChangeListener

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.AbstractButton.ButtonChangeListener
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , EventListener sample code for java.util.EventListener definition code for java.util.EventListener , ChangeListener sample code for javax.swing.event.ChangeListener definition code for javax.swing.event.ChangeListener
Enclosing class:
AbstractButton sample code for javax.swing.AbstractButton definition code for javax.swing.AbstractButton

protected class AbstractButton.ButtonChangeListener
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements ChangeListener sample code for javax.swing.event.ChangeListener definition code for javax.swing.event.ChangeListener , Serializable sample code for java.io.Serializable definition code for java.io.Serializable

Extends ChangeListener to be serializable.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder sample code for java.beans.XMLEncoder definition code for java.beans.XMLEncoder .

See Also:
Serialized Form

Method Summary
 void stateChanged sample code for javax.swing.AbstractButton.ButtonChangeListener.stateChanged(javax.swing.event.ChangeEvent) definition code for javax.swing.AbstractButton.ButtonChangeListener.stateChanged(javax.swing.event.ChangeEvent) (ChangeEvent sample code for javax.swing.event.ChangeEvent definition code for javax.swing.event.ChangeEvent  e)
          Invoked when the target of the listener has changed its state.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Method Detail

stateChanged sample code for javax.swing.AbstractButton.ButtonChangeListener.stateChanged(javax.swing.event.ChangeEvent) definition code for javax.swing.AbstractButton.ButtonChangeListener.stateChanged(javax.swing.event.ChangeEvent)

public void stateChanged(ChangeEvent sample code for javax.swing.event.ChangeEvent definition code for javax.swing.event.ChangeEvent  e)
Description copied from interface: ChangeListener sample code for javax.swing.event.ChangeListener.stateChanged(javax.swing.event.ChangeEvent) definition code for javax.swing.event.ChangeListener.stateChanged(javax.swing.event.ChangeEvent)
Invoked when the target of the listener has changed its state.

Specified by:
stateChanged sample code for javax.swing.event.ChangeListener.stateChanged(javax.swing.event.ChangeEvent) definition code for javax.swing.event.ChangeListener.stateChanged(javax.swing.event.ChangeEvent) in interface ChangeListener sample code for javax.swing.event.ChangeListener definition code for javax.swing.event.ChangeListener
Parameters:
e - a ChangeEvent object