|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Frame | +--PopupCondChooser
Class PopupCondChooser - GUI to allow users to associate conditions with samples, define parameters of conditions and save within MAExplorer to be used in reports/plots etc. This lets the user create, and edit conditions and properties. A condition is an ordered list of HP samples with associated properties. The properties are shared across all conditions but each condition has a different set of values.
Description: The user is given a list of condition names. They then select one which causes the listed sample data for that condition to be displayed in the REMAINDER and SELECTED scrollable lists that are assigned to the PopupCondChooserGUI (upper part of the window). The REMAINDER list of samples is the list of all HP samples less the SELECTED samples. Each condition has a corresponding (right & left) list of parameters which are placed into the * NAME and VALUE paired entries in a scroll pane in the lower right. Saving a condition, copies the SELECTED samples to the named condition list using the mjaCondition methods. It also saves the associated parameter (name[],value[]) list for that condition using the mjaCondition methods. New conditions may be defined and the SELECTED list is set to empty and the associated parameter lists are set to empty. New parameters may be defined and are added to the end of the list. Since ALL conditions, use the same list of parameter names, then ALL condition parameter lists must be extended and saved when the conditions are saved. Condition Parameter data is read in (UserStata.java) or uses default values.
It contains the following classes: 1. CondData contains the active remainder and selected samples data for a condition instance. 2. CondParamEditForm creates a ScrollPane of the (name,value) parameters for the condition instance. 3. CondDialogBox is a dialog box with with two buttons yesMsg and noMsg that will return true or false when pressed. 4. PopupTextField is a simple "editor" for adding a string value.
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/.
Inner Class Summary | |
(package private) class |
PopupCondChooser.ChoiceList
Class ChoiceList Allows user to pick an item in a list of items |
(package private) class |
PopupCondChooser.CondData
Class CondData contains the active remainder and selected samples data for a condition instance. |
(package private) class |
PopupCondChooser.CondDialogBox
Class CondDialogBox is a dialog box with with two buttons yesMsg and noMsg that will return true or false when pressed. |
(package private) class |
PopupCondChooser.CondParamEditForm
Class CondParamEditForm creates a ScrollPane of the (name,value) parameters for the current condition instance. |
(package private) class |
PopupCondChooser.PopupTextField
Class PopupTextField is a simple "editor" for entering a string value. |
Inner classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
Inner classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock |
Field Summary | |
private java.awt.Button |
addCondButton
Add condition |
private java.awt.Button |
addParamButton
add condition parameter |
private java.lang.String[] |
allSampleNames
list of ALL samples in the database |
private java.lang.String |
banner
Title banner for the main window |
static java.lang.String |
BANNER
|
private java.awt.Font |
buttonFont
font for buttons |
private java.awt.Button |
cancelButton
cancel |
private PopupCondChooser.CondData[] |
cd
List [0:maxPossibleCond-1] of working condition data: name, selected and remainder samples, param form (name,value). |
private java.awt.Panel |
chooserPanel
Panel for condition data |
private java.awt.TextField |
condErrorMsgTf
error msg display |
private java.awt.Font |
condFont
font for conditions |
private java.awt.List |
condList
The working list of conditions for GUI |
private java.lang.String[] |
condListNames
list of condition names |
private java.awt.Panel |
condPanel
Panel to hold conditions list (LEFT) and Param Editor (RIGHT) |
static boolean |
CONSOLE_FLAG
|
private PopupCondChooser.CondParamEditForm |
cpef
CondParamEditForm instance |
private java.lang.String |
curCond
The current condition name |
private int |
curCondIdx
current cond index |
private java.lang.String |
curCondListName
show current condition name |
private java.awt.Label |
curCondNameLabel
show current condition name |
private java.awt.Color |
dataBkgrd
Text data report background color that may be changed |
private java.awt.Color |
dataColor
Text data report foreground color that may be changed |
private java.awt.Font |
dataFont
font for data used in the Chooser GUI |
static java.lang.String |
DATE
|
static boolean |
DBUG_FLAG
|
private java.awt.Button |
doneButton
done |
static int |
FATAL_MSG
Error codes for reportMsg() |
private java.lang.String |
fontFamily
Font family from MAExplorer - using mjaProperty.getReportFontFamily() |
private java.awt.Font |
labelFont
font for labels |
private java.awt.Button |
listAllCondButton
list all condition |
private java.awt.Button |
listCondButton
list condition |
static int |
LOG_MSG
Error codes for reportMsg() |
private int |
maxNbrSamples
Maximum # of samples currently in the database. |
private static int |
maxPossibleCond
maximum possible number of conditions |
private static int |
maxPossibleCondParam
maximum possible number of Condition parameters |
static int |
maxPossibleSamples
maximum possible number of hybridized saaples expected |
static int |
MIN_WINDOW_HEIGHT
|
static int |
MIN_WINDOW_WIDTH
MIN size of scrollable Canvas |
private MJAcondition |
mjaCondition
MaeJavaAPI classes |
private MJAfilter |
mjaFilter
|
private MJAproperty |
mjaProperty
|
private MJAreport |
mjaReport
|
private MJAsample |
mjaSample
|
private MJAutil |
mjaUtil
|
private java.awt.Color |
msgBkgrd
Text message background color that may be changed |
private java.awt.Color |
msgColor
Text message foreground color that may be changed |
private java.awt.Font |
msgFont
font for title at the top of the main window |
private java.awt.TextField |
msgTF
Text message report line |
private int |
nbrCondLists
number of condition lists |
private int |
nbrParams
# of condition parameters |
static boolean |
NEVER
|
private static PopupCondChooser |
oldPCC
previous instance if not null so can close it before starting new instance. |
private PopupCondChooserGUI |
oldPccgSample
previous chooser GUI for sample data |
private java.awt.Font |
paramFont
font for parameter Name and Value |
private java.lang.String[] |
paramNames
list [0:nbrCondLists-1] of condition parameter names for CondParamEditForm. |
private int |
pccgHeight
size for PopupCondChooserGUI |
private PopupCondChooserGUI |
pccgSample
chooser GUI for sample data |
private int |
pccgWidth
size for PopupCondChooserGUI |
private java.awt.TextField |
pccMsgTxtField1
msg display 1 |
private java.awt.TextField |
pccMsgTxtField2
msg display 2 |
private java.awt.TextField |
pccMsgTxtField3
msg display 3 |
private int |
preferredHeight
preferred height size of frame |
private int |
preferredWidth
preferred width size of frame |
private int |
prevCPEFidx
previous CondParamEditForm index |
private java.awt.Button |
removeCondButton
remove condition |
private java.lang.String[] |
remSamplesTmp
remaining sample names of condition before edit |
private java.lang.String |
remTitle
title of remainder samples TextArea for PopupCondChooserGUI |
static java.lang.String |
REVISION
|
private java.awt.Button |
rmvParamButton
remove condition parameter |
private java.awt.Button |
saveButton
save |
private boolean |
saveFlag
see if saved ok |
private boolean |
saveReportAsTextFileFlag
Flag enabled if doing "SaveAs" |
private java.lang.String[] |
selSamplesTmp
selected sample names of condition before edit |
private java.lang.String |
selTitle
title of selected samples TextArea for PopupCondChooserGUI |
private java.awt.Font |
titleFont
font for labels |
private boolean |
valueChangedFlag
if something is changed, need to save it so keep track |
static java.lang.String |
VERSION
|
static int |
WARNING_MSG
Error codes for reportMsg() |
Fields inherited from class java.awt.Frame |
base, CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, frameSerializedDataVersion, HAND_CURSOR, icon, ICONIFIED, mbManagement, menuBar, MOVE_CURSOR, N_RESIZE_CURSOR, nameCounter, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, ownedWindows, resizable, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, serialVersionUID, state, SW_RESIZE_CURSOR, TEXT_CURSOR, title, W_RESIZE_CURSOR, WAIT_CURSOR, weakThis |
Fields inherited from class java.awt.Window |
active, dbg, focusMgr, inputContext, inputContextLock, OPENED, ownedWindowList, showWithParent, warningString, windowListener, windowSerializedDataVersion |
Fields inherited from class java.awt.Container |
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads |
Fields inherited from class java.awt.Component |
accessibleContext, actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
PopupCondChooser(MaeJavaAPI mja,
PopupCondChooser oldPCC)
PopupCondChooser() - Constructor |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
actionPerformed() - Handle Control panel button clicks |
private void |
addAllSamplesForCond(java.lang.String cond,
int newCurIndex)
addAllSamplesForCond() - Place samples data associated with new condition into ChooserGUI. |
private void |
addNewCondition()
addNewCondition() - add new condition to local chooser database and leave it as the selected condition |
void |
addNewParameter()
addNewParameter() - add a new parameter locally. |
void |
buildGUI()
buildGUI() - build the graphical user interface for PopupCondChooser. |
private java.lang.String[] |
calcRemSamples(java.lang.String condListName,
int curIndex)
calcRemSamples() - compute remainder list of sample names (R = DB - Ci) where DB is all of the samples in the database, and Ci are the samples in condition Ci. |
(package private) void |
clearInfo()
clearInfo() - clear info for the 3 msg areas in the PopupCondChooser |
void |
close()
close() - close this popup |
(package private) int |
getCondIdxFromName(java.lang.String condName)
getCondIdxFromName() - Look up and return index of current cond. |
(package private) java.lang.String |
getCondNameFromIdx(int condIdx)
getCondNameFromIdx() - Look up and return name of current ocl. |
private java.lang.String[] |
getRemSamplesData(int index)
getRemSamplesData() - get remainder data, locally. |
private java.lang.String[] |
getRemSamplesDataFromChooserGUI(int index)
getRemSamplesDataFromChooserGUI() - get remainder data from chooserGUI |
private int |
getSampleNbrBySampleName(java.lang.String sampleName)
getSampleNbrBySampleName() - lookup the sample # by its name |
private java.lang.String[] |
getSelSamplesData(int index)
getSelSamplesData() - get Select data, locally. |
private java.lang.String[] |
getSelSamplesDataFromChooserGUI(int index)
getSelSamplesDataFromChooserGUI() - get selected data from chooserGUI |
boolean |
handleEvent(java.awt.Event evt)
handleEvent() - process special events |
(package private) void |
initData()
initData() - initialize the database. |
void |
itemStateChanged(java.awt.event.ItemEvent ie)
itemStateChanged() - user clicked on condtion in the condition list, must change CondParamEditForm data, remainder and selected data, save condForm data. |
void |
paint(java.awt.Graphics g)
paint() - repaint full scrolled text area. |
void |
removeConditionLocally()
removeConditionLocally() - remove user specified condition locally. |
void |
removeLocalParameter()
removeLocalParameter() - remove parameter locally for all conditions |
private void |
saveAllCondsToMaeState()
saveAllCondsToMaeState() - save all conditions to MAExplorer state |
private boolean |
saveCondState(PopupCondChooser.CondData[] cdList,
int nCondLists)
saveCondState() - saves all condition sample and param (N,V) data to MAE via MJAcondition. |
void |
setupCondData()
setupCondData() - get remainder and selected condition data, & parameters from MJA (indirectly from mae) and set up the cd[] array of conditions data. |
void |
update(java.awt.Graphics g)
update() - update window |
void |
updateCurGene(int mid)
updateCurGene() - update any data since current gene has changed. |
void |
updateFilter()
updateFilter() - update any dependent data since Filter has changed. |
(package private) void |
updateInfo(java.lang.String sampleName)
updateInfo() - update the info text fields for selected HP. |
void |
updateLabels()
updateLabels() - update any dependent data since global labels have changed. |
void |
updateSlider()
updateSlider() - update any dependent data sincea threshold slider has changed. |
void |
windowActivated(java.awt.event.WindowEvent e)
|
void |
windowClosed(java.awt.event.WindowEvent e)
|
void |
windowClosing(java.awt.event.WindowEvent e)
windowClosing() - close down the window. |
void |
windowDeactivated(java.awt.event.WindowEvent e)
|
void |
windowDeiconified(java.awt.event.WindowEvent e)
|
void |
windowIconified(java.awt.event.WindowEvent e)
|
void |
windowOpened(java.awt.event.WindowEvent e)
|
Methods inherited from class java.awt.Frame |
|
Methods inherited from class java.awt.Window |
addOwnedWindow, addWindowListener, adjustListeningChildren, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, dispose, eventEnabled, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, hide, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postWindowEvent, preProcessKeyEvent, processEvent, processWindowEvent, removeOwnedWindow, removeWindowListener, resetGC, setCursor, setFocusOwner, setWarningString, show, toBack, toFront, transferFocus |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, numListening, paintComponents, paintHeavyweightComponents, postsOldMouseEvents, preferredSize, print, printComponents, printHeavyweightComponents, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, setFont, setLayout, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
public static final boolean DBUG_FLAG
public static final java.lang.String DATE
public static final java.lang.String REVISION
public static final java.lang.String VERSION
public static final java.lang.String BANNER
public static final boolean CONSOLE_FLAG
public static final boolean NEVER
public static final int FATAL_MSG
public static final int WARNING_MSG
public static final int LOG_MSG
public static final int MIN_WINDOW_WIDTH
public static final int MIN_WINDOW_HEIGHT
private static int maxPossibleCond
private static int maxPossibleCondParam
public static int maxPossibleSamples
private static PopupCondChooser oldPCC
private MJAcondition mjaCondition
private MJAfilter mjaFilter
private MJAproperty mjaProperty
private MJAreport mjaReport
private MJAutil mjaUtil
private MJAsample mjaSample
private java.awt.Button addCondButton
private java.awt.Button removeCondButton
private java.awt.Button listCondButton
private java.awt.Button listAllCondButton
private java.awt.Button addParamButton
private java.awt.Button rmvParamButton
private java.awt.Button saveButton
private java.awt.Button doneButton
private java.awt.Button cancelButton
private int pccgWidth
private int pccgHeight
private int preferredHeight
private int preferredWidth
private java.lang.String fontFamily
private java.awt.Font dataFont
private java.awt.Font buttonFont
private java.awt.Font labelFont
private java.awt.Font titleFont
private java.awt.Font msgFont
private java.awt.Font paramFont
private java.awt.Font condFont
private java.awt.TextField msgTF
private java.awt.Color msgColor
private java.awt.Color msgBkgrd
private java.awt.Color dataColor
private java.awt.Color dataBkgrd
private java.awt.List condList
private java.awt.Panel chooserPanel
private java.awt.Panel condPanel
private java.awt.TextField pccMsgTxtField1
private java.awt.TextField pccMsgTxtField2
private java.awt.TextField pccMsgTxtField3
private java.awt.TextField condErrorMsgTf
private java.lang.String banner
private PopupCondChooser.CondData[] cd
private int nbrCondLists
private PopupCondChooser.CondParamEditForm cpef
private java.lang.String curCond
private java.lang.String[] paramNames
private int nbrParams
private boolean saveReportAsTextFileFlag
private boolean saveFlag
private boolean valueChangedFlag
private java.lang.String remTitle
private java.lang.String selTitle
private int prevCPEFidx
private int curCondIdx
private java.lang.String[] condListNames
private java.awt.Label curCondNameLabel
private java.lang.String curCondListName
private int maxNbrSamples
private java.lang.String[] allSampleNames
private java.lang.String[] remSamplesTmp
private java.lang.String[] selSamplesTmp
private PopupCondChooserGUI pccgSample
private PopupCondChooserGUI oldPccgSample
Constructor Detail |
public PopupCondChooser(MaeJavaAPI mja, PopupCondChooser oldPCC)
mja
- interface with MAExplorer via API.oldPCC
- is previous instance if not nullinitDataAndGUI
Method Detail |
void initData()
MJAcondition.getCondListsNames()
,
MJAcondition.getCondListsSizes()
,
MJAcondition.getMaxCondListSize()
,
MJAcondition.getNbrCondLists()
,
buildGUI
,
PopupCondChooser.CondParamEditForm
,
setupCondData
public void setupCondData()
buildGUI()
,
s@ee MJAcondition#getCondParamValues
,
MJAcondition.getSampleNamesInCondList(java.lang.String)
,
MJAcondition.getNbrCondLists()
,
calcRemSamples
,
PopupCondChooser.CondData
,
PopupCondChooser.CondParamEditForm
private java.lang.String[] calcRemSamples(java.lang.String condListName, int curIndex)
condListName
- is the condition list Ci namecurIndex
- is the index of the current condition to use if not -1MJAcondition.getSampleNamesInCondList(java.lang.String)
public void buildGUI()
MJAcondition#PopupCondChooserGUI
,
getCondIdxFromName(java.lang.String)
,
MJAcondition.getCondListsNames()
,
MJAcondition.getCurCondition()
,
MJAcondition.getMaxCondListSize()
,
MJAcondition.getNbrCondLists()
,
MJAcondition.getSampleNamesInCondList(java.lang.String)
,
buildPopupCondChooserGUI
,
PopupCondChooser.CondParamEditForm
private void addAllSamplesForCond(java.lang.String cond, int newCurIndex)
cond
- Condition set to add samplesnewCurIndex
- index for dataPopupCondChooserGUI.buildPopupCondChooserGUI()
,
MJAcondition.getAllSampleNamesInDB()
,
getRemSamplesData
,
getSelSamplesData
,
PopupCondChooserGUI
private java.lang.String[] getRemSamplesDataFromChooserGUI(int index)
index
- whichprivate java.lang.String[] getSelSamplesDataFromChooserGUI(int index)
index
- which condition indexprivate java.lang.String[] getSelSamplesData(int index)
index
- which condition indexprivate java.lang.String[] getRemSamplesData(int index)
index
- which condition indexint getCondIdxFromName(java.lang.String condName)
condName
- name of condition listjava.lang.String getCondNameFromIdx(int condIdx)
oclIdx
- of ordered condition listpublic void paint(java.awt.Graphics g)
paint
in class java.awt.Container
public void update(java.awt.Graphics g)
update
in class java.awt.Container
g
- is graphics contextprivate int getSampleNbrBySampleName(java.lang.String sampleName)
sampleName
- is the sample number tolookupvoid updateInfo(java.lang.String sampleName)
sampleName
- is the sample number to be displayedComponent.repaint()
private void saveAllCondsToMaeState()
private void addNewCondition()
public void removeConditionLocally()
getCondNameFromIdx(int)
,
MJAcondition.setCurCondition(java.lang.String)
public void addNewParameter()
public void removeLocalParameter()
void clearInfo()
public void itemStateChanged(java.awt.event.ItemEvent ie)
itemStateChanged
in interface java.awt.event.ItemListener
ie
- ItemEventaddAllSamplesForCond
,
PopupCondChooser.CondParamEditForm.saveData()
public boolean handleEvent(java.awt.Event evt)
handleEvent
in class java.awt.Component
evt
- is special eventspublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- is ActionEventprivate boolean saveCondState(PopupCondChooser.CondData[] cdList, int nCondLists)
cdList
- is list of all conditionscondLen
- size of cdListMJAcondition.createNewCondList(java.lang.String)
,
MJAcondition.setCondParamNames(java.lang.String[])
,
MJAcondition.setCondParamValue(java.lang.String, java.lang.String[])
,
MJAcondition.setSamplesInCondList(java.lang.String, java.lang.String[], int)
public void close()
public void windowClosing(java.awt.event.WindowEvent e)
windowClosing
in interface java.awt.event.WindowListener
e
- Window Eventpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened
in interface java.awt.event.WindowListener
public void windowActivated(java.awt.event.WindowEvent e)
windowActivated
in interface java.awt.event.WindowListener
public void windowClosed(java.awt.event.WindowEvent e)
windowClosed
in interface java.awt.event.WindowListener
public void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated
in interface java.awt.event.WindowListener
public void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified
in interface java.awt.event.WindowListener
public void windowIconified(java.awt.event.WindowEvent e)
windowIconified
in interface java.awt.event.WindowListener
public void updateCurGene(int mid)
mid
- is the MID (Master Gene ID) that is the new current gene.public void updateFilter()
public void updateSlider()
public void updateLabels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |