Class EditingPanelController


  • public class EditingPanelController
    extends java.lang.Object
    Controller for a simple text editing dialog.
    • Constructor Summary

      Constructors 
      Constructor Description
      EditingPanelController​(java.lang.String text)
      Create the controller with the default text.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String show​(java.awt.Window parent)
      Show the dialog.
      • Methods inherited from class java.lang.Object

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

      • EditingPanelController

        public EditingPanelController​(java.lang.String text)
        Create the controller with the default text.
        Parameters:
        text - The text to be shown in the editing area
    • Method Detail

      • show

        public java.lang.String show​(java.awt.Window parent)
        Show the dialog. The dialog is modal, so this method will block until complete.
        Parameters:
        parent - The parent window of the dialog
        Returns:
        The result of editing