Class TextEditor


  • public class TextEditor
    extends AbstractMetaDataEditor
    The 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 Summary

      Constructors 
      Constructor Description
      TextEditor()  
    • Method Summary

      Modifier and Type Method Description
      de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData getValue()
      Returns the Text informaiton inputted by user.
      void setTitle​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextEditor

        public TextEditor()
    • Method Detail

      • setValue

        public void setValue​(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData data)
        set the Text value. set the Text value.
        Specified by:
        setValue in class AbstractMetaDataEditor
        Parameters:
        data - the value to set
      • getValue

        public de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData getValue()
        Returns the Text informaiton inputted by user.
        Specified by:
        getValue in class AbstractMetaDataEditor
        Returns:
        the Text informaiton inputted by user.