Class LanguageViewer
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.MetadataViewer
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.LanguageViewer
-
public class LanguageViewer extends MetadataViewer
TheLanguageVieweris a wrapper class forTextviewDialog, we can use it with a couple of lines of code:LanguageViewer viewer = new LanguageViewer(); viewer.setValue(text); viewer.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description LanguageViewer()
-
Method Summary
Modifier and Type Method Description voidsetTitle(java.lang.String title)set the title of metadata dialogvoidsetValue(UntypedData data)set the Text value.intshowOpenDialog()pop up a TextviewDialog Dialog
-
-
-
Method Detail
-
showOpenDialog
public int showOpenDialog()
pop up a TextviewDialog Dialog- Specified by:
showOpenDialogin classMetadataViewer- Returns:
- the result
-
setValue
public void setValue(UntypedData data)
set the Text value. set the Text value.- Specified by:
setValuein classMetadataViewer- Parameters:
data- 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
-
-