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
      UntypedData getValue()
      Returns the Text informaiton inputted by user.
      void setTitle​(java.lang.String title)
      set the title of metadata dialog
      void setValue​(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