Class EdalLanguageEditor
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.AbstractMetaDataEditor
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.EdalLanguageEditor
-
public class EdalLanguageEditor extends AbstractMetaDataEditor
TheEdalLanguageEditoris a wrapper class forEdalLanguageDialog, we can use it with a couple of lines of code:EdalLanguageEditor edalLanguageEditor = new EdalLanguageEditor(); edalLanguageEditor.setValue(language); edalLanguageEditor.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description EdalLanguageEditor()
-
Method Summary
Modifier and Type Method Description UntypedDatagetValue()Returns the Person inputted by user.voidsetTitle(java.lang.String title)set the title of metadata dialogvoidsetValue(UntypedData language)set the EdalLanguage value.intshowOpenDialog()pop up a PersonDialog Dialog
-
-
-
Method Detail
-
setValue
public void setValue(UntypedData language)
set the EdalLanguage value. set the EdalLanguage value.- Specified by:
setValuein classAbstractMetaDataEditor- Parameters:
language- 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 Person inputted by user.- Specified by:
getValuein classAbstractMetaDataEditor- Returns:
- the Person inputted 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
-
-