edu.jhu.tmaj.client.arraybuilder
Class TissueDiagnosisIDPanel

java.lang.Object
  extended by edu.jhu.tmaj.client.arraybuilder.TissueDiagnosisIDPanel

public abstract class TissueDiagnosisIDPanel
extends java.lang.Object

Represents a panel located at the top of the ArrayBuilder application. This panel allows a user to type in a TissueDiagnosisID for the individual ArrayCores. The TissueDiagnosisID is either specified exactly by the user, or "looked up" with the express-entry button. In addition, this panel lets a user designate an ArrayCore as a control, where a control-name, such as "kidney" is specified, and a default constant TissueDiagnosisID is assigned.


Constructor Summary
TissueDiagnosisIDPanel()
           
 
Method Summary
abstract  void applyButtonClicked()
          Called when user clicks the apply button.
 ArrayCoreData getArrayCoreData()
          Returns an ArrayCoreData object representing the data the user filled in on this panel.
 javax.swing.JPanel getMainPanel()
           
(package private) static java.lang.String getTissueDiagnosisIDString(int tissueDiagnosisID)
           
 void setArrayCoreData(ArrayCoreData arrayCoreData)
          Sets the values in this panel to that of ArrayCoreData.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TissueDiagnosisIDPanel

public TissueDiagnosisIDPanel()
Method Detail

getMainPanel

public javax.swing.JPanel getMainPanel()

applyButtonClicked

public abstract void applyButtonClicked()
Called when user clicks the apply button. This means the TissueDiagnosisID entered should be applied to the table.


getTissueDiagnosisIDString

static java.lang.String getTissueDiagnosisIDString(int tissueDiagnosisID)

setArrayCoreData

public void setArrayCoreData(ArrayCoreData arrayCoreData)
Sets the values in this panel to that of ArrayCoreData.


getArrayCoreData

public ArrayCoreData getArrayCoreData()
Returns an ArrayCoreData object representing the data the user filled in on this panel.