Class EventHandlerPRP

java.lang.Object
  |
  +--EventHandlerPRP

public class EventHandlerPRP
extends java.lang.Object

Class EventHandlerPRP.java - implements the event handlers for ShowScatterPlotPopup. This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government and Djamel Medjahed (SAIC-Frederick). 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.

Version:
$Date: 2002/10/14 20:17:17 $ $Revision: $
Author:
P. Lemkin (NCI), Djamel Medjahed (SAIC), NCI-Frederick, Frederick, MD
See Also:
ProtPlot Home

This work was derived from MAExplorer under the Mozilla 1.1 Open Source Public License by Peter Lemkin of the National Cancer Institute, an agency of the United States Government subject to the limitations noted in the accompanying LEGAL file. See licence info on http://maexplorer.sourceforge.org/


Field Summary
 Filter fil
          Instance of Data Filter.
private  ProtPlot prp
          instance of ProtPlot
(package private)  ReportPRP rpt
          instance of ReportPRP
(package private)  ShowScatterPlotPopup spp
          Instance of ShowScatterPlotPopup
private  UtilPRP util
          instance of UtilPRP
 
Constructor Summary
EventHandlerPRP(ProtPlot prp)
          EventHandlerPRP() - constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          actionPerformed() - Handle Control panel button clicks or menu items.
 void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
          adjustmentValueChanged() - handle scroll events.
 void itemStateChanged(java.awt.event.ItemEvent e)
          itemStateChanged() - handle item state changed events NOTE: need to implement radio groups here since AWT only implements radio groups for Checkboxes, and CheckboxMenuItems.
private  java.awt.Color[] makeColorMap()
          makeColorMap() - make 255 gray value colors or if pseudocolor mode, then color range
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

prp

private ProtPlot prp
instance of ProtPlot

fil

public Filter fil
Instance of Data Filter.

rpt

ReportPRP rpt
instance of ReportPRP

util

private UtilPRP util
instance of UtilPRP

spp

ShowScatterPlotPopup spp
Instance of ShowScatterPlotPopup
Constructor Detail

EventHandlerPRP

public EventHandlerPRP(ProtPlot prp)
EventHandlerPRP() - constructor
Parameters:
prp - is instance of ProtPlot
Method Detail

makeColorMap

private java.awt.Color[] makeColorMap()
makeColorMap() - make 255 gray value colors or if pseudocolor mode, then color range
Returns:
colormap

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed() - Handle Control panel button clicks or menu items.
Parameters:
e - is action event

adjustmentValueChanged

public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged() - handle scroll events. Use the scroll values to select the part of the plot to be displayed and then repaint it.
Parameters:
e - is AdjustmentEvent

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged() - handle item state changed events NOTE: need to implement radio groups here since AWT only implements radio groups for Checkboxes, and CheckboxMenuItems.
Parameters:
e - is ItemEvent