📄 jinternalframe.html
字号:
<TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#JInternalFrame(java.lang.String)">JInternalFrame</A></B>(<A HREF="../../java/lang/String.html">String</A> title)</CODE><BR> Creates a non-resizable, non-closable, non-maximizable, non-iconifiable <code>JInternalFrame</code> with the specified title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#JInternalFrame(java.lang.String, boolean)">JInternalFrame</A></B>(<A HREF="../../java/lang/String.html">String</A> title, boolean resizable)</CODE><BR> Creates a non-closable, non-maximizable, non-iconifiable <code>JInternalFrame</code> with the specified title and with resizability specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#JInternalFrame(java.lang.String, boolean, boolean)">JInternalFrame</A></B>(<A HREF="../../java/lang/String.html">String</A> title, boolean resizable, boolean closable)</CODE><BR> Creates a non-maximizable, non-iconifiable <code>JInternalFrame</code> with the specified title and with resizability and closability specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#JInternalFrame(java.lang.String, boolean, boolean, boolean)">JInternalFrame</A></B>(<A HREF="../../java/lang/String.html">String</A> title, boolean resizable, boolean closable, boolean maximizable)</CODE><BR> Creates a non-iconifiable <code>JInternalFrame</code> with the specified title and with resizability, closability, and maximizability specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#JInternalFrame(java.lang.String, boolean, boolean, boolean, boolean)">JInternalFrame</A></B>(<A HREF="../../java/lang/String.html">String</A> title, boolean resizable, boolean closable, boolean maximizable, boolean iconifiable)</CODE><BR> Creates a <code>JInternalFrame</code> with the specified title and with resizability, closability, maximizability, and iconifiability specified.</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/JInternalFrame.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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#addInternalFrameListener(javax.swing.event.InternalFrameListener)">addInternalFrameListener</A></B>(<A HREF="../../javax/swing/event/InternalFrameListener.html">InternalFrameListener</A> l)</CODE><BR> Adds the specified internal frame listener to receive internal frame events from this internal frame.</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/JInternalFrame.html#createRootPane()">createRootPane</A></B>()</CODE><BR> Called by the constructor to set up the <code>JRootPane</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#dispose()">dispose</A></B>()</CODE><BR> Disposes of this internal frame.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#doDefaultCloseAction()">doDefaultCloseAction</A></B>()</CODE><BR> </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/JInternalFrame.html#fireInternalFrameEvent(int)">fireInternalFrameEvent</A></B>(int id)</CODE><BR> </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/JInternalFrame.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE><BR> Gets the AccessibleContext associated with this JInternalFrame.</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/JInternalFrame.html#getContentPane()">getContentPane</A></B>()</CODE><BR> Returns the contentPane.</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/JInternalFrame.html#getDefaultCloseOperation()">getDefaultCloseOperation</A></B>()</CODE><BR> Returns the default operation which occurs when the user initiates a "close" on this window.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JInternalFrame.JDesktopIcon.html">JInternalFrame.JDesktopIcon</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getDesktopIcon()">getDesktopIcon</A></B>()</CODE><BR> Returns the JDesktopIcon used when this JInternalFrame is iconified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JDesktopPane.html">JDesktopPane</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getDesktopPane()">getDesktopPane</A></B>()</CODE><BR> Convenience method that searchs the anscestor heirarchy for a JDesktop instance.</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/JInternalFrame.html#getFocusOwner()">getFocusOwner</A></B>()</CODE><BR> If this JInternalFrame is active, return the child which has focus.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/Icon.html">Icon</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getFrameIcon()">getFrameIcon</A></B>()</CODE><BR> Returns the image displayed in the title bar of the frame (usually in the top-left corner).</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/JInternalFrame.html#getGlassPane()">getGlassPane</A></B>()</CODE><BR> Returns the <code>glassPane</code> object for this frame.</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/JInternalFrame.html#getJMenuBar()">getJMenuBar</A></B>()</CODE><BR> Returns the current <code>JMenuBar</code> for this <code>JInternalFrame</code>, or <code>null</code> if no menu bar has been set.</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/JInternalFrame.html#getLayer()">getLayer</A></B>()</CODE><BR> Convenience method for getting the layer attribute of this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JLayeredPane.html">JLayeredPane</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getLayeredPane()">getLayeredPane</A></B>()</CODE><BR> Returns the <code>layeredPane</code> object for this frame.</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/JInternalFrame.html#getMenuBar()">getMenuBar</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of Swing version 1.0.3, replaced by <code>getJMenuBar()</code>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/awt/Rectangle.html">Rectangle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getNormalBounds()">getNormalBounds</A></B>()</CODE><BR> If the JInternalFrame is not in maximized state, return getBounds(); otherwise, return the bounds that the JInternalFrame would be restored to.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -