net.sf.vex
Interface SelectionProvider

All Known Implementing Classes:
SelectionProviderImpl, VexComponent

public interface SelectionProvider

Represents a class that can fire selection change events to SelectionChangeListeners.


Method Summary
 void addSelectionListener(SelectionListener listener)
          Add the given SelectionChangeListener to be notified when the current selection changes.
 void removeSelectionListener(SelectionListener listener)
          Remove the given SelectionChangeListener from the notification list.
 

Method Detail

addSelectionListener

public void addSelectionListener(SelectionListener listener)
Add the given SelectionChangeListener to be notified when the current selection changes.

Parameters:
listener - SelectionChangeListener to add.

removeSelectionListener

public void removeSelectionListener(SelectionListener listener)
Remove the given SelectionChangeListener from the notification list.

Parameters:
listener - SelectionChangeListener to remove.