protected class AbstractTabDisplayerUI.ModelListener extends Object implements ComplexListDataListener, ChangeListener
Modifier | Constructor and Description |
---|---|
protected |
ModelListener() |
Modifier and Type | Method and Description |
---|---|
void |
contentsChanged(ListDataEvent e)
No-op implementation
|
void |
indicesAdded(ComplexListDataEvent e)
No-op implementation
|
void |
indicesChanged(ComplexListDataEvent e)
No-op implementation
|
void |
indicesRemoved(ComplexListDataEvent e)
No-op implementation
|
void |
intervalAdded(ListDataEvent e)
No-op implementation
|
void |
intervalRemoved(ListDataEvent e)
No-op implementation
|
void |
stateChanged(ChangeEvent e)
Called whenever any change happens in the data model (one of the above methods will also
be called with specific data about the change).
|
public void contentsChanged(ListDataEvent e)
contentsChanged
in interface ListDataListener
public void indicesAdded(ComplexListDataEvent e)
indicesAdded
in interface ComplexListDataListener
e
- The eventpublic void indicesChanged(ComplexListDataEvent e)
indicesChanged
in interface ComplexListDataListener
e
- The eventpublic void indicesRemoved(ComplexListDataEvent e)
indicesRemoved
in interface ComplexListDataListener
e
- The eventpublic void intervalAdded(ListDataEvent e)
intervalAdded
in interface ListDataListener
public void intervalRemoved(ListDataEvent e)
intervalRemoved
in interface ListDataListener
public final void stateChanged(ChangeEvent e)
modelChanged()
. To discard some cached data when the model changes, simply
override that.stateChanged
in interface ChangeListener