pal.misc
Interface PalObjectListener

All Known Implementing Classes:
CachedRateMatrix, FastLikelihoodCalculator, GeneralLikelihoodCalculator

public interface PalObjectListener

Defines objects that monitor certain PalObjects for changes

Version:
$Id: PalObjectListener.java,v 1.2 2002/07/09 06:30:59 matt Exp $
Author:
Matthew Goode

Nested Class Summary
static class PalObjectListener.EventGenerator
          A base class for classes that fire PalObject events
 
Method Summary
 void parametersChanged(PalObjectEvent pe)
          Signifies that parametric valued governing the state of this Object have changed.
 void structureChanged(PalObjectEvent pe)
          Signifies that the structure of the object has changed (for example in trees to topology has changed)
 

Method Detail

parametersChanged

void parametersChanged(PalObjectEvent pe)
Signifies that parametric valued governing the state of this Object have changed. Parameters don't have to be visible ones For example, in trees the branch lengths have changed.


structureChanged

void structureChanged(PalObjectEvent pe)
Signifies that the structure of the object has changed (for example in trees to topology has changed)