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