Class SubjectsEditor
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.AbstractMetaDataEditor
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.SubjectsEditor
-
public class SubjectsEditor extends AbstractMetaDataEditor
TheSubjectsEditor
wrappers classSubjectsDialog
as aMetadataEditor
Dialog to edit Subjects datatype. we can use it with a couple of lines of code:SubjectsEditor subjectsEditor = new SubjectsEditor(); subjectsEditor.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description SubjectsEditor()
-
Method Summary
Modifier and Type Method Description UntypedData
getValue()
Returns the Subjects typed in by user.void
setTitle(java.lang.String title)
set the title of metadata dialogvoid
setValue(UntypedData subjects)
set the Subjects value.int
showOpenDialog()
pop up a SubjectsDialog Dialog
-
-
-
Method Detail
-
showOpenDialog
public int showOpenDialog()
pop up a SubjectsDialog Dialog- Specified by:
showOpenDialog
in classAbstractMetaDataEditor
- Returns:
- the result
-
setValue
public void setValue(UntypedData subjects)
set the Subjects value. set the Subjects value.- Specified by:
setValue
in classAbstractMetaDataEditor
- Parameters:
subjects
- the value to set
-
getValue
public UntypedData getValue()
Returns the Subjects typed in by user.- Specified by:
getValue
in classAbstractMetaDataEditor
- Returns:
- the Subjects typed in 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
-
-