|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MJAbase | +--MJApopupRegistry
MAExplorer Open Java API class to access MJApopupRegistry methods and data structures. Access the Popup Registry.
List of methods available to Plugin-writers
addUniquePopupWindowToReg() - register popupWindowInstance window with keyName addPopupWindowToReg() - register popupWindowInstance window with keyName removePopupByKey() - remove popupWindowInstance by keyName doesPopupExistByKey() - does popup Window Instance exist by keyName doesUniquePopupExistByKey() - does unique popupWindow exist by keyName invokeUpdateCurGene() - invoke popup updates with current gene and mouseKeyMods invokeUpdateFilter() - invoke registered popups updates for data filter changed invokeUpdateSlider() - invoke registered popups updates for slider state data changed invokeUnvokeUpdateLabels() - invoke registered popups updates for sample labels, etc data changed chkOtherCurGeneEffects() - check for other current gene effects when change MID updateCurGeneInImageAndReg() - update current gene in PseudoArray image and registry setWaitCursor() - set wait cursor ON/OFF to clock or standard cursor
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/.
Method Summary | |
int |
addPopupWindowToReg(MAEUpdateListener maePluginInstance,
java.lang.String keyName,
int propBits)
addPopupWindowToReg() - register instance of MAEPlugin window with keyName |
int |
addUniquePopupWindowToReg(MAEUpdateListener popupWindowInstance,
java.lang.String keyName,
int propBits)
addUniquePopupWindowToReg() - register popupWindowInstance window with keyName |
boolean |
chkOtherCurGeneEffects(int mid,
int mouseKeyMods)
chkOtherCurGeneEffects() - check for other current gene effects when change MID |
boolean |
doesPopupExistByKey(java.lang.String keyName)
doesPopupExistByKey() - does instance of registered MAEPlugin exist by keyName |
boolean |
doesUniquePopupExistByKey(java.lang.String keyName)
doesUniquePopupExistByKey() - does unique instance of registered MAEPlugin exist by keyName |
boolean |
invokeUpdateCurGene(java.lang.Object maepluginInstance,
int mid,
int mouseKeyMods)
invokeUpdateCurGene() - invoke updates for registered popups and plugins for current gene. |
boolean |
invokeUpdateFilter()
invokeUpdateFilter() - invoke registered plugins updates for data filter changed |
boolean |
invokeUpdateLabels()
invokeUnvokeUpdateLabels() - invoke registered plugins updates for sample labels, etc data changed |
boolean |
invokeUpdateSlider()
invokeUpdateSlider() - invoke registered plugins updates for slider state data changed |
boolean |
removePopupByKey(java.lang.String keyName)
removePopupByKey() - remove instance of MAEPlugin by keyName |
boolean |
setWaitCursor(boolean status)
setWaitCursor() - set wait cursor ON/OFF to clock or standard cursor |
boolean |
updateCurGeneInImageAndReg(int mid)
updateCurGeneInImageAndReg() - update current gene in PseudoArray image and registry If the current gene is defined (i.e. |
Methods inherited from class MJAbase |
cvtHashtable2SimpleTable, cvtTable2Hashtable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public final int addUniquePopupWindowToReg(MAEUpdateListener popupWindowInstance, java.lang.String keyName, int propBits)
popupWindowInstance
- instance of popup windowkeyName
- key name associated with popupWindowInstancepropBits
- property bits associated with popupWindowInstancepublic final int addPopupWindowToReg(MAEUpdateListener maePluginInstance, java.lang.String keyName, int propBits)
maePluginInstance
- instance of MAEPluginkeyName
- key name associated with maePluginInstancepropBits
- property bits associated with maePluginInstancepublic final boolean removePopupByKey(java.lang.String keyName)
keyName
- key name associated with registered instance of MAEPluginfalse
if problempublic final boolean doesPopupExistByKey(java.lang.String keyName)
keyName
- key name associated with popup Window Instancepublic final boolean doesUniquePopupExistByKey(java.lang.String keyName)
keyName
- key name associated with popup Window Instancepublic final boolean invokeUpdateCurGene(java.lang.Object maepluginInstance, int mid, int mouseKeyMods)
mouseKeyMods Effect none set current gene InputEvent.CTRL_MASK set current gene and add it to Edited Gene List InputEvent.SHIFT_MASK set current gene and remove it from Edited Gene List
maepluginInstance
- (opt) instance of plugin to avoid calling if not
null (specify 'this' to avoid calling oneself)mid
- current gene if requiredmouseKeyMods
- mouse key modifier bits associated with mouse presspublic final boolean invokeUpdateFilter()
false
if any errorpublic final boolean invokeUpdateSlider()
false
if any errorpublic final boolean invokeUpdateLabels()
false
if any errorpublic final boolean chkOtherCurGeneEffects(int mid, int mouseKeyMods)
mouseKeyMods Effect none set current gene InputEvent.CTRL_MASK set current gene and add it to Edited Gene List InputEvent.SHIFT_MASK set current gene and remove it from Edited Gene List
mid
- current gene if requiredmouseKeyMods
- bits associated with mouse pressfalse
if any errorpublic final boolean updateCurGeneInImageAndReg(int mid)
1. modifying the 'editable gene list', 2. poping up a web browser on external GenBank data (if enabled), 3. change the gene used in the 'single' expression profile plot, 4. update cluster algorithms and redraw overlays in pseudoarray image.
mid
- current gene if required (-1 if not)false
if any errorpublic final boolean setWaitCursor(boolean status)
status
- turn clock (ON) or standard cursor (OFF)false
if method was not found or method failed,
otherwise the flag returned by the method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |