📄 jdialog.html
字号:
</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../javax/swing/JRootPane.html">JRootPane</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#rootPane">rootPane</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#rootPaneCheckingEnabled">rootPaneCheckingEnabled</A></B></CODE><BR> </TD></TR></TABLE> <A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class java.awt.<A HREF="../../java/awt/Component.html">Component</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/awt/Component.html#BOTTOM_ALIGNMENT">BOTTOM_ALIGNMENT</A>, <A HREF="../../java/awt/Component.html#CENTER_ALIGNMENT">CENTER_ALIGNMENT</A>, <A HREF="../../java/awt/Component.html#LEFT_ALIGNMENT">LEFT_ALIGNMENT</A>, <A HREF="../../java/awt/Component.html#RIGHT_ALIGNMENT">RIGHT_ALIGNMENT</A>, <A HREF="../../java/awt/Component.html#TOP_ALIGNMENT">TOP_ALIGNMENT</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_javax.swing.WindowConstants"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface javax.swing.<A HREF="../../javax/swing/WindowConstants.html">WindowConstants</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javax/swing/WindowConstants.html#DISPOSE_ON_CLOSE">DISPOSE_ON_CLOSE</A>, <A HREF="../../javax/swing/WindowConstants.html#DO_NOTHING_ON_CLOSE">DO_NOTHING_ON_CLOSE</A>, <A HREF="../../javax/swing/WindowConstants.html#HIDE_ON_CLOSE">HIDE_ON_CLOSE</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface java.awt.image.<A HREF="../../java/awt/image/ImageObserver.html">ImageObserver</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/awt/image/ImageObserver.html#ABORT">ABORT</A>, <A HREF="../../java/awt/image/ImageObserver.html#ALLBITS">ALLBITS</A>, <A HREF="../../java/awt/image/ImageObserver.html#ERROR">ERROR</A>, <A HREF="../../java/awt/image/ImageObserver.html#FRAMEBITS">FRAMEBITS</A>, <A HREF="../../java/awt/image/ImageObserver.html#HEIGHT">HEIGHT</A>, <A HREF="../../java/awt/image/ImageObserver.html#PROPERTIES">PROPERTIES</A>, <A HREF="../../java/awt/image/ImageObserver.html#SOMEBITS">SOMEBITS</A>, <A HREF="../../java/awt/image/ImageObserver.html#WIDTH">WIDTH</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog()">JDialog</A></B>()</CODE><BR> Creates a non-modal dialog without a title and without a specified <code>Frame</code> owner.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Dialog)">JDialog</A></B>(<A HREF="../../java/awt/Dialog.html">Dialog</A> owner)</CODE><BR> Creates a non-modal dialog without a title with the specifed <code>Dialog</code> as its owner.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Dialog, boolean)">JDialog</A></B>(<A HREF="../../java/awt/Dialog.html">Dialog</A> owner, boolean modal)</CODE><BR> Creates a modal or non-modal dialog without a title and with the specified owner dialog.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Dialog, java.lang.String)">JDialog</A></B>(<A HREF="../../java/awt/Dialog.html">Dialog</A> owner, <A HREF="../../java/lang/String.html">String</A> title)</CODE><BR> Creates a non-modal dialog with the specified title and with the specified owner dialog.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Dialog, java.lang.String, boolean)">JDialog</A></B>(<A HREF="../../java/awt/Dialog.html">Dialog</A> owner, <A HREF="../../java/lang/String.html">String</A> title, boolean modal)</CODE><BR> Creates a modal or non-modal dialog with the specified title and the specified owner frame.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Frame)">JDialog</A></B>(<A HREF="../../java/awt/Frame.html">Frame</A> owner)</CODE><BR> Creates a non-modal dialog without a title with the specifed <code>Frame</code> as its owner.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Frame, boolean)">JDialog</A></B>(<A HREF="../../java/awt/Frame.html">Frame</A> owner, boolean modal)</CODE><BR> Creates a modal or non-modal dialog without a title and with the specified owner <code>Frame</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Frame, java.lang.String)">JDialog</A></B>(<A HREF="../../java/awt/Frame.html">Frame</A> owner, <A HREF="../../java/lang/String.html">String</A> title)</CODE><BR> Creates a non-modal dialog with the specified title and with the specified owner frame.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Frame, java.lang.String, boolean)">JDialog</A></B>(<A HREF="../../java/awt/Frame.html">Frame</A> owner, <A HREF="../../java/lang/String.html">String</A> title, boolean modal)</CODE><BR> Creates a modal or non-modal dialog with the specified title and the specified owner <code>Frame</code>.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#addImpl(java.awt.Component, java.lang.Object, int)">addImpl</A></B>(<A HREF="../../java/awt/Component.html">Component</A> comp, <A HREF="../../java/lang/Object.html">Object</A> constraints, int index)</CODE><BR> By default, children may not be added directly to a this component, they must be added to its <code>contentPane</code> instead.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../javax/swing/JRootPane.html">JRootPane</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#createRootPane()">createRootPane</A></B>()</CODE><BR> Called by the constructor methods to create the default <code>rootPane</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#dialogInit()">dialogInit</A></B>()</CODE><BR> Called by the constructors to init the <code>JDialog</code> properly.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE><BR> Gets the AccessibleContext associated with this JDialog.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/awt/Container.html">Container</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#getContentPane()">getContentPane</A></B>()</CODE><BR> Returns the <code>contentPane</code> object for this dialog.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#getDefaultCloseOperation()">getDefaultCloseOperation</A></B>()</CODE><BR> Returns the operation which occurs when the user initiates a "close" on this dialog.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#getGlassPane()">getGlassPane</A></B>()</CODE><BR> Returns the <code>glassPane</code> object for this dialog.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JMenuBar.html">JMenuBar</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JDialog.html#getJMenuBar()">getJMenuBar</A></B>()</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -