📄 defaultdesktopmanager.html
字号:
beginDraggingFrame</H3><PRE>public void <B>beginDraggingFrame</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A> f)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></B></DD><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.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#beginDraggingFrame(javax.swing.JComponent)">beginDraggingFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></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>Moves the visible location of the frame being dragged to the location specified. The means by which this occurs can vary depending on the dragging algorithm being used. The actual logical location of the frame might not change until endDraggingFrame is called.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#dragFrame(javax.swing.JComponent, int, int)">dragFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></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><B>Description copied from interface: <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></B></DD><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.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#endDraggingFrame(javax.swing.JComponent)">endDraggingFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></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><B>Description copied from interface: <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></B></DD><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.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#beginResizingFrame(javax.swing.JComponent, int)">beginResizingFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></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>Calls setBoundsForFrame() with the new values.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#resizeFrame(javax.swing.JComponent, int, int, int, int)">resizeFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></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><B>Description copied from interface: <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></B></DD><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.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#endResizingFrame(javax.swing.JComponent)">endResizingFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></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 moves the JComponent and repaints the damaged areas.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../javax/swing/DesktopManager.html#setBoundsForFrame(javax.swing.JComponent, int, int, int, int)">setBoundsForFrame</A></CODE> in interface <CODE><A HREF="../../javax/swing/DesktopManager.html">DesktopManager</A></CODE></DL></DD></DL><HR><A NAME="removeIconFor(javax.swing.JInternalFrame)"><!-- --></A><H3>removeIconFor</H3><PRE>protected void <B>removeIconFor</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A> f)</PRE><DL><DD>Convience method to remove the desktopIcon of <b>f</b> is necessary.<DD><DL></DL></DD></DL><HR><A NAME="getBoundsForIconOf(javax.swing.JInternalFrame)"><!-- --></A><H3>getBoundsForIconOf</H3><PRE>protected <A HREF="../../java/awt/Rectangle.html">Rectangle</A> <B>getBoundsForIconOf</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A> f)</PRE><DL><DD>The iconifyFrame() code calls this to determine the proper bounds for the desktopIcon.<DD><DL></DL></DD></DL><HR><A NAME="setPreviousBounds(javax.swing.JInternalFrame, java.awt.Rectangle)"><!-- --></A><H3>setPreviousBounds</H3><PRE>protected void <B>setPreviousBounds</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A> f, <A HREF="../../java/awt/Rectangle.html">Rectangle</A> r)</PRE><DL><DD>Stores the bounds of the component just before a maximize call.<DD><DL></DL></DD></DL><HR><A NAME="getPreviousBounds(javax.swing.JInternalFrame)"><!-- --></A><H3>getPreviousBounds</H3><PRE>protected <A HREF="../../java/awt/Rectangle.html">Rectangle</A> <B>getPreviousBounds</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A> f)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setWasIcon(javax.swing.JInternalFrame, java.lang.Boolean)"><!-- --></A><H3>setWasIcon</H3><PRE>protected void <B>setWasIcon</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A> f, <A HREF="../../java/lang/Boolean.html">Boolean</A> value)</PRE><DL><DD>Sets that the component has been iconized and the bounds of the desktopIcon are valid.<DD><DL></DL></DD></DL><HR><A NAME="wasIcon(javax.swing.JInternalFrame)"><!-- --></A><H3>wasIcon</H3><PRE>protected boolean <B>wasIcon</B>(<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A> f)</PRE><DL><DD><DL></DL></DD></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/DefaultDesktopManager.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/DefaultComboBoxModel.html"><B>PREV CLASS</B></A> <A HREF="../../javax/swing/DefaultFocusManager.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="DefaultDesktopManager.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -