Class SubjectViewer
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.MetadataViewer
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.SubjectViewer
-
public class SubjectViewer extends MetadataViewer
TheSubjectViewerwrappers classSubjectviewDialogas aMetadataViewerDialog to edit Subjects datatype. we can use it with a couple of lines of code:SubjectViewer subjectViewer = new SubjectViewer(); subjectViewer.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description SubjectViewer()
-
Method Summary
Modifier and Type Method Description voidsetTitle(java.lang.String title)set the title of metadata dialogvoidsetValue(UntypedData subjects)set the Subjects value.intshowOpenDialog()pop up a SubjectviewDialog Dialog
-
-
-
Method Detail
-
showOpenDialog
public int showOpenDialog()
pop up a SubjectviewDialog Dialog- Specified by:
showOpenDialogin classMetadataViewer- Returns:
- the result
-
setValue
public void setValue(UntypedData subjects)
set the Subjects value. set the Subjects value.- Specified by:
setValuein classMetadataViewer- Parameters:
subjects- the value the set
-
setTitle
public void setTitle(java.lang.String title)
Description copied from class:MetadataViewerset the title of metadata dialog- Specified by:
setTitlein classMetadataViewer- Parameters:
title- the title for the dialog
-
-