javax.swing.plaf.basic
public class: BasicListUI.ListDataHandler [javadoc |
source]
java.lang.Object
javax.swing.plaf.basic.BasicListUI$ListDataHandler
All Implemented Interfaces:
ListDataListener
A helper class which listens for
ListDataEvent s generated by
the
JList 's
ListModel .
Also see:
- javax.swing.JList#getModel()
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from javax.swing.plaf.basic.BasicListUI$ListDataHandler Detail: |
public void contentsChanged(ListDataEvent e) {
updateLayoutStateNeeded |= modelChanged;
list.revalidate();
}
Called when a general change has happened in the model which cannot
be represented in terms of a simple addition or deletion. |
public void intervalAdded(ListDataEvent e) {
updateLayoutStateNeeded |= modelChanged;
list.revalidate();
}
Called when an interval of objects has been added to the model. |
public void intervalRemoved(ListDataEvent e) {
updateLayoutStateNeeded |= modelChanged;
list.revalidate();
}
Called when an inteval of objects has been removed from the model. |