|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mayo.bsi.ngsportal.client.AddSampleDialog
public class AddSampleDialog
Class to put up and handle a dialog box that lets the user add a new Sample
@author Gregory Dougherty
| Constructor Summary | |
|---|---|
AddSampleDialog(String species,
String captureKit,
String rlimsProject,
String diseaseType,
RunEditPanel editor,
com.smartgwt.client.data.Record newRecord,
com.google.gwt.user.client.Command followUp)
Create and show a dialog box that lets the user add a new Sample to the DB |
|
| Method Summary | |
|---|---|
void |
onKeyPress(com.smartgwt.client.widgets.form.fields.events.KeyPressEvent event)
Fire off doSave if the user hits Enter or Return after filling in the name and species |
boolean |
validate()
Make sure have a name and species |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddSampleDialog(String species,
String captureKit,
String rlimsProject,
String diseaseType,
RunEditPanel editor,
com.smartgwt.client.data.Record newRecord,
com.google.gwt.user.client.Command followUp)
species - The Species specified in the Sample's rowcaptureKit - The Capture Kit used to obtain the sequencing resultsrlimsProject - The RLIMS Project where the sample was sequencesdiseaseType - The Disease Type specified in the Sample's roweditor - RunEditPanel to send the results of the user's actionsnewRecord - The ListGrid Record that contains the new SamplefollowUp - Command to be executed by doneCommand. Can be null| Method Detail |
|---|
public void onKeyPress(com.smartgwt.client.widgets.form.fields.events.KeyPressEvent event)
onKeyPress in interface com.smartgwt.client.widgets.form.fields.events.KeyPressHandlerevent - Key Press event. Nothing happens if this isn't Enterpublic boolean validate()
validate in interface Validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||