public class PersonInfoViewer extends MetadataViewer
PersonInfoViewer is a wrapper class for
PersonviewDialog, we can use it with a couple of lines of code:
PersonInfoViewer personInfoViewer = new PersonInfoViewer(); personInfoViewer.setValue(person); personInfoViewer.showOpenDialog();
| Constructor and Description |
|---|
PersonInfoViewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
setTitle(java.lang.String title)
set the title of metadata dialog
|
void |
setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData persons)
set the Person value.
|
int |
showOpenDialog()
pop up a PersonviewDialog Dialog
|
public void setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData persons)
setValue in class MetadataViewerpersons - the value the setpublic int showOpenDialog()
showOpenDialog in class MetadataViewerpublic void setTitle(java.lang.String title)
MetadataViewersetTitle in class MetadataViewertitle - the title for the dialog