Interface MAEUpdateListener

All Known Implementing Classes:
GenNormalizationPlugin

public interface MAEUpdateListener

The MAEUpdateListener class interface is used with MAEPlugins to specify the update interface for the PopupRegistry event handlers. These are called by MAEPlugins that have registered themselves with the popup registry when they were created and the have specified the particular events including:

 
  • updateCurGene() - the current gene has changed
  • updateFilter() - the data filter has changed
  • updateSlider() - a threshold state slider changed
  • updateLabel() - the labels (including HP samples, class names etc) have changed
  • close() - go close the MAEPlugin
  • [JE Created on December 19, 2001, 4:00 PM, Version 1.0]

    This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The MAExplorer Mozilla and Legal files are available on http://maexplorer.sourceforge.net/.

    Version:
    $Date: 2003/03/03 16:15:14 $ $Revision: 1.5 $
    Author:
    Jai Evans (DECA/CIT), P. Lemkin (NCI), NCI-Frederick, Frederick, MD
    See Also:
    MAExplorer Home

    Method Summary
     void close(boolean preserveDataStructuresFlag)
              close() - close the plugin
     void updateCurGene(int mid)
              updateCurGene() - update (plot,report,string) popups w/current gene.
     void updateFilter()
              updateFilter() - update popups using Filter workingCL changes for (plot,report,string,EPOverlayPlot) popups.
     void updateLabels()
              updateLabels() - update popups using Label changes for (plot,report,string) popups.
     void updateSlider()
              updateSlider() - update popups using Slider changes for (plot,report,string) popups.
     

    Method Detail

    updateCurGene

    public void updateCurGene(int mid)
    updateCurGene() - update (plot,report,string) popups w/current gene. The popup objects will do whatever else is needed and also handle side-effects.

    updateFilter

    public void updateFilter()
    updateFilter() - update popups using Filter workingCL changes for (plot,report,string,EPOverlayPlot) popups. The popup objects will do whatever else is needed.

    updateSlider

    public void updateSlider()
    updateSlider() - update popups using Slider changes for (plot,report,string) popups. The popup objects will do whatever else is needed. [TODO] should this be deprecated? - only case where may need it is in Cluster threhold and count scrollers...

    updateLabels

    public void updateLabels()
    updateLabels() - update popups using Label changes for (plot,report,string) popups. The popup objects will do whatever else is needed. [TODO] should this be deprecated? - only case where may need it is in Cluster threhold and count scrollers...

    close

    public void close(boolean preserveDataStructuresFlag)
    close() - close the plugin
    Parameters:
    preserveDataStructuresFlag - to save data structures