Class PersonInfoEditor
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.AbstractMetaDataEditor
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.PersonInfoEditor
-
public class PersonInfoEditor extends AbstractMetaDataEditor
ThePersonInfoEditoris a wrapper class forPersonDialog, 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 PersonInfoEditor()
-
Method Summary
Modifier and Type Method Description UntypedDatagetValue()Returns the Persons typed in by user.voidsetTitle(java.lang.String title)set the title of metadata dialogvoidsetValue(UntypedData persons)set the Persons value.intshowOpenDialog()pop up a PersonDialog Dialog
-
-
-
Method Detail
-
setValue
public void setValue(UntypedData persons)
set the Persons value. set the Persons value.- Specified by:
setValuein classAbstractMetaDataEditor- Parameters:
persons- the value to set
-
showOpenDialog
public int showOpenDialog()
pop up a PersonDialog Dialog- Specified by:
showOpenDialogin classAbstractMetaDataEditor- Returns:
- the result
-
getValue
public UntypedData getValue()
Returns the Persons typed in by user.- Specified by:
getValuein classAbstractMetaDataEditor- Returns:
- the Persons typed in by user.
-
setTitle
public void setTitle(java.lang.String title)
Description copied from class:AbstractMetaDataEditorset the title of metadata dialog- Overrides:
setTitlein classAbstractMetaDataEditor- Parameters:
title- the title of the dialog
-
-