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
Class JTabbedPane.ModelListener

java.lang.Object
  extended byjavax.swing.JTabbedPane.ModelListener
All Implemented Interfaces:
ChangeListener, java.util.EventListener, java.io.Serializable
Enclosing class:
JTabbedPane

protected class JTabbedPane.ModelListener
extends java.lang.Object
implements ChangeListener, java.io.Serializable

We pass ModelChanged events along to the listeners with the tabbedpane (instead of the model itself) as the event source.


Constructor Summary
protected JTabbedPane.ModelListener()
           
 
Method Summary
 void stateChanged(ChangeEvent e)
          Invoked when the target of the listener has changed its state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTabbedPane.ModelListener

protected JTabbedPane.ModelListener()
Method Detail

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

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.