📄 jinternalframe.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/JRootPane.html">JRootPane</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getRootPane()">getRootPane</A></B>()</CODE><BR> Returns the <code>rootPane</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="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getTitle()">getTitle</A></B>()</CODE><BR> Returns the title of the <code>JInternalFrame</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/plaf/InternalFrameUI.html">InternalFrameUI</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getUI()">getUI</A></B>()</CODE><BR> Returns the L&F object that renders this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getUIClassID()">getUIClassID</A></B>()</CODE><BR> Returns the name of the L&F class which renders this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#getWarningString()">getWarningString</A></B>()</CODE><BR> Gets the warning string that is displayed with this window.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#isClosable()">isClosable</A></B>()</CODE><BR> Returns whether this <code>JInternalFrame</code> be closed by some user action.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#isClosed()">isClosed</A></B>()</CODE><BR> Returns whether this <code>JInternalFrame</code> is currently closed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#isIcon()">isIcon</A></B>()</CODE><BR> Returns whether the <code>JInternalFrame</code> is currently iconified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#isIconifiable()">isIconifiable</A></B>()</CODE><BR> Returns whether the <code>JInternalFrame</code> can be iconified by some user action.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#isMaximizable()">isMaximizable</A></B>()</CODE><BR> Returns whether the <code>JInternalFrame</code> can be maximized by some user action.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#isMaximum()">isMaximum</A></B>()</CODE><BR> Returns whether the <code>JInternalFrame</code> is currently maximized.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#isResizable()">isResizable</A></B>()</CODE><BR> Returns whether the <code>JInternalFrame</code> can be resized by some user action.</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/JInternalFrame.html#isRootPaneCheckingEnabled()">isRootPaneCheckingEnabled</A></B>()</CODE><BR> Returns whether calls to <code>add</code> and <code>setLayout</code> cause an exception to be thrown.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#isSelected()">isSelected</A></B>()</CODE><BR> Returns whether the JInternalFrame is the currently "selected" or active 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#moveToBack()">moveToBack</A></B>()</CODE><BR> Convenience method that moves this component to position -1 if its parent is a JLayeredPane.</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#moveToFront()">moveToFront</A></B>()</CODE><BR> Convenience method that moves this component to position 0 if its parent is a JLayeredPane.</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#pack()">pack</A></B>()</CODE><BR> Causes subcomponents of this JInternalFrame to be laid out at their preferred size.</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#paintComponent(java.awt.Graphics)">paintComponent</A></B>(<A HREF="../../java/awt/Graphics.html">Graphics</A> g)</CODE><BR> If the UI delegate is non-null, calls its paint method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#paramString()">paramString</A></B>()</CODE><BR> Returns a string representation of this JInternalFrame.</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#remove(java.awt.Component)">remove</A></B>(<A HREF="../../java/awt/Component.html">Component</A> comp)</CODE><BR> Removes the specified component from this container.</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#removeInternalFrameListener(javax.swing.event.InternalFrameListener)">removeInternalFrameListener</A></B>(<A HREF="../../javax/swing/event/InternalFrameListener.html">InternalFrameListener</A> l)</CODE><BR> Removes the specified internal frame listener so that it no longer receives 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JInternalFrame.html#reshape(int, int, int, int)">reshape</A></B>(int x, int y, int width, int height)</CODE><BR> Moves and resizes this component.</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#restoreSubcomponentFocus()">restoreSubcomponentFocus</A></B>()</CODE><BR> This method directs the internal frame to restore focus to the last subcomponent that had focus.</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#setClosable(boolean)">setClosable</A></B>(boolean b)</CODE><BR> Sets that this <code>JInternalFrame</code> can be closed by some user action.</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#setClosed(boolean)">setClosed</A></B>(boolean b)</CODE><BR> Calling this method with a value of <code>true</code> to close the 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#setContentPane(java.awt.Container)">setContentPane</A></B>(<A HREF="../../java/awt/Container.html">Container</A> c)</CODE><BR> Sets this <code>JInternalFrame</code>'s content pane.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -