fr.orsay.lri.varna.interfaces
Interface InterfaceVARNASelectionListener


public interface InterfaceVARNASelectionListener


Method Summary
 void onHoverChanged(ModeleBase oldbase, ModeleBase newBase)
          Specifies an action that should be performed upon changing the hovered base.
 void onSelectionChanged(BaseList selection, BaseList addedBases, BaseList removedBases)
          Specifies the action to be performed upon changing the selection.
 

Method Detail

onHoverChanged

void onHoverChanged(ModeleBase oldbase,
                    ModeleBase newBase)
Specifies an action that should be performed upon changing the hovered base.

Parameters:
oldbase - Previously hovered base (possibly null).
newBase - Newly hovered base (possibly null).

onSelectionChanged

void onSelectionChanged(BaseList selection,
                        BaseList addedBases,
                        BaseList removedBases)
Specifies the action to be performed upon changing the selection.

Parameters:
selection - The list of bases currently selected
addedBases - The list of bases added since previous selection event
removedBases - The list of bases removed since previous selection event