|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MAEPlugin.MAEPlugin | +--MAEPlugin.CheckBoxMenuPlugin | +--MAEPlugin.analysis.AnalysisPlugin | +--MAEPlugin.analysis.FilterPlugin
This class is the filter MAEPlugin base class and is be used to implement a filter base class:
Users must implement pluginInit() and geneOperation(). Users MAY overide resetPipeline() and finishPipeline().
Created on September 5, 2001, 6:13 PM, Jai Evans
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/.
Field Summary | |
protected static java.util.Vector |
activeFilterPluginList
pointer to the active FilterPlugin object. |
Fields inherited from class MAEPlugin.MAEPlugin |
DBUG_MAEP, jarResources, registryMaxSize |
Fields inherited from interface MAEPlugin.PluginStub |
PLUGIN_VERSION |
Constructor Summary | |
FilterPlugin()
FilterPlugin() - Constructor for new FilterPlugin called when load the plugin. |
|
FilterPlugin(java.lang.String label)
FilterPlugin() - Constructor for new FilterPlugin |
Method Summary | |
boolean |
finishPipeline(int optArg)
finishPipeline() - finish filter at end of test of all genes (if required). |
protected abstract boolean |
geneOperation(int mid)
geneOperation() - implemented by plugin writer. |
static java.util.Vector |
getActiveFilterPluginList()
getActiveFilterPluginList() - Bean-style method for getting activeFilterPluginList. |
static boolean |
getFilterState()
getFilterState() - Static method for using getActiveFilter(). |
void |
pluginHalt()
pluginHalt() - stop the plugin |
abstract void |
pluginInit()
pluginInit() - Plugin init method. |
void |
pluginMain()
pluginMain() is the method activated when end-users check a checkbox API. |
void |
removeActiveFilter(FilterPlugin o)
removeActiveFilter() - Bean-style method for removing from activeFilterPluginList. |
boolean |
resetPipeline(int optArg)
resetPipeline() - reset filter at start of test of all genes (if required). |
void |
setActiveFilter(FilterPlugin o)
setActiveFilter() - Bean-style method for setting the activeFilterPluginList. |
int |
setOperation(int[] midList,
int length)
setOperation() - used in Filter intersection chain to process additional MAEPlugin filter tests. |
Methods inherited from class MAEPlugin.CheckBoxMenuPlugin |
getState, itemStateChanged, setState |
Methods inherited from class MAEPlugin.MAEPlugin |
getFlag, getInstance, getMAEStub, getMenuHook, getMenuInsertionPointName, getMenuItem, getNumberPlugins, getPluginDescription, getPluginFileName, getPluginName, getPlugins, menuActivated, removePlugin, setFlag, setJarResources, setMAEStub, setMenuHook, setMenuInsertionPointName, setMenuItem, setMenuLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static java.util.Vector activeFilterPluginList
Constructor Detail |
public FilterPlugin()
public FilterPlugin(java.lang.String label)
label
- is the overide name of the pluginMethod Detail |
public final void pluginMain()
pluginMain
in class CheckBoxMenuPlugin
setActiveFilter(MAEPlugin.analysis.FilterPlugin)
,
removeActiveFilter(MAEPlugin.analysis.FilterPlugin)
public static final boolean getFilterState()
public static final java.util.Vector getActiveFilterPluginList()
public final void removeActiveFilter(FilterPlugin o)
public final void setActiveFilter(FilterPlugin o)
public int setOperation(int[] midList, int length)
NOTE: (1)Override this method only if you need to compare different elements of the genelist simultaneously.
(2) Otherwise implement geneOperation() @see #geneOperation
midList
- Master Gene ID listgeneOperation(int)
public boolean resetPipeline(int optArg)
optArg
- - optional argumentpublic boolean finishPipeline(int optArg)
optArg
- - optional argumentprotected abstract boolean geneOperation(int mid)
public abstract void pluginInit()
pluginInit
in class MAEPlugin
public void pluginHalt()
pluginHalt
in class MAEPlugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |