public class LegalPersonInfoViewer extends MetadataViewer
LegalPersonInfoViewer is a wrapper class for LegalPersonviewDialog,
we can use it with a couple of lines of code:
LegalPersonInfoViewer personInfoViewer = new LegalPersonInfoViewer();
personInfoViewer.setValue(person);
personInfoViewer.showOpenDialog();
| Constructor and Description |
|---|
LegalPersonInfoViewer() |
| Modifier and Type | Method and Description |
|---|---|
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 PersonviewDialog Dialog
|
public void setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData person)
setValue in class MetadataViewerperson - the value the setpublic int showOpenDialog()
showOpenDialog in class MetadataViewerpublic void setTitle(String title)
MetadataViewersetTitle in class MetadataViewertitle - the title for the dialogCopyright © 2016 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.