public class DateEventsEditor extends AbstractMetaDataEditor
DateEventsEditor is a wrapper class for DateEventsDialog,
we can use it with a couple of lines of code:
DateEventsEditor dateEventsEditor = new DateEventsEditor();
dateEventsEditor.setValue(dataevents);
dateEventsEditor.showOpenDialog();
| Constructor and Description |
|---|
DateEventsEditor() |
| Modifier and Type | Method and Description |
|---|---|
de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData |
getValue()
Returns the DateEvents inputted by user.
|
void |
setTitle(String title)
set the title of metadata dialog
|
void |
setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData dataevents)
set the DateEvents value.
|
int |
showOpenDialog()
pop up a DateEventsDialog Dialog
|
public int showOpenDialog()
showOpenDialog in class AbstractMetaDataEditorpublic void setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData dataevents)
setValue in class AbstractMetaDataEditordataevents - the value to setpublic de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData getValue()
getValue in class AbstractMetaDataEditorpublic void setTitle(String title)
AbstractMetaDataEditorsetTitle in class AbstractMetaDataEditortitle - the title of the dialogCopyright © 2016 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.