📄 desktopmanager.html
字号:
<CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/DesktopManager.html#setBoundsForFrame(javax.swing.JComponent, int, int, int, int)">setBoundsForFrame</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A> f, int newX, int newY, int newWidth, int newHeight)</CODE><BR> This is a primative reshape method.</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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> f)</PRE><DL><DD>If possible, display this frame in an appropriate location. Normally, this is not called, as the creator of the JInternalFrame will add the frame to the appropriate parent.</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> f)</PRE><DL><DD>Generally, this call should remove the frame from it's parent.</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> f)</PRE><DL><DD>Generally, the frame should be resized to match it's parents bounds.</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> f)</PRE><DL><DD>Generally, this indicates that the frame should be restored to it's size and position prior to a maximizeFrame() call.</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> f)</PRE><DL><DD>Generally, remove this frame from it's parent and add an iconic representation.</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> f)</PRE><DL><DD>Generally, remove any iconic representation that is present and restore the frame to it's original size and location.</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> f)</PRE><DL><DD>Generally, indicate that this frame has focus. This is usually called after the JInternalFrame's IS_SELECTED_PROPERTY has been set to true.</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> f)</PRE><DL><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.</DL><HR><A NAME="beginDraggingFrame(javax.swing.JComponent)"><!-- --></A><H3>beginDraggingFrame</H3><PRE>public void <B>beginDraggingFrame</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A> f)</PRE><DL><DD>This method is normally called when the user has indicated that they will begin dragging a component around. This method should be called prior to any dragFrame() calls to allow the DesktopManager to prepare any necessary state. Normally <b>f</b> will be a JInternalFrame.</DL><HR><A NAME="dragFrame(javax.swing.JComponent, int, int)"><!-- --></A><H3>dragFrame</H3><PRE>public void <B>dragFrame</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A> f, int newX, int newY)</PRE><DL><DD>The user has moved the frame. Calls to this method will be preceeded by calls to beginDraggingFrame(). Normally <b>f</b> will be a JInternalFrame.</DL><HR><A NAME="endDraggingFrame(javax.swing.JComponent)"><!-- --></A><H3>endDraggingFrame</H3><PRE>public void <B>endDraggingFrame</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A> f)</PRE><DL><DD>This method signals the end of the dragging session. Any state maintained by the DesktopManager can be removed here. Normally <b>f</b> will be a JInternalFrame.</DL><HR><A NAME="beginResizingFrame(javax.swing.JComponent, int)"><!-- --></A><H3>beginResizingFrame</H3><PRE>public void <B>beginResizingFrame</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A> f, int direction)</PRE><DL><DD>This methods is normally called when the user has indicated that they will begin resizing the frame. This method should be called prior to any resizeFrame() calls to allow the DesktopManager to prepare any necessary state. Normally <b>f</b> will be a JInternalFrame.</DL><HR><A NAME="resizeFrame(javax.swing.JComponent, int, int, int, int)"><!-- --></A><H3>resizeFrame</H3><PRE>public void <B>resizeFrame</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A> f, int newX, int newY, int newWidth, int newHeight)</PRE><DL><DD>The user has resized the component. Calls to this method will be preceeded by calls to beginResizingFrame(). Normally <b>f</b> will be a JInternalFrame.</DL><HR><A NAME="endResizingFrame(javax.swing.JComponent)"><!-- --></A><H3>endResizingFrame</H3><PRE>public void <B>endResizingFrame</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A> f)</PRE><DL><DD>This method signals the end of the resize session. Any state maintained by the DesktopManager can be removed here. Normally <b>f</b> will be a JInternalFrame.</DL><HR><A NAME="setBoundsForFrame(javax.swing.JComponent, int, int, int, int)"><!-- --></A><H3>setBoundsForFrame</H3><PRE>public void <B>setBoundsForFrame</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A> f, int newX, int newY, int newWidth, int newHeight)</PRE><DL><DD>This is a primative reshape method.</DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DesktopManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../javax/swing/ComboBoxModel.html"><B>PREV CLASS</B></A> <A HREF="../../javax/swing/Icon.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="DesktopManager.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -