public class TextEditor extends AbstractMetaDataEditor
TextEditor is a wrapper class for TextDialog,
we can use it with a couple of lines of code:
TextEditor textEditor = new TextEditor();
textEditor.setValue(text);
textEditor.showOpenDialog();
| Constructor and Description |
|---|
TextEditor() |
| Modifier and Type | Method and Description |
|---|---|
de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData |
getValue()
Returns the Text informaiton 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 data)
set the Text value.
|
int |
showOpenDialog()
pop up a TextDialog Dialog
|
public int showOpenDialog()
showOpenDialog in class AbstractMetaDataEditorpublic void setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData data)
setValue in class AbstractMetaDataEditordata - 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.