Class LegalPersonInfoEditor
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.AbstractMetaDataEditor
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.LegalPersonInfoEditor
-
public class LegalPersonInfoEditor extends AbstractMetaDataEditor
TheLegalPersonInfoEditor
is a wrapper class forLegalPersonDialog
, we can use it with a couple of lines of code:PersonInfoEditor personInfoEditor = new PersonInfoEditor(); personInfoEditor.setValue(person); personInfoEditor.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description LegalPersonInfoEditor()
-
Method Summary
Modifier and Type Method Description UntypedData
getValue()
Returns the Person inputted by user.void
setTitle(java.lang.String title)
set the title of metadata dialogvoid
setValue(UntypedData person)
set the Person value.int
showOpenDialog()
pop up a PersonDialog Dialog
-
-
-
Method Detail
-
setValue
public void setValue(UntypedData person)
set the Person value. set the Person value.- Specified by:
setValue
in classAbstractMetaDataEditor
- Parameters:
person
- the value to set
-
showOpenDialog
public int showOpenDialog()
pop up a PersonDialog Dialog- Specified by:
showOpenDialog
in classAbstractMetaDataEditor
- Returns:
- the result
-
getValue
public UntypedData getValue()
Returns the Person inputted by user.- Specified by:
getValue
in classAbstractMetaDataEditor
- Returns:
- the Person inputted by user.
-
setTitle
public void setTitle(java.lang.String title)
Description copied from class:AbstractMetaDataEditor
set the title of metadata dialog- Overrides:
setTitle
in classAbstractMetaDataEditor
- Parameters:
title
- the title of the dialog
-
-