Class DataFormatViewer
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.MetadataViewer
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.DataFormatViewer
-
public class DataFormatViewer extends MetadataViewer
DataFormatViewerprovides a mechanism for the user to view DataFormat information. The following code pops up a DataFormatViewer DialogDataFormatViewer dataFormatViewer = new DataFormatViewer(); dataFormatViewer.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description DataFormatViewer()
-
Method Summary
Modifier and Type Method Description voidsetTitle(java.lang.String title)set the title of metadata dialogvoidsetValue(UntypedData data)set a DataFormat valueintshowOpenDialog()pop up a Dialog to view the DataFormat
-
-
-
Method Detail
-
showOpenDialog
public int showOpenDialog()
pop up a Dialog to view the DataFormat- Specified by:
showOpenDialogin classMetadataViewer- Returns:
- the result
-
setValue
public void setValue(UntypedData data)
set a DataFormat 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
-
-