⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultdesktopmanager.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD><CODE><B><A HREF="../../javax/swing/DefaultDesktopManager.html#maximizeFrame(javax.swing.JInternalFrame)">maximizeFrame</A></B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resizes the frame to fill its parents bounds.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/DefaultDesktopManager.html#minimizeFrame(javax.swing.JInternalFrame)">minimizeFrame</A></B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restores the frame back to its size and position prior to a maximizeFrame() call.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/DefaultDesktopManager.html#openFrame(javax.swing.JInternalFrame)">openFrame</A></B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Normally this method will not be called.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/DefaultDesktopManager.html#removeIconFor(javax.swing.JInternalFrame)">removeIconFor</A></B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convience method to remove the desktopIcon of <b>f</b> is necessary.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/DefaultDesktopManager.html#resizeFrame(javax.swing.JComponent, int, int, int, int)">resizeFrame</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;f,            int&nbsp;newX,            int&nbsp;newY,            int&nbsp;newWidth,            int&nbsp;newHeight)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calls setBoundsForFrame() with the new values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/DefaultDesktopManager.html#setBoundsForFrame(javax.swing.JComponent, int, int, int, int)">setBoundsForFrame</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;f,                  int&nbsp;newX,                  int&nbsp;newY,                  int&nbsp;newWidth,                  int&nbsp;newHeight)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This moves the JComponent and repaints the damaged areas.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/DefaultDesktopManager.html#setPreviousBounds(javax.swing.JInternalFrame, java.awt.Rectangle)">setPreviousBounds</A></B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f,                  <A HREF="../../java/awt/Rectangle.html">Rectangle</A>&nbsp;r)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores the bounds of the component just before a maximize call.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/DefaultDesktopManager.html#setWasIcon(javax.swing.JInternalFrame, java.lang.Boolean)">setWasIcon</A></B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f,           <A HREF="../../java/lang/Boolean.html">Boolean</A>&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets that the component has been iconized and the bounds of the desktopIcon are valid.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/DefaultDesktopManager.html#wasIcon(javax.swing.JInternalFrame)">wasIcon</A></B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="DefaultDesktopManager()"><!-- --></A><H3>DefaultDesktopManager</H3><PRE>public <B>DefaultDesktopManager</B>()</PRE><DL></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="openFrame(javax.swing.JInternalFrame)"><!-- --></A><H3>openFrame</H3><PRE>public void <B>openFrame</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</PRE><DL><DD>Normally this method will not be called. If it is, it try to determine the appropriate parent from the desktopIcon of the frame. Will remove the desktopIcon from its parent if it successfully adds the frame.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#openFrame(javax.swing.JInternalFrame)">openFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></DL><HR><A NAME="closeFrame(javax.swing.JInternalFrame)"><!-- --></A><H3>closeFrame</H3><PRE>public void <B>closeFrame</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</PRE><DL><DD>Removes the frame, and if necessary the desktopIcon, from its parent.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#closeFrame(javax.swing.JInternalFrame)">closeFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></DL><HR><A NAME="maximizeFrame(javax.swing.JInternalFrame)"><!-- --></A><H3>maximizeFrame</H3><PRE>public void <B>maximizeFrame</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</PRE><DL><DD>Resizes the frame to fill its parents bounds.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#maximizeFrame(javax.swing.JInternalFrame)">maximizeFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></DL><HR><A NAME="minimizeFrame(javax.swing.JInternalFrame)"><!-- --></A><H3>minimizeFrame</H3><PRE>public void <B>minimizeFrame</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</PRE><DL><DD>Restores the frame back to its size and position prior to a maximizeFrame() call.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#minimizeFrame(javax.swing.JInternalFrame)">minimizeFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></DL><HR><A NAME="iconifyFrame(javax.swing.JInternalFrame)"><!-- --></A><H3>iconifyFrame</H3><PRE>public void <B>iconifyFrame</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</PRE><DL><DD>Removes the frame from its parent and adds its desktopIcon to the parent.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#iconifyFrame(javax.swing.JInternalFrame)">iconifyFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></DL><HR><A NAME="deiconifyFrame(javax.swing.JInternalFrame)"><!-- --></A><H3>deiconifyFrame</H3><PRE>public void <B>deiconifyFrame</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</PRE><DL><DD>Removes the desktopIcon from its parent and adds its frame to the parent.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#deiconifyFrame(javax.swing.JInternalFrame)">deiconifyFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></DL><HR><A NAME="activateFrame(javax.swing.JInternalFrame)"><!-- --></A><H3>activateFrame</H3><PRE>public void <B>activateFrame</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</PRE><DL><DD>This will activate <b>f</b> moving it to the front. It will set the current active frame (if any) IS_SELECTED_PROPERTY to false. There can be only one active frame across all Layers.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#activateFrame(javax.swing.JInternalFrame)">activateFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></DL><HR><A NAME="deactivateFrame(javax.swing.JInternalFrame)"><!-- --></A><H3>deactivateFrame</H3><PRE>public void <B>deactivateFrame</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>&nbsp;f)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></B></DD><DD>Generally, indicate that this frame has lost focus. This is usually called  after the JInternalFrame's IS_SELECTED_PROPERTY has been set to false.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#deactivateFrame(javax.swing.JInternalFrame)">deactivateFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></DL><HR><A NAME="beginDraggingFrame(javax.swing.JComponent)"><!-- --></A><H3>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -