|
org.netbeans.swing.tabcontrol 1.36 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.swing.tabcontrol.plaf.AbstractTabDisplayerUI.ModelListener
protected class AbstractTabDisplayerUI.ModelListener
Simple implementation of a listener on a TabDataModel. The default implementation simply does a full repaint of the tabs area on a ChangeEvent. More optimized implementations are possible by handling ListDataEvents.
| Constructor Summary | |
|---|---|
protected |
AbstractTabDisplayerUI.ModelListener()
|
| Method Summary | |
|---|---|
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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractTabDisplayerUI.ModelListener()
| Method Detail |
|---|
public void contentsChanged(ListDataEvent e)
contentsChanged in interface ListDataListenerpublic void indicesAdded(ComplexListDataEvent e)
indicesAdded in interface ComplexListDataListenere - The eventpublic void indicesChanged(ComplexListDataEvent e)
indicesChanged in interface ComplexListDataListenere - The eventpublic void indicesRemoved(ComplexListDataEvent e)
indicesRemoved in interface ComplexListDataListenere - The eventpublic void intervalAdded(ListDataEvent e)
intervalAdded in interface ListDataListenerpublic void intervalRemoved(ListDataEvent e)
intervalRemoved in interface ListDataListenerpublic final void stateChanged(ChangeEvent e)
modelChanged(). To discard some cached data when the model changes, simply
override that.
stateChanged in interface ChangeListener
|
org.netbeans.swing.tabcontrol 1.36 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||