< prev index next >

src/java.desktop/share/classes/javax/swing/DesktopManager.java

Print this page




 128      * @param newX  the new x-coordinate
 129      * @param newY  the new y-coordinate
 130      */
 131     void dragFrame(JComponent f, int newX, int newY);
 132 
 133     /**
 134      * This method signals the end of the dragging session. Any state maintained by
 135      * the DesktopManager can be removed here.  Normally <b>f</b> will be a JInternalFrame.
 136      *
 137      * @param f  the {@code JComponent} being dragged
 138      */
 139     void endDraggingFrame(JComponent f);
 140 
 141     /**
 142      * This method is normally called when the user has indicated that
 143      * they will begin resizing the frame. This method should be called
 144      * prior to any resizeFrame() calls to allow the DesktopManager to prepare any
 145      * necessary state.  Normally <b>f</b> will be a JInternalFrame.
 146      *
 147      * @param f  the {@code JComponent} being resized

 148      */
 149     void beginResizingFrame(JComponent f, int direction);
 150 
 151     /**
 152      * The user has resized the component. Calls to this method will be preceded by calls
 153      * to beginResizingFrame().
 154      * Normally <b>f</b> will be a JInternalFrame.
 155      *
 156      * @param f  the {@code JComponent} being resized
 157      * @param newX  the new x-coordinate
 158      * @param newY  the new y-coordinate
 159      * @param newWidth  the new width
 160      * @param newHeight  the new height
 161      */
 162     void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight);
 163 
 164     /**
 165      * This method signals the end of the resize session. Any state maintained by
 166      * the DesktopManager can be removed here.  Normally <b>f</b> will be a JInternalFrame.
 167      *


 128      * @param newX  the new x-coordinate
 129      * @param newY  the new y-coordinate
 130      */
 131     void dragFrame(JComponent f, int newX, int newY);
 132 
 133     /**
 134      * This method signals the end of the dragging session. Any state maintained by
 135      * the DesktopManager can be removed here.  Normally <b>f</b> will be a JInternalFrame.
 136      *
 137      * @param f  the {@code JComponent} being dragged
 138      */
 139     void endDraggingFrame(JComponent f);
 140 
 141     /**
 142      * This method is normally called when the user has indicated that
 143      * they will begin resizing the frame. This method should be called
 144      * prior to any resizeFrame() calls to allow the DesktopManager to prepare any
 145      * necessary state.  Normally <b>f</b> will be a JInternalFrame.
 146      *
 147      * @param f  the {@code JComponent} being resized
 148      * @param direction the direction
 149      */
 150     void beginResizingFrame(JComponent f, int direction);
 151 
 152     /**
 153      * The user has resized the component. Calls to this method will be preceded by calls
 154      * to beginResizingFrame().
 155      * Normally <b>f</b> will be a JInternalFrame.
 156      *
 157      * @param f  the {@code JComponent} being resized
 158      * @param newX  the new x-coordinate
 159      * @param newY  the new y-coordinate
 160      * @param newWidth  the new width
 161      * @param newHeight  the new height
 162      */
 163     void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight);
 164 
 165     /**
 166      * This method signals the end of the resize session. Any state maintained by
 167      * the DesktopManager can be removed here.  Normally <b>f</b> will be a JInternalFrame.
 168      *
< prev index next >