fr.orsay.lri.varna.interfaces
Interface InterfaceVARNARNAListener


public interface InterfaceVARNARNAListener


Method Summary
 void onLayoutChanged(Hashtable<Integer,Point2D.Double> previousPositions)
          Reacts to displacement of
 void onSequenceChanged(int index, String oldseq, String newseq)
          Reacts to changes being made at the sequence level.
 void onStructureChanged(Set<ModeleBP> current, Set<ModeleBP> addedBasePairs, Set<ModeleBP> removedBasePairs)
          Reacts to modification of the structure (Base-pair addition/removal).
 

Method Detail

onSequenceChanged

void onSequenceChanged(int index,
                       String oldseq,
                       String newseq)
Reacts to changes being made at the sequence level.

Parameters:
index - The sequence index where a change of base content is observed
oldseq - Previous base content
newseq - New base content

onStructureChanged

void onStructureChanged(Set<ModeleBP> current,
                        Set<ModeleBP> addedBasePairs,
                        Set<ModeleBP> removedBasePairs)
Reacts to modification of the structure (Base-pair addition/removal).

Parameters:
current - Current list of base-pairs (can be also accessed within the current RNA object).
addedBasePairs - Newly created base-pairs
removedBasePairs - Newly removed base-pairs

onLayoutChanged

void onLayoutChanged(Hashtable<Integer,Point2D.Double> previousPositions)
Reacts to displacement of

Parameters:
previousPositions -