📄 jdialog.html
字号:
<B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="rootPane"><!-- --></A><H3>rootPane</H3><PRE>protected <A HREF="../../javax/swing/JRootPane.html">JRootPane</A> <B>rootPane</B></PRE><DL><DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.html#getRootPane()"><CODE>getRootPane()</CODE></A>, <A HREF="../../javax/swing/JDialog.html#setRootPane(javax.swing.JRootPane)"><CODE>setRootPane(javax.swing.JRootPane)</CODE></A></DL></DD></DL><HR><A NAME="rootPaneCheckingEnabled"><!-- --></A><H3>rootPaneCheckingEnabled</H3><PRE>protected boolean <B>rootPaneCheckingEnabled</B></PRE><DL><DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.html#isRootPaneCheckingEnabled()"><CODE>isRootPaneCheckingEnabled()</CODE></A>, <A HREF="../../javax/swing/JDialog.html#setRootPaneCheckingEnabled(boolean)"><CODE>setRootPaneCheckingEnabled(boolean)</CODE></A></DL></DD></DL><HR><A NAME="accessibleContext"><!-- --></A><H3>accessibleContext</H3><PRE>protected <A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A> <B>accessibleContext</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="JDialog()"><!-- --></A><H3>JDialog</H3><PRE>public <B>JDialog</B>()</PRE><DL><DD>Creates a non-modal dialog without a title and without a specified <code>Frame</code> owner. A shared, hidden frame will be set as the owner of the dialog.</DL><HR><A NAME="JDialog(java.awt.Frame)"><!-- --></A><H3>JDialog</H3><PRE>public <B>JDialog</B>(<A HREF="../../java/awt/Frame.html">Frame</A> owner)</PRE><DL><DD>Creates a non-modal dialog without a title with the specifed <code>Frame</code> as its owner.<DD><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the <code>Frame</code> from which the dialog is displayed</DL></DD></DL><HR><A NAME="JDialog(java.awt.Frame, boolean)"><!-- --></A><H3>JDialog</H3><PRE>public <B>JDialog</B>(<A HREF="../../java/awt/Frame.html">Frame</A> owner, boolean modal)</PRE><DL><DD>Creates a modal or non-modal dialog without a title and with the specified owner <code>Frame</code>.<DD><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the <code>Frame</code> from which the dialog is displayed<DD><CODE>modal</CODE> - true for a modal dialog, false for one that allows others windows to be active at the same time</DL></DD></DL><HR><A NAME="JDialog(java.awt.Frame, java.lang.String)"><!-- --></A><H3>JDialog</H3><PRE>public <B>JDialog</B>(<A HREF="../../java/awt/Frame.html">Frame</A> owner, <A HREF="../../java/lang/String.html">String</A> title)</PRE><DL><DD>Creates a non-modal dialog with the specified title and with the specified owner frame.<DD><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the <code>Frame</code> from which the dialog is displayed<DD><CODE>title</CODE> - the <code>String</code> to display in the dialog's title bar</DL></DD></DL><HR><A NAME="JDialog(java.awt.Frame, java.lang.String, boolean)"><!-- --></A><H3>JDialog</H3><PRE>public <B>JDialog</B>(<A HREF="../../java/awt/Frame.html">Frame</A> owner, <A HREF="../../java/lang/String.html">String</A> title, boolean modal)</PRE><DL><DD>Creates a modal or non-modal dialog with the specified title and the specified owner <code>Frame</code>. All constructors defer to this one. <p> NOTE: Any popup components (<code>JComboBox</code>, <code>JPopupMenu</code>, <code>JMenuBar</code>) created within a modal dialog will be forced to be lightweight.<DD><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the <code>Frame</code> from which the dialog is displayed<DD><CODE>title</CODE> - the <code>String</code> to display in the dialog's title bar<DD><CODE>modal</CODE> - true for a modal dialog, false for one that allows other windows to be active at the same time</DL></DD></DL><HR><A NAME="JDialog(java.awt.Dialog)"><!-- --></A><H3>JDialog</H3><PRE>public <B>JDialog</B>(<A HREF="../../java/awt/Dialog.html">Dialog</A> owner)</PRE><DL><DD>Creates a non-modal dialog without a title with the specifed <code>Dialog</code> as its owner.<DD><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the <code>Dialog</code> from which the dialog is displayed</DL></DD></DL><HR><A NAME="JDialog(java.awt.Dialog, boolean)"><!-- --></A><H3>JDialog</H3><PRE>public <B>JDialog</B>(<A HREF="../../java/awt/Dialog.html">Dialog</A> owner, boolean modal)</PRE><DL><DD>Creates a modal or non-modal dialog without a title and with the specified owner dialog. <p><DD><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the <code>Dialog</code> from which the dialog is displayed<DD><CODE>modal</CODE> - true for a modal dialog, false for one that allows other windows to be active at the same time</DL></DD></DL><HR><A NAME="JDialog(java.awt.Dialog, java.lang.String)"><!-- --></A><H3>JDialog</H3><PRE>public <B>JDialog</B>(<A HREF="../../java/awt/Dialog.html">Dialog</A> owner, <A HREF="../../java/lang/String.html">String</A> title)</PRE><DL><DD>Creates a non-modal dialog with the specified title and with the specified owner dialog.<DD><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the <code>Dialog</code> from which the dialog is displayed<DD><CODE>title</CODE> - the <code>String</code> to display in the dialog's title bar</DL></DD></DL><HR><A NAME="JDialog(java.awt.Dialog, java.lang.String, boolean)"><!-- --></A><H3>JDialog</H3><PRE>public <B>JDialog</B>(<A HREF="../../java/awt/Dialog.html">Dialog</A> owner, <A HREF="../../java/lang/String.html">String</A> title, boolean modal)</PRE><DL><DD>Creates a modal or non-modal dialog with the specified title and the specified owner frame.<DD><DL><DT><B>Parameters:</B><DD><CODE>owner</CODE> - the <code>Dialog</code> from which the dialog is displayed<DD><CODE>title</CODE> - the <code>String</code> to display in the dialog's title bar<DD><CODE>modal</CODE> - true for a modal dialog, false for one that allows other windows to be active at the same time</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="dialogInit()"><!-- --></A><H3>dialogInit</H3><PRE>protected void <B>dialogInit</B>()</PRE><DL><DD>Called by the constructors to init the <code>JDialog</code> properly.<DD><DL></DL></DD></DL><HR><A NAME="createRootPane()"><!-- --></A><H3>createRootPane</H3><PRE>protected <A HREF="../../javax/swing/JRootPane.html">JRootPane</A> <B>createRootPane</B>()</PRE><DL><DD>Called by the constructor methods to create the default <code>rootPane</code>.<DD><DL></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -