Class PersonInfoViewer
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.MetadataViewer
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.PersonInfoViewer
-
public class PersonInfoViewer extends MetadataViewer
ThePersonInfoVieweris a wrapper class forPersonviewDialog, we can use it with a couple of lines of code:PersonInfoViewer personInfoViewer = new PersonInfoViewer(); personInfoViewer.setValue(person); personInfoViewer.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description PersonInfoViewer()
-
Method Summary
Modifier and Type Method Description voidsetTitle(java.lang.String title)set the title of metadata dialogvoidsetValue(UntypedData persons)set the Person value.intshowOpenDialog()pop up a PersonviewDialog Dialog
-
-
-
Method Detail
-
setValue
public void setValue(UntypedData persons)
set the Person value. set the Person value.- Specified by:
setValuein classMetadataViewer- Parameters:
persons- the value the set
-
showOpenDialog
public int showOpenDialog()
pop up a PersonviewDialog Dialog- Specified by:
showOpenDialogin classMetadataViewer- Returns:
- the result
-
setTitle
public void setTitle(java.lang.String title)
Description copied from class:MetadataViewerset the title of metadata dialog- Specified by:
setTitlein classMetadataViewer- Parameters:
title- the title for the dialog
-
-