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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
showDialog(String title, String text)
Shows amultiLine text editor
into a dialog.static String
showDialog(String title, String text, int maxStringLength)
Shows amultiLine text editor
into a dialog.static String
showDialog(String title, String text, Component component)
Shows amultiLine text editor
into a dialog.static String
showDialog(String title, String text, Component component, int maxStringLength)
Shows amultiLine text editor
into a dialog.
-
Constructor Details
-
MultiLineChooser
public MultiLineChooser()
-
-
Method Details
-
showDialog
Shows amultiLine text editor
into a dialog.- Parameters:
title
- text to display on the window bartext
- value to display into the editor- Returns:
- edited text
-
showDialog
Shows amultiLine text editor
into 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 editor
into 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 editor
into 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
-