Class ShowPlotPopup

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--ShowPlotPopup
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, java.awt.event.MouseListener, java.io.Serializable, java.awt.event.WindowListener

class ShowPlotPopup
extends java.awt.Frame
implements java.awt.event.AdjustmentListener, java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.ItemListener, java.awt.event.WindowListener

The class popups a plot window containing one of several types of plots. The plot type is determined by the plotMode parameter and include scatter plots, intensity histograms, ratio histograms, clustergrams, etc. It includes a variable set of control buttons on the bottom depending on what type of plot is being presented.

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/10 19:26:08 $ $Revision: 1.5 $
Author:
P. Lemkin (NCI), G. Thornwall (SAIC), NCI-Frederick, Frederick, MD
See Also:
MAExplorer Home, Serialized Form

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.Font buttonFont
          cell label font
private  java.awt.Button closeButton
          close window button
(package private)  java.lang.String defGifFile
          default output .gif file name
(package private)  DrawClusterGram dwCG
          instance of DrawClusterGram if drawing a scatter plot
(package private)  DrawHistogram dwH
          instance of DrawHistogram if drawing a scatter plot
(package private)  DrawRatioHistogram dwRH
          instance of DrawRatioHistogram if drawing a scatter plot
(package private)  DrawScatterPlot dwSP
          instance of DrawScatterPlot if drawing a scatter plot
(package private)  int frameHeight
          working frame size neight
(package private)  int frameWidth
          working frame size width
(package private)  int histBinMode
          Histogram Bind Mode using TH_xx: "= " is 1, "< " is 2, "> " is 3, "<>" is 4, "><" is 5
(package private)  java.lang.String histBinRange
          Histogram (intens/ratio) bin range button.
private  java.awt.Button histBinRangeButton
          histogram (intens/ratio) bin range button
private  java.awt.Scrollbar horizLBscr
          horizontal LowerBound scrollbar for canvas
private  java.awt.Scrollbar horizUBscr
          horizontal UpperBound scrollbar for canvas
(package private)  boolean logScalingFlag
          flag: toggle with Linear/Log button
private  MAExplorer mae
          link to global MAExplorer instance
private  int maxStepsScr
          number of prewired scroller steps
private  java.awt.Checkbox mouseOverCheckBox
          Checkbox to toggle Show "Mouse-over info"
private  java.awt.Button nonFilteredGenesButton
          non-Filtered genes button
(package private)  boolean outsideRangeFlag
          flag: toggle if "><" hist range
(package private)  int plotMode
          Plot mode: one of the mae.PLOT_xxxx values
(package private) static int POPUP_HEIGHT
          default frame size height of popup
(package private) static int POPUP_WIDTH
          default frame size width of popup
(package private)  java.lang.String popupName
          ARG: popup name for PopupRegistry
(package private)  int popupPropertyBits
          ARG: property bius for PopupRegistry
private  java.awt.Button reFilterHistButton
          reFilterHist/NoreFilterHist button
(package private)  boolean reFilterHistFlag
          flag: toggle with reFilterHist/NoreFilterHist button
private  java.awt.Button saveAsButton
          "SaveAs" GIF image button
private  java.awt.Button scalingButton
          [DEPRICATED] Linear/Log button
(package private)  boolean showNonFilteredGenesFlag
          flag: toggle non-Filtered genes button
private  java.awt.Panel sPanel
          Panel that holds scrollable canvas
(package private) static int TH_EQ
          threshold Button tests "= "
(package private) static int TH_GT
          threshold Button tests "> "
(package private) static int TH_IN
          threshold Button tests "<>"
(package private) static int TH_LT
          threshold Button tests "< "
(package private) static int TH_OUT
          threshold Button tests "><"
(package private)  java.lang.String title
          ARG: title of popup plot
private  java.awt.Scrollbar vertLBscr
          vertical LowerBound scrollbar for canvas
private  java.awt.Scrollbar vertUBscr
          vertical UpperBound scrollbar for canvas
private  int visibleScr
          scrollbar's 'visible' amount
 
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, 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
(package private) ShowPlotPopup(MAExplorer mae, int plotMode, java.lang.String title, java.lang.String popupName, int popupPropertyBits, int frmOffset)
          ShowPlotPopup() - constructor to create a spreadsheet from raw data with URL spec.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          actionPerformed() - Handle Control panel button clicks
 void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
          adjustmentValueChanged() - handle scroll events if plot supports scrollers.
(package private)  void close()
          close() - close this popup and reset flags if needed
private  boolean createPopupPlot()
          createPopupPlot() - create the popup plot
 void itemStateChanged(java.awt.event.ItemEvent e)
          itemStateChanged() - handle check box item state changed events NOTE: need to implement radio groups here since AWT only implements radio groups for Checkboxes, and not for Checkbox MenuItems.
 void mouseClicked(java.awt.event.MouseEvent e)
          mouseClicked() - handle mouse Click events
 void mouseDragged(java.awt.event.MouseEvent e)
          mouseDragged() - handle mouse Drag events
 void mouseEntered(java.awt.event.MouseEvent e)
          mouseEntered() - handle mouse Enter events
 void mouseExited(java.awt.event.MouseEvent e)
          mouseExited() - handle mouse Exit events
 void mouseMoved(java.awt.event.MouseEvent e)
          mouseMoved() - handle mouse Move events
 void mousePressed(java.awt.event.MouseEvent e)
          mousePressed() - handle mouse Press events
 void mouseReleased(java.awt.event.MouseEvent e)
          mouseReleased() - handle mouse Release events
private  void saveAsGifFile(java.lang.String oGifFileName)
          saveAsGifFile() - save plot canvas in oGifFileName
(package private)  void updateCurGene(int mid, java.lang.Object sObj)
          updateCurGene() - update plot if current gene changed and this type of plot requires it.
(package private)  void updateFilter(GeneList ml)
          updateFilter() - update plot if Filter changed and this type of plot requires it.
(package private)  void updateLabels()
          updateLabels() - update string report if labels changed and this type of plot requires it.
private  boolean updatePlot()
          updatePlot() - update the popup plot
(package private)  void updateScaling()
          updateScaling() - set scaling mode in proper sub-object for plotMode.
(package private)  void updateSlider()
          updateSlider() - update plot if Slider changed and this type of plot requires it.
 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
, addNotify, addToFrameList, constructComponentName, finalize, getAccessibleContext, getCursorType, getFrames, getIconImage, getMenuBar, getState, getTitle, initIDs, isResizable, paramString, postProcessKeyEvent, readObject, remove, removeFromFrameList, removeNotify, setCursor, setIconImage, setMenuBar, setResizable, setState, setTitle, writeObject
 
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, paint, paintComponents, paintHeavyweightComponents, postsOldMouseEvents, preferredSize, print, printComponents, printHeavyweightComponents, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, setFont, setLayout, update, 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, handleEvent, 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

mae

private MAExplorer mae
link to global MAExplorer instance

TH_EQ

static final int TH_EQ
threshold Button tests "= "

TH_LT

static final int TH_LT
threshold Button tests "< "

TH_GT

static final int TH_GT
threshold Button tests "> "

TH_IN

static final int TH_IN
threshold Button tests "<>"

TH_OUT

static final int TH_OUT
threshold Button tests "><"

POPUP_WIDTH

static final int POPUP_WIDTH
default frame size width of popup

POPUP_HEIGHT

static final int POPUP_HEIGHT
default frame size height of popup

title

java.lang.String title
ARG: title of popup plot

plotMode

int plotMode
Plot mode: one of the mae.PLOT_xxxx values

frameWidth

int frameWidth
working frame size width

frameHeight

int frameHeight
working frame size neight

popupName

java.lang.String popupName
ARG: popup name for PopupRegistry

popupPropertyBits

int popupPropertyBits
ARG: property bius for PopupRegistry

buttonFont

private java.awt.Font buttonFont
cell label font

sPanel

private java.awt.Panel sPanel
Panel that holds scrollable canvas

vertLBscr

private java.awt.Scrollbar vertLBscr
vertical LowerBound scrollbar for canvas

vertUBscr

private java.awt.Scrollbar vertUBscr
vertical UpperBound scrollbar for canvas

horizLBscr

private java.awt.Scrollbar horizLBscr
horizontal LowerBound scrollbar for canvas

horizUBscr

private java.awt.Scrollbar horizUBscr
horizontal UpperBound scrollbar for canvas

mouseOverCheckBox

private java.awt.Checkbox mouseOverCheckBox
Checkbox to toggle Show "Mouse-over info"

closeButton

private java.awt.Button closeButton
close window button

histBinRangeButton

private java.awt.Button histBinRangeButton
histogram (intens/ratio) bin range button

reFilterHistButton

private java.awt.Button reFilterHistButton
reFilterHist/NoreFilterHist button

scalingButton

private java.awt.Button scalingButton
[DEPRICATED] Linear/Log button

nonFilteredGenesButton

private java.awt.Button nonFilteredGenesButton
non-Filtered genes button

saveAsButton

private java.awt.Button saveAsButton
"SaveAs" GIF image button

histBinRange

java.lang.String histBinRange
Histogram (intens/ratio) bin range button. This button will contain values: "= ", "< ", "> ", "<>", "><"

histBinMode

int histBinMode
Histogram Bind Mode using TH_xx: "= " is 1, "< " is 2, "> " is 3, "<>" is 4, "><" is 5

maxStepsScr

private int maxStepsScr
number of prewired scroller steps

visibleScr

private int visibleScr
scrollbar's 'visible' amount

outsideRangeFlag

boolean outsideRangeFlag
flag: toggle if "><" hist range

reFilterHistFlag

boolean reFilterHistFlag
flag: toggle with reFilterHist/NoreFilterHist button

logScalingFlag

boolean logScalingFlag
flag: toggle with Linear/Log button

showNonFilteredGenesFlag

boolean showNonFilteredGenesFlag
flag: toggle non-Filtered genes button

defGifFile

java.lang.String defGifFile
default output .gif file name

dwSP

DrawScatterPlot dwSP
instance of DrawScatterPlot if drawing a scatter plot

dwH

DrawHistogram dwH
instance of DrawHistogram if drawing a scatter plot

dwRH

DrawRatioHistogram dwRH
instance of DrawRatioHistogram if drawing a scatter plot

dwCG

DrawClusterGram dwCG
instance of DrawClusterGram if drawing a scatter plot
Constructor Detail

ShowPlotPopup

ShowPlotPopup(MAExplorer mae,
              int plotMode,
              java.lang.String title,
              java.lang.String popupName,
              int popupPropertyBits,
              int frmOffset)
ShowPlotPopup() - constructor to create a spreadsheet from raw data with URL spec. use same name for URL as in the cell.
Parameters:
mae - is the MAExplorer instance
plotMode - is the mae.PLOT_xxxx state
title - is the title of plot
popupName - is the name for the PopupRegistry
popupPropertyBits - are the property bits for the PopupRegistry
frmOffset - is the frame offset in pixels
See Also:
PopupRegistry.addPopupWindowToReg(ShowPlotPopup, java.lang.String, int), PopupRegistry.removePopupByKey(java.lang.String), createPopupPlot()
Method Detail

createPopupPlot

private boolean createPopupPlot()
createPopupPlot() - create the popup plot
Returns:
false if there is problem.
See Also:
DrawClusterGram, DrawHistogram, DrawRatioHistogram, DrawScatterPlot, SampleSets.setHPxyModStrings(), updateScaling()

updatePlot

private boolean updatePlot()
updatePlot() - update the popup plot
Returns:
false if there is problem.
See Also:
DrawClusterGram.updateCGplot(GeneList, HierClustNode), DrawHistogram.updateHistogramPlot(), DrawRatioHistogram.updateRatioHistogramPlot(), DrawScatterPlot.updateScatterPlot()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed() - Handle Control panel button clicks
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - is ActionEvent for buttons in control panel
See Also:
DrawClusterGram.actionPerformed(java.awt.event.ActionEvent), EventMenu.promptFileName(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean), Util.rmvFinalSubDirectory(java.lang.String, java.lang.String, boolean), Util.saveCmdHistory(java.lang.String), close(), saveAsGifFile(java.lang.String), updateScaling()

updateScaling

void updateScaling()
updateScaling() - set scaling mode in proper sub-object for plotMode. This may other side effects in terms of repainting.
See Also:
DrawHistogram.updateScaling(boolean), DrawRatioHistogram.updateScaling(boolean), Draw2Dplot.updateScaling(boolean, boolean)

saveAsGifFile

private void saveAsGifFile(java.lang.String oGifFileName)
saveAsGifFile() - save plot canvas in oGifFileName
Parameters:
oGifFileName - is full path file name of saved GIF file.
See Also:
ClusterGramCanvas.drawGifFile(java.lang.String), DrawHistogram.drawGifFile(java.lang.String), DrawRatioHistogram.drawGifFile(java.lang.String), DrawScatterPlot.drawGifFile(java.lang.String)

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
windowClosing() - close down the window.
Specified by:
windowClosing in interface java.awt.event.WindowListener
Parameters:
e - is window closing event
See Also:
close()

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Specified by:
windowOpened in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Specified by:
windowIconified in interface java.awt.event.WindowListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
mousePressed() - handle mouse Press events
Specified by:
mousePressed in interface java.awt.event.MouseListener
Parameters:
e - is mouse pressed event
See Also:
DrawClusterGram.mousePressed(java.awt.event.MouseEvent), DrawHistogram.mousePressed(java.awt.event.MouseEvent), DrawRatioHistogram.mousePressed(java.awt.event.MouseEvent), Draw2Dplot.mousePressed(java.awt.event.MouseEvent)

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased() - handle mouse Release events
Specified by:
mouseReleased in interface java.awt.event.MouseListener
Parameters:
e - is mouse released event
See Also:
DrawClusterGram.mouseReleased(java.awt.event.MouseEvent), DrawHistogram.mouseReleased(java.awt.event.MouseEvent), DrawRatioHistogram.mouseReleased(java.awt.event.MouseEvent), Draw2Dplot.mouseReleased(java.awt.event.MouseEvent)

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked() - handle mouse Click events
Specified by:
mouseClicked in interface java.awt.event.MouseListener
Parameters:
e - is mouse clicked event
See Also:
DrawClusterGram.mouseClicked(java.awt.event.MouseEvent), DrawHistogram.mousePressed(java.awt.event.MouseEvent), DrawRatioHistogram.mousePressed(java.awt.event.MouseEvent), Draw2Dplot.mousePressed(java.awt.event.MouseEvent)

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved() - handle mouse Move events
Parameters:
e - is mouse moved event
See Also:
DrawClusterGram.mouseMoved(java.awt.event.MouseEvent), DrawHistogram.mouseMoved(java.awt.event.MouseEvent), DrawRatioHistogram.mouseMoved(java.awt.event.MouseEvent), Draw2Dplot.mouseMoved(java.awt.event.MouseEvent)

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged() - handle mouse Drag events
Parameters:
e - is mouse dragged event
See Also:
DrawClusterGram.mouseDragged(java.awt.event.MouseEvent), DrawHistogram.mouseDragged(java.awt.event.MouseEvent), DrawRatioHistogram.mouseDragged(java.awt.event.MouseEvent), Draw2Dplot.mouseDragged(java.awt.event.MouseEvent)

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered() - handle mouse Enter events
Specified by:
mouseEntered in interface java.awt.event.MouseListener
Parameters:
e - is mouse entered event
See Also:
DrawClusterGram.mouseEntered(java.awt.event.MouseEvent), DrawHistogram.mouseEntered(java.awt.event.MouseEvent), DrawRatioHistogram.mouseEntered(java.awt.event.MouseEvent), Draw2Dplot.mouseEntered(java.awt.event.MouseEvent)

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
mouseExited() - handle mouse Exit events
Specified by:
mouseExited in interface java.awt.event.MouseListener
Parameters:
e - is mouse exited event
See Also:
DrawClusterGram.mouseExited(java.awt.event.MouseEvent), DrawHistogram.mouseExited(java.awt.event.MouseEvent), DrawRatioHistogram.mouseExited(java.awt.event.MouseEvent), Draw2Dplot.mouseExited(java.awt.event.MouseEvent)

adjustmentValueChanged

public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged() - handle scroll events if plot supports scrollers. Use the scroll values to select the part of the plot to be displayed and then repaint it.
Specified by:
adjustmentValueChanged in interface java.awt.event.AdjustmentListener
Parameters:
e - is scroller adjustment event
See Also:
DrawHistogram.updateScrolledRegion(float, float), Draw2Dplot.updateScrolledRegion(float, float, float, float)

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged() - handle check box item state changed events NOTE: need to implement radio groups here since AWT only implements radio groups for Checkboxes, and not for Checkbox MenuItems.
Specified by:
itemStateChanged in interface java.awt.event.ItemListener
Parameters:
e - is checkbox toggle event
See Also:
Util.saveCmdHistory(java.lang.String)

updateCurGene

void updateCurGene(int mid,
                   java.lang.Object sObj)
updateCurGene() - update plot if current gene changed and this type of plot requires it.
Parameters:
mid - is the new Master Gene ID of the current gene
See Also:
DrawClusterGram.updateCurGene(int), Component.repaint(), Component.repaint(), Component.repaint(), DrawScatterPlot.setCurGene(int)

updateFilter

void updateFilter(GeneList ml)
updateFilter() - update plot if Filter changed and this type of plot requires it.
Parameters:
ml - is the gene list to update now that filter has changed.
See Also:
updatePlot()

updateSlider

void updateSlider()
updateSlider() - update plot if Slider changed and this type of plot requires it.
See Also:
DrawScatterPlot.drawScatterPlot()

updateLabels

void updateLabels()
updateLabels() - update string report if labels changed and this type of plot requires it.
See Also:
updatePlot()

close

void close()
close() - close this popup and reset flags if needed
See Also:
DrawClusterGram.close(), PopupRegistry.rmvPopupFromReg(ShowPlotPopup)