Package be.gaudry.swing.dialog
Class MultiLineChooser
java.lang.Object
be.gaudry.swing.dialog.MultiLineChooser
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringshowDialog(String title, String text)Shows amultiLine text editorinto a dialog.static StringshowDialog(String title, String text, int maxStringLength)Shows amultiLine text editorinto a dialog.static StringshowDialog(String title, String text, Component component)Shows amultiLine text editorinto a dialog.static StringshowDialog(String title, String text, Component component, int maxStringLength)Shows amultiLine text editorinto a dialog.
-
Constructor Details
-
MultiLineChooser
public MultiLineChooser()
-
-
Method Details
-
showDialog
Shows amultiLine text editorinto a dialog.- Parameters:
title- text to display on the window bartext- value to display into the editor- Returns:
- edited text
-
showDialog
Shows amultiLine text editorinto a dialog.- Parameters:
title- text to display on the window bartext- value to display into the editormaxStringLength- maximum length allowed (0 means no limit)- Returns:
- edited text
-
showDialog
Shows amultiLine text editorinto a dialog.- Parameters:
title- text to display on the window bartext- value to display into the editorcomponent- parent component of the dialog- Returns:
- edited text
-
showDialog
public static String showDialog(String title, String text, Component component, int maxStringLength)Shows amultiLine text editorinto a dialog.- Parameters:
title- text to display on the window bartext- value to display into the editorcomponent- parent component of the dialogmaxStringLength- maximum length allowed (0 means no limit)- Returns:
- edited text
-