介绍
对话框控件是一个用于采取某种形式的用户输入的标题和边框的顶层窗口。
类的声明
以下是声明为java.awt.Dialog类:
publicclassDialogextendsWindow
字段域
以下java.awt.image类的字段:
static Dialog.ModalityType DEFAULT_MODALITY_TYPE -- 默认模态对话框的模态类型.
类的构造函数
S.N.
构造函数&说明
1
Dialog(Dialog owner)
Constructs an initially invisible, modeless Dialog with the specified owner Dialog and an empty title.
2
Dialog(Dialog owner, String title)
Constructs an initially invisible, modeless Dialog with the specified owner Dialog and title.
3
Dialog(Dialog owner, String title, boolean modal)
Constructs an initially invisible Dialog with the specified owner Dialog, title, and modality.
4
Dialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
Constructs an initially invisible Dialog with the specified owner Dialog, title, modality and GraphicsConfiguration.
5
Dialog(Frame owner)
Constructs an initially invisible, modeless Dialog with the specified owner Frame and an empty title.
6
Dialog(Frame owner, boolean modal)
Constructs an initially invisible Dialog with the specified owner Frame and modality and an empty title.
7
Dialog(Frame owner, String title)
Constructs an initially invisible, modeless Dialog with the specified o