javax.swing

Class JTabbedPane.ModelListener

protected class JTabbedPane.ModelListener extends Object implements ChangeListener, Serializable

A helper class that listens for changes to the model.
Constructor Summary
protected ModelListener()
Creates a new ModelListener object.
Method Summary
voidstateChanged(ChangeEvent e)
This method is called whenever the model is changed.

Constructor Detail

ModelListener

protected ModelListener()
Creates a new ModelListener object.

Method Detail

stateChanged

public void stateChanged(ChangeEvent e)
This method is called whenever the model is changed.

Parameters: e The ChangeEvent that is passed from the model.