Class DateEventsEditor
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.AbstractMetaDataEditor
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.DateEventsEditor
-
public class DateEventsEditor extends AbstractMetaDataEditor
TheDateEventsEditor
is a wrapper class forDateEventsDialog
, we can use it with a couple of lines of code:DateEventsEditor dateEventsEditor = new DateEventsEditor(); dateEventsEditor.setValue(dataevents); dateEventsEditor.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description DateEventsEditor()
-
Method Summary
Modifier and Type Method Description UntypedData
getValue()
Returns the DateEvents inputted by user.void
setTitle(java.lang.String title)
set the title of metadata dialogvoid
setValue(UntypedData dataevents)
set the DateEvents value.int
showOpenDialog()
pop up a DateEventsDialog Dialog
-
-
-
Method Detail
-
showOpenDialog
public int showOpenDialog()
pop up a DateEventsDialog Dialog- Specified by:
showOpenDialog
in classAbstractMetaDataEditor
- Returns:
- the result
-
setValue
public void setValue(UntypedData dataevents)
set the DateEvents value. set the DateEvents value.- Specified by:
setValue
in classAbstractMetaDataEditor
- Parameters:
dataevents
- the value to set
-
getValue
public UntypedData getValue()
Returns the DateEvents inputted by user.- Specified by:
getValue
in classAbstractMetaDataEditor
- Returns:
- the DateEvents inputted by user.
-
setTitle
public void setTitle(java.lang.String title)
Description copied from class:AbstractMetaDataEditor
set the title of metadata dialog- Overrides:
setTitle
in classAbstractMetaDataEditor
- Parameters:
title
- the title of the dialog
-
-