| Package | Description |
|---|---|
| java.awt | |
| java.awt.peer | |
| javax.swing |
| Modifier and Type | Class and Description |
|---|---|
class |
FileDialog
The
FileDialog class displays a dialog window
from which the user can select a file. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DialogPeer |
Toolkit.createDialog(Dialog target)
Creates this toolkit's implementation of
Dialog using
the specified peer interface. |
| Constructor and Description |
|---|
Dialog(Dialog owner)
Constructs an initially invisible, modeless
Dialog with
the specified owner Dialog and an empty title. |
Dialog(Dialog owner,
String title)
Constructs an initially invisible, modeless
Dialog
with the specified owner Dialog and title. |
Dialog(Dialog owner,
String title,
boolean modal)
Constructs an initially invisible
Dialog with the
specified owner Dialog, title, and modality. |
Dialog(Dialog owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Constructs an initially invisible
Dialog with the
specified owner Dialog, title, modality and
GraphicsConfiguration. |
FileDialog(Dialog parent)
Creates a file dialog for loading a file.
|
FileDialog(Dialog parent,
String title)
Creates a file dialog window with the specified title for loading
a file.
|
FileDialog(Dialog parent,
String title,
int mode)
Creates a file dialog window with the specified title for loading
or saving a file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WindowPeer.setModalBlocked(Dialog blocker,
boolean blocked)
Sets if this window is blocked by a modal dialog or not.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JDialog
The main class for creating a dialog window.
|
| Constructor and Description |
|---|
JDialog(Dialog owner)
Creates a modeless dialog with the specified
Dialog
as its owner and an empty title. |
JDialog(Dialog owner,
boolean modal)
Creates a dialog with an empty title and the specified modality and
Dialog as its owner. |
JDialog(Dialog owner,
String title)
Creates a modeless dialog with the specified title and
with the specified owner dialog.
|
JDialog(Dialog owner,
String title,
boolean modal)
Creates a dialog with the specified title, modality
and the specified owner
Dialog. |
JDialog(Dialog owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Creates a dialog with the specified title, owner
Dialog,
modality and GraphicsConfiguration. |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.