2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libjava / javax / swing / DefaultDesktopManager.java
blob132fb61920c719e155bd4e933defc6f9ae0ef172
1 /* DefaultDesktopManager.java --
2 Copyright (C) 2002 Free Software Foundation, Inc.
4 This file is part of GNU Classpath.
6 GNU Classpath is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU Classpath is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Classpath; see the file COPYING. If not, write to the
18 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 02111-1307 USA.
21 Linking this library statically or dynamically with other modules is
22 making a combined work based on this library. Thus, the terms and
23 conditions of the GNU General Public License cover the whole
24 combination.
26 As a special exception, the copyright holders of this library give you
27 permission to link this library with independent modules to produce an
28 executable, regardless of the license terms of these independent
29 modules, and to copy and distribute the resulting executable under
30 terms of your choice, provided that you also meet, for each linked
31 independent module, the terms and conditions of the license of that
32 module. An independent module is a module which is not derived from
33 or based on this library. If you modify this library, you may extend
34 this exception to your version of the library, but you are not
35 obligated to do so. If you do not wish to do so, delete this
36 exception statement from your version. */
38 package javax.swing;
40 // Imports
41 import java.awt.*;
42 import java.io.*;
44 /**
45 * DefaultDesktopManager
46 * @author Andrew Selkirk
47 * @version 1.0
49 public class DefaultDesktopManager implements DesktopManager, Serializable
51 static final long serialVersionUID = 4657624909838017887L;
53 //-------------------------------------------------------------
54 // Variables --------------------------------------------------
55 //-------------------------------------------------------------
57 /**
58 * HAS_BEEN_ICONIFIED_PROPERTY
60 static final String HAS_BEEN_ICONIFIED_PROPERTY = ""; // TODO
62 /**
63 * DEFAULT_DRAG_MODE
65 static final int DEFAULT_DRAG_MODE = 0; // TODO
67 /**
68 * OUTLINE_DRAG_MODE
70 static final int OUTLINE_DRAG_MODE = 0; // TODO
72 /**
73 * FASTER_DRAG_MODE
75 static final int FASTER_DRAG_MODE = 0; // TODO
77 /**
78 * dragMode
80 int dragMode;
83 //-------------------------------------------------------------
84 // Initialization ---------------------------------------------
85 //-------------------------------------------------------------
87 /**
88 * Constructor DefaultDesktopManager
90 public DefaultDesktopManager() {
91 // TODO
92 } // DefaultDesktopManager()
95 //-------------------------------------------------------------
96 // Methods ----------------------------------------------------
97 //-------------------------------------------------------------
99 /**
100 * openFrame
101 * @param frame TODO
103 public void openFrame(JInternalFrame frame) {
104 // TODO
105 } // openFrame()
108 * closeFrame
109 * @param frame TODO
111 public void closeFrame(JInternalFrame frame) {
112 // TODO
113 } // closeFrame()
116 * maximizeFrame
117 * @param frame TODO
119 public void maximizeFrame(JInternalFrame frame) {
120 // TODO
121 } // maximizeFrame()
124 * minimizeFrame
125 * @param frame TODO
127 public void minimizeFrame(JInternalFrame frame) {
128 // TODO
129 } // minimizeFrame()
132 * iconifyFrame
133 * @param frame TODO
135 public void iconifyFrame(JInternalFrame frame) {
136 // TODO
137 } // iconifyFrame()
140 * deiconifyFrame
141 * @param frame TODO
143 public void deiconifyFrame(JInternalFrame frame) {
144 // TODO
145 } // deiconifyFrame()
148 * activateFrame
149 * @param frame TODO
151 public void activateFrame(JInternalFrame frame) {
152 // TODO
153 } // activateFrame()
156 * deactivateFrame
157 * @param frame TODO
159 public void deactivateFrame(JInternalFrame frame) {
160 // TODO
161 } // deactivateFrame()
164 * beginDraggingFrame
165 * @param component TODO
167 public void beginDraggingFrame(JComponent component) {
168 // TODO
169 } // beginDraggingFrame()
172 * dragFrame
173 * @param component TODO
174 * @param newX TODO
175 * @param newY TODO
177 public void dragFrame(JComponent component, int newX, int newY) {
178 // TODO
179 } // dragFrame()
182 * endDraggingFrame
183 * @param component TODO
185 public void endDraggingFrame(JComponent component) {
186 // TODO
187 } // endDraggingFrame()
190 * beginResizingFrame
191 * @param component TODO
192 * @param direction TODO
194 public void beginResizingFrame(JComponent component, int direction) {
195 // TODO
196 } // beginResizingFrame()
199 * resizeFrame
200 * @param component TODO
201 * @param newX TODO
202 * @param newY TODO
203 * @param newWidth TODO
204 * @param newHeight TODO
206 public void resizeFrame(JComponent component, int newX, int newY,
207 int newWidth, int newHeight) {
208 // TODO
209 } // resizeFrame()
212 * endResizingFrame
213 * @param component TODO
215 public void endResizingFrame(JComponent component) {
216 // TODO
217 } // endResizingFrame()
220 * setBoundsForFrame
221 * @param component TODO
222 * @param newX TODO
223 * @param newY TODO
224 * @param newWidth TODO
225 * @param newHeight TODO
227 public void setBoundsForFrame(JComponent component, int newX,
228 int newY, int newWidth, int newHeight) {
229 // TODO
230 } // setBoundsForFrame()
233 * removeIconFor
234 * @param frame TODO
236 protected void removeIconFor(JInternalFrame frame) {
237 // TODO
238 } // removeIconFor()
241 * getBoundsForIconOf
242 * @param frame TODO
243 * @returns Rectangle
245 protected Rectangle getBoundsForIconOf(JInternalFrame frame) {
246 return null; // TODO
247 } // getBoundsForIconOf()
250 * setPreviousBounds
251 * @param frame TODO
252 * @param rect TODO
254 protected void setPreviousBounds(JInternalFrame frame, Rectangle rect) {
255 // TODO
256 } // setPreviousBounds()
259 * getPreviousBounds
260 * @param frame TODO
261 * @returns Rectangle
263 protected Rectangle getPreviousBounds(JInternalFrame frame) {
264 return null; // TODO
265 } // getPreviousBounds()
268 * setWasIcon
269 * @param frame TODO
270 * @param value TODO
272 protected void setWasIcon(JInternalFrame frame, Boolean value) {
273 // TODO
274 } // setWasIcon()
277 * wasIcon
278 * @param frame TODO
279 * @returns boolean
281 protected boolean wasIcon(JInternalFrame frame) {
282 return false; // TODO
283 } // wasIcon()
286 } // DefaultDesktopManager