1 /* DefaultDesktopManager.java --
2    Copyright (C) 2002, 2004 Free Software Foundation, Inc.
3 
4 This file is part of GNU Classpath.
5 
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.
10 
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.
15 
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.
20 
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.
25 
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. */
37 
38 package javax.swing;
39 
40 import java.awt.Rectangle;
41 import java.io.Serializable;
42 
43 /**
44  * DefaultDesktopManager
45  * @author	Andrew Selkirk
46  * @version	1.0
47  */
48 public class DefaultDesktopManager implements DesktopManager, Serializable
49 {
50   static final long serialVersionUID = 4657624909838017887L;
51 
52 	//-------------------------------------------------------------
53 	// Variables --------------------------------------------------
54 	//-------------------------------------------------------------
55 
56 	/**
57 	 * HAS_BEEN_ICONIFIED_PROPERTY
58 	 */
59 	static final String HAS_BEEN_ICONIFIED_PROPERTY = ""; // TODO
60 
61 	/**
62 	 * DEFAULT_DRAG_MODE
63 	 */
64 	static final int DEFAULT_DRAG_MODE = 0; // TODO
65 
66 	/**
67 	 * OUTLINE_DRAG_MODE
68 	 */
69 	static final int OUTLINE_DRAG_MODE = 0; // TODO
70 
71 	/**
72 	 * FASTER_DRAG_MODE
73 	 */
74 	static final int FASTER_DRAG_MODE = 0; // TODO
75 
76 	/**
77 	 * dragMode
78 	 */
79 	int dragMode;
80 
81 
82 	//-------------------------------------------------------------
83 	// Initialization ---------------------------------------------
84 	//-------------------------------------------------------------
85 
86 	/**
87 	 * Constructor DefaultDesktopManager
88 	 */
DefaultDesktopManager()89 	public DefaultDesktopManager() {
90 		// TODO
91 	} // DefaultDesktopManager()
92 
93 
94 	//-------------------------------------------------------------
95 	// Methods ----------------------------------------------------
96 	//-------------------------------------------------------------
97 
98 	/**
99 	 * openFrame
100 	 * @param frame TODO
101 	 */
openFrame(JInternalFrame frame)102 	public void openFrame(JInternalFrame frame) {
103 		// TODO
104 	} // openFrame()
105 
106 	/**
107 	 * closeFrame
108 	 * @param frame TODO
109 	 */
closeFrame(JInternalFrame frame)110 	public void closeFrame(JInternalFrame frame) {
111 		// TODO
112 	} // closeFrame()
113 
114 	/**
115 	 * maximizeFrame
116 	 * @param frame TODO
117 	 */
maximizeFrame(JInternalFrame frame)118 	public void maximizeFrame(JInternalFrame frame) {
119 		// TODO
120 	} // maximizeFrame()
121 
122 	/**
123 	 * minimizeFrame
124 	 * @param frame TODO
125 	 */
minimizeFrame(JInternalFrame frame)126 	public void minimizeFrame(JInternalFrame frame) {
127 		// TODO
128 	} // minimizeFrame()
129 
130 	/**
131 	 * iconifyFrame
132 	 * @param frame TODO
133 	 */
iconifyFrame(JInternalFrame frame)134 	public void iconifyFrame(JInternalFrame frame) {
135 		// TODO
136 	} // iconifyFrame()
137 
138 	/**
139 	 * deiconifyFrame
140 	 * @param frame TODO
141 	 */
deiconifyFrame(JInternalFrame frame)142 	public void deiconifyFrame(JInternalFrame frame) {
143 		// TODO
144 	} // deiconifyFrame()
145 
146 	/**
147 	 * activateFrame
148 	 * @param frame TODO
149 	 */
activateFrame(JInternalFrame frame)150 	public void activateFrame(JInternalFrame frame) {
151 		// TODO
152 	} // activateFrame()
153 
154 	/**
155 	 * deactivateFrame
156 	 * @param frame TODO
157 	 */
deactivateFrame(JInternalFrame frame)158 	public void deactivateFrame(JInternalFrame frame) {
159 		// TODO
160 	} // deactivateFrame()
161 
162 	/**
163 	 * beginDraggingFrame
164 	 * @param component TODO
165 	 */
beginDraggingFrame(JComponent component)166 	public void beginDraggingFrame(JComponent component) {
167 		// TODO
168 	} // beginDraggingFrame()
169 
170 	/**
171 	 * dragFrame
172 	 * @param component TODO
173 	 * @param newX TODO
174 	 * @param newY TODO
175 	 */
dragFrame(JComponent component, int newX, int newY)176 	public void dragFrame(JComponent component, int newX, int newY) {
177 		// TODO
178 	} // dragFrame()
179 
180 	/**
181 	 * endDraggingFrame
182 	 * @param component TODO
183 	 */
endDraggingFrame(JComponent component)184 	public void endDraggingFrame(JComponent component) {
185 		// TODO
186 	} // endDraggingFrame()
187 
188 	/**
189 	 * beginResizingFrame
190 	 * @param component TODO
191 	 * @param direction TODO
192 	 */
beginResizingFrame(JComponent component, int direction)193 	public void beginResizingFrame(JComponent component, int direction) {
194 		// TODO
195 	} // beginResizingFrame()
196 
197 	/**
198 	 * resizeFrame
199 	 * @param component TODO
200 	 * @param newX TODO
201 	 * @param newY TODO
202 	 * @param newWidth TODO
203 	 * @param newHeight TODO
204 	 */
resizeFrame(JComponent component, int newX, int newY, int newWidth, int newHeight)205 	public void resizeFrame(JComponent component, int newX, int newY,
206 			int newWidth, int newHeight) {
207 		// TODO
208 	} // resizeFrame()
209 
210 	/**
211 	 * endResizingFrame
212 	 * @param component TODO
213 	 */
endResizingFrame(JComponent component)214 	public void endResizingFrame(JComponent component) {
215 		// TODO
216 	} // endResizingFrame()
217 
218 	/**
219 	 * setBoundsForFrame
220 	 * @param component TODO
221 	 * @param newX TODO
222 	 * @param newY TODO
223 	 * @param newWidth TODO
224 	 * @param newHeight TODO
225 	 */
setBoundsForFrame(JComponent component, int newX, int newY, int newWidth, int newHeight)226 	public void setBoundsForFrame(JComponent component, int newX,
227 			int newY, int newWidth, int newHeight) {
228 		// TODO
229 	} // setBoundsForFrame()
230 
231 	/**
232 	 * removeIconFor
233 	 * @param frame TODO
234 	 */
removeIconFor(JInternalFrame frame)235 	protected void removeIconFor(JInternalFrame frame) {
236 		// TODO
237 	} // removeIconFor()
238 
239 	/**
240 	 * getBoundsForIconOf
241 	 * @param frame TODO
242 	 * @returns Rectangle
243 	 */
getBoundsForIconOf(JInternalFrame frame)244 	protected Rectangle getBoundsForIconOf(JInternalFrame frame) {
245 		return null; // TODO
246 	} // getBoundsForIconOf()
247 
248 	/**
249 	 * setPreviousBounds
250 	 * @param frame TODO
251 	 * @param rect TODO
252 	 */
setPreviousBounds(JInternalFrame frame, Rectangle rect)253 	protected void setPreviousBounds(JInternalFrame frame, Rectangle rect) {
254 		// TODO
255 	} // setPreviousBounds()
256 
257 	/**
258 	 * getPreviousBounds
259 	 * @param frame TODO
260 	 * @returns Rectangle
261 	 */
getPreviousBounds(JInternalFrame frame)262 	protected Rectangle getPreviousBounds(JInternalFrame frame) {
263 		return null; // TODO
264 	} // getPreviousBounds()
265 
266 	/**
267 	 * setWasIcon
268 	 * @param frame TODO
269 	 * @param value TODO
270 	 */
setWasIcon(JInternalFrame frame, Boolean value)271 	protected void setWasIcon(JInternalFrame frame, Boolean value) {
272 		// TODO
273 	} // setWasIcon()
274 
275 	/**
276 	 * wasIcon
277 	 * @param frame TODO
278 	 * @returns boolean
279 	 */
wasIcon(JInternalFrame frame)280 	protected boolean wasIcon(JInternalFrame frame) {
281 		return false; // TODO
282 	} // wasIcon()
283 
284 
285 } // DefaultDesktopManager
286