javax.swing.plaf.basic

Class BasicListUI.ListSelectionHandler

public class BasicListUI.ListSelectionHandler extends Object implements ListSelectionListener

A helper class which listens for {@link ListSelectionEvent}s from the {@link JList}'s {@link ListSelectionModel}.
Method Summary
voidvalueChanged(ListSelectionEvent e)
Called when the list selection changes.

Method Detail

valueChanged

public void valueChanged(ListSelectionEvent e)
Called when the list selection changes.

Parameters: e The event representing the change