Class DateEventsViewer
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.MetadataViewer
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.DateEventsViewer
-
public class DateEventsViewer extends MetadataViewer
TheDateEventsViewer
is a wrapper class forDateEventsviewerDialog
, we can use it with a couple of lines of code:DateEventsViewer dateEventsViewer = new DateEventsViewer(); dateEventsViewer.setValue(dataevents); dateEventsViewer.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description DateEventsViewer()
-
Method Summary
Modifier and Type Method Description void
setTitle(java.lang.String title)
set the title of metadata dialogvoid
setValue(UntypedData dataevents)
set the original value of metadataint
showOpenDialog()
pop up a Dialog
-
-
-
Method Detail
-
showOpenDialog
public int showOpenDialog()
Description copied from class:MetadataViewer
pop up a Dialog- Specified by:
showOpenDialog
in classMetadataViewer
- Returns:
- the result
-
setValue
public void setValue(UntypedData dataevents)
Description copied from class:MetadataViewer
set the original value of metadata- Specified by:
setValue
in classMetadataViewer
- Parameters:
dataevents
- 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
-
-