|
| static JFileChooser | makeFileDialog (final String title, final String extension, final String description, final String base) |
| |
| static String | input (final Frame owner) |
| |
| static Integer | inputInteger (final int min, final int max, final Frame owner) |
| |
| static void | message (final int type, final String message) |
| |
| static void | center (final Component component) |
| |
Utilities
- Author
- Bernard Bou
◆ DialogUtils()
| grammarscope.common.dialog.DialogUtils.DialogUtils |
( |
| ) |
|
|
private |
◆ center()
| static void grammarscope.common.dialog.DialogUtils.center |
( |
final Component |
component | ) |
|
|
static |
Center on screen
- Parameters
-
| component | component to center |
◆ input()
| static String grammarscope.common.dialog.DialogUtils.input |
( |
final Frame |
owner | ) |
|
|
static |
Input string from user
- Parameters
-
- Returns
- input
◆ inputInteger()
| static Integer grammarscope.common.dialog.DialogUtils.inputInteger |
( |
final int |
min, |
|
|
final int |
max, |
|
|
final Frame |
owner |
|
) |
| |
|
static |
Input string from user
- Parameters
-
| min | min |
| max | max |
| owner | owner frame |
- Returns
- integer input in the min-max range
◆ makeFileDialog()
| static JFileChooser grammarscope.common.dialog.DialogUtils.makeFileDialog |
( |
final String |
title, |
|
|
final String |
extension, |
|
|
final String |
description, |
|
|
final String |
base |
|
) |
| |
|
static |
Make file dialog
- Parameters
-
| title | dialog title |
| extension | file extension |
| description | description of file type |
| base | base directory |
- Returns
- JFileChooser
◆ message()
| static void grammarscope.common.dialog.DialogUtils.message |
( |
final int |
type, |
|
|
final String |
message |
|
) |
| |
|
static |
Display message
- Parameters
-
The documentation for this class was generated from the following file: