Class IdentifierViewer
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.MetadataViewer
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.IdentifierViewer
-
public class IdentifierViewer extends MetadataViewer
TheIdentifierViewer
wrappers classTextviewDialog
as aMetadataViewer
Dialog to editIdentifier
datatype. we can use it with a couple of lines of code:IdentifierViewer identifierViewer = new IdentifierViewer(); identifierViewer.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description IdentifierViewer()
-
Method Summary
Modifier and Type Method Description void
setTitle(java.lang.String title)
set the title of metadata dialogvoid
setValue(UntypedData data)
set the Identifier value.int
showOpenDialog()
pop up a TextviewDialog Dialog
-
-
-
Method Detail
-
showOpenDialog
public int showOpenDialog()
pop up a TextviewDialog Dialog- Specified by:
showOpenDialog
in classMetadataViewer
- Returns:
- the result
-
setValue
public void setValue(UntypedData data)
set the Identifier value. set the Identifier value.- Specified by:
setValue
in classMetadataViewer
- Parameters:
data
- the value the set
-
setTitle
public void setTitle(java.lang.String title)
Description copied from class:MetadataViewer
set the title of metadata dialog- Specified by:
setTitle
in classMetadataViewer
- Parameters:
title
- the title for the dialog
-
-