APIdia Launch Partner
Top Description Methods
javax.swing.event

public Interface ListDataListener

extends EventListener
Known Direct Implementers
javax.swing.plaf.basic.BasicComboBoxUI.ListDataHandler, javax.swing.plaf.basic.BasicComboBoxUI.Handler, javax.swing.plaf.basic.BasicComboPopup.ListDataHandler, javax.swing.plaf.basic.BasicListUI.ListDataHandler, javax.swing.plaf.basic.BasicListUI.Handler, sun.swing.FilePane.DetailsTableModel, com.sun.java.swing.plaf.gtk.GTKFileChooserUI.GTKDirectoryListModel, com.sun.java.swing.plaf.gtk.GTKFileChooserUI.GTKFileListModel, com.sun.java.swing.plaf.motif.MotifFileChooserUI.MotifDirectoryListModel, com.sun.java.swing.plaf.motif.MotifFileChooserUI.MotifFileListModel, javax.swing.JComboBox, javax.swing.JList.AccessibleJList
Imports
java.util.EventListener

ListDataListener
Author
Hans Muller

Method Summary

Modifier and TypeMethod and Description
public void
contentsChanged(ListDataEvent
a ListDataEvent encapsulating the event information
e
)

Sent when the contents of the list has changed in a way that's too complex to characterize with the previous methods.

public void
intervalAdded(ListDataEvent
a ListDataEvent encapsulating the event information
e
)

Sent after the indices in the index0,index1 interval have been inserted in the data model.

public void
intervalRemoved(ListDataEvent
a ListDataEvent encapsulating the event information
e
)

Sent after the indices in the index0,index1 interval have been removed from the data model.

Method Detail

contentsChangedback to summary
public void contentsChanged(ListDataEvent e)

Sent when the contents of the list has changed in a way that's too complex to characterize with the previous methods. For example, this is sent when an item has been replaced. Index0 and index1 bracket the change.

Parameters
e:ListDataEvent

a ListDataEvent encapsulating the event information

intervalAddedback to summary
public void intervalAdded(ListDataEvent e)

Sent after the indices in the index0,index1 interval have been inserted in the data model. The new interval includes both index0 and index1.

Parameters
e:ListDataEvent

a ListDataEvent encapsulating the event information

intervalRemovedback to summary
public void intervalRemoved(ListDataEvent e)

Sent after the indices in the index0,index1 interval have been removed from the data model. The interval includes both index0 and index1.

Parameters
e:ListDataEvent

a ListDataEvent encapsulating the event information