public class PersonInfoEditor extends AbstractMetaDataEditor
PersonInfoEditor is a wrapper class for PersonDialog,
we can use it with a couple of lines of code:
PersonInfoEditor personInfoEditor = new PersonInfoEditor();
personInfoEditor.setValue(person);
personInfoEditor.showOpenDialog();
| Constructor and Description |
|---|
PersonInfoEditor() |
| Modifier and Type | Method and Description |
|---|---|
de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData |
getValue()
Returns the Person inputted by user.
|
void |
setTitle(String title)
set the title of metadata dialog
|
void |
setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData person)
set the Person value.
|
int |
showOpenDialog()
pop up a PersonDialog Dialog
|
public void setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData person)
setValue in class AbstractMetaDataEditorpublic int showOpenDialog()
showOpenDialog in class AbstractMetaDataEditorpublic de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData getValue()
getValue in class AbstractMetaDataEditorpublic void setTitle(String title)
AbstractMetaDataEditorsetTitle in class AbstractMetaDataEditorCopyright © 2013 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.