Class MultiLineChooser

java.lang.Object
be.gaudry.swing.dialog.MultiLineChooser

public final class MultiLineChooser extends Object
Shows a multiLine text editor into a dialog. Provided by the broldev.core.swing project.
Since:
1.0 (Dec 26, 2008), broldev.core.swing 0.0.1-SNAPSHOT dependency
Version:
1.0 (Dec 26, 2008)
Author:
Steph GAUDRY
  • Constructor Details

    • MultiLineChooser

      public MultiLineChooser()
  • Method Details

    • showDialog

      public static String showDialog(String title, String text)
      Shows a multiLine text editor into a dialog.
      Parameters:
      title - text to display on the window bar
      text - value to display into the editor
      Returns:
      edited text
    • showDialog

      public static String showDialog(String title, String text, int maxStringLength)
      Shows a multiLine text editor into a dialog.
      Parameters:
      title - text to display on the window bar
      text - value to display into the editor
      maxStringLength - maximum length allowed (0 means no limit)
      Returns:
      edited text
    • showDialog

      public static String showDialog(String title, String text, Component component)
      Shows a multiLine text editor into a dialog.
      Parameters:
      title - text to display on the window bar
      text - value to display into the editor
      component - parent component of the dialog
      Returns:
      edited text
    • showDialog

      public static String showDialog(String title, String text, Component component, int maxStringLength)
      Shows a multiLine text editor into a dialog.
      Parameters:
      title - text to display on the window bar
      text - value to display into the editor
      component - parent component of the dialog
      maxStringLength - maximum length allowed (0 means no limit)
      Returns:
      edited text