java.lang.Object
javax.swing.JTabbedPane.ModelListener
- All Implemented Interfaces:
Serializable
,EventListener
,ChangeListener
- Enclosing class:
JTabbedPane
We pass
ModelChanged
events along to the listeners with
the tabbedpane (instead of the model itself) as the event source.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when the target of the listener has changed its state.
-
Constructor Details
-
ModelListener
protected ModelListener()Constructs aModelListener
.
-
-
Method Details
-
stateChanged
Description copied from interface:ChangeListener
Invoked when the target of the listener has changed its state.- Specified by:
stateChanged
in interfaceChangeListener
- Parameters:
e
- a ChangeEvent object
-