jdk/src/java.desktop/share/classes/javax/swing/DesktopManager.java
author psadhukhan
Mon, 16 Nov 2015 10:56:21 +0300
changeset 34397 86a74cb6c903
parent 30464 929bafd0db6f
permissions -rw-r--r--
8081491: The case print incomplete. Reviewed-by: alexsch, rchamyal
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
30464
929bafd0db6f 8075082: Fix missing doclint warnings in the javax.swing package
darcy
parents: 25859
diff changeset
     2
 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
package javax.swing;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
/** DesktopManager objects are owned by a JDesktopPane object. They are responsible
21592
da6abe91602a 8025234: [javadoc] fix some errors in javax.swing.**
yan
parents: 5506
diff changeset
    29
  * for implementing L&F specific behaviors for the JDesktopPane. JInternalFrame
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
  * implementations should delegate specific behaviors to the DesktopManager. For
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
  * instance, if a JInternalFrame was asked to iconify, it should try:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
  * <PRE>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
  *    getDesktopPane().getDesktopManager().iconifyFrame(frame);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
  * </PRE>
21592
da6abe91602a 8025234: [javadoc] fix some errors in javax.swing.**
yan
parents: 5506
diff changeset
    35
  * This delegation allows each L&amp;F to provide custom behaviors for desktop-specific
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
  * actions. (For example, how and where the internal frame's icon would appear.)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
  * <p>This class provides a policy for the various JInternalFrame methods, it is not
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
  * meant to be called directly rather the various JInternalFrame methods will call
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
  * into the DesktopManager.</p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
  *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
  * @see JDesktopPane
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
  * @see JInternalFrame
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
  * @see JInternalFrame.JDesktopIcon
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
  *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
  * @author David Kloba
25201
4adc75e0c4e5 8046485: Add missing @since tag under javax.swing.*
henryjen
parents: 23010
diff changeset
    46
  * @since 1.2
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
  */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
public interface DesktopManager
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
{
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    50
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    51
     * If possible, display this frame in an appropriate location.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    52
     * Normally, this is not called, as the creator of the JInternalFrame
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    53
     * will add the frame to the appropriate parent.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    54
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    55
     * @param f  the {@code JInternalFrame} to be displayed
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    56
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
    void openFrame(JInternalFrame f);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    59
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    60
     * Generally, this call should remove the frame from its parent.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    61
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    62
     * @param f  the {@code JInternalFrame} to be removed
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    63
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
    void closeFrame(JInternalFrame f);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    66
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    67
     * Generally, the frame should be resized to match its parents bounds.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    68
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    69
     * @param f  the {@code JInternalFrame} to be resized
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    70
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
    void maximizeFrame(JInternalFrame f);
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    72
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    73
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    74
     * Generally, this indicates that the frame should be restored to its
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    75
     * size and position prior to a maximizeFrame() call.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    76
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    77
     * @param f  the {@code JInternalFrame} to be restored
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    78
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
    void minimizeFrame(JInternalFrame f);
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    80
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    81
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    82
     * Generally, remove this frame from its parent and add an iconic representation.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    83
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    84
     * @param f  the {@code JInternalFrame} to be iconified
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    85
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
    void iconifyFrame(JInternalFrame f);
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    87
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    88
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    89
     * Generally, remove any iconic representation that is present and restore the
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    90
     * frame to it's original size and location.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    91
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    92
     * @param f  the {@code JInternalFrame} to be de-iconified
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    93
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
    void deiconifyFrame(JInternalFrame f);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
     * Generally, indicate that this frame has focus. This is usually called after
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
     * the JInternalFrame's IS_SELECTED_PROPERTY has been set to true.
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
    99
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   100
     * @param f  the {@code JInternalFrame} to be activated
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
    void activateFrame(JInternalFrame f);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
     * Generally, indicate that this frame has lost focus. This is usually called
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
     * after the JInternalFrame's IS_SELECTED_PROPERTY has been set to false.
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   107
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   108
     * @param f  the {@code JInternalFrame} to be deactivated
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
    void deactivateFrame(JInternalFrame f);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   112
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   113
     * This method is normally called when the user has indicated that
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   114
     * they will begin dragging a component around. This method should be called
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   115
     * prior to any dragFrame() calls to allow the DesktopManager to prepare any
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   116
     * necessary state. Normally <b>f</b> will be a JInternalFrame.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   117
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   118
     * @param f  the {@code JComponent} being dragged
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   119
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
    void beginDraggingFrame(JComponent f);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   122
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   123
     * The user has moved the frame. Calls to this method will be preceded by calls
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   124
     * to beginDraggingFrame().
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   125
     * Normally <b>f</b> will be a JInternalFrame.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   126
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   127
     * @param f  the {@code JComponent} being dragged
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   128
     * @param newX  the new x-coordinate
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   129
     * @param newY  the new y-coordinate
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   130
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
    void dragFrame(JComponent f, int newX, int newY);
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   132
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   133
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   134
     * This method signals the end of the dragging session. Any state maintained by
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   135
     * the DesktopManager can be removed here.  Normally <b>f</b> will be a JInternalFrame.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   136
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   137
     * @param f  the {@code JComponent} being dragged
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   138
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
    void endDraggingFrame(JComponent f);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   141
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   142
     * This method is normally called when the user has indicated that
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   143
     * they will begin resizing the frame. This method should be called
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   144
     * prior to any resizeFrame() calls to allow the DesktopManager to prepare any
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   145
     * necessary state.  Normally <b>f</b> will be a JInternalFrame.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   146
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   147
     * @param f  the {@code JComponent} being resized
30464
929bafd0db6f 8075082: Fix missing doclint warnings in the javax.swing package
darcy
parents: 25859
diff changeset
   148
     * @param direction the direction
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   149
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
    void beginResizingFrame(JComponent f, int direction);
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   151
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   152
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   153
     * The user has resized the component. Calls to this method will be preceded by calls
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   154
     * to beginResizingFrame().
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   155
     * Normally <b>f</b> will be a JInternalFrame.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   156
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   157
     * @param f  the {@code JComponent} being resized
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   158
     * @param newX  the new x-coordinate
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   159
     * @param newY  the new y-coordinate
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   160
     * @param newWidth  the new width
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   161
     * @param newHeight  the new height
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   162
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
    void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight);
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   164
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   165
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   166
     * This method signals the end of the resize session. Any state maintained by
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   167
     * the DesktopManager can be removed here.  Normally <b>f</b> will be a JInternalFrame.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   168
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   169
     * @param f  the {@code JComponent} being resized
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   170
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
    void endResizingFrame(JComponent f);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
25760
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   173
    /**
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   174
     * This is a primitive reshape method.
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   175
     *
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   176
     * @param f  the {@code JComponent} being moved or resized
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   177
     * @param newX  the new x-coordinate
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   178
     * @param newY  the new y-coordinate
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   179
     * @param newWidth  the new width
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   180
     * @param newHeight  the new height
7955db32d6b0 8046597: fix doclint issues in swing classes, part 4 of 4
ssides
parents: 25201
diff changeset
   181
     */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
    void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
}