]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/IDesktopManager.java
Changed spelling to manifest
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / ui / IDesktopManager.java
1 /** @file
2
3 The file is used to override DefaultDesktopManager to provides customized interfaces
4
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 package org.tianocore.frameworkwizard.common.ui;
17
18 import javax.swing.DefaultDesktopManager;
19 import javax.swing.JComponent;
20
21 /**
22 The class is used to override DefaultDesktopManager to provides customized interfaces
23 It extends DefaultDesktopManager
24
25
26
27 **/
28 public class IDesktopManager extends DefaultDesktopManager {
29
30 ///
31 /// Define class Serial Version UID
32 ///
33 private static final long serialVersionUID = -4596986878722011062L;
34
35 /**
36 Main class, reserved for test
37
38 @param args
39
40 **/
41 public static void main(String[] args) {
42 // TODO Auto-generated method stub
43
44 }
45
46 /* (non-Javadoc)
47 * @see javax.swing.DesktopManager#dragFrame(javax.swing.JComponent, int, int)
48 *
49 * Override dragFrame to do nothing to forbid internalframe to be draged
50 *
51 */
52 public void dragFrame(JComponent f, int newX, int newY) {
53
54 }
55
56 /* (non-Javadoc)
57 * @see javax.swing.DesktopManager#endDraggingFrame(javax.swing.JComponent)
58 *
59 * Override endDraggingFrame to do nothing to forbid internalframe to be draged
60 *
61 */
62 public void endDraggingFrame(JComponent f) {
63
64 }
65
66 /* (non-Javadoc)
67 * @see javax.swing.DesktopManager#beginResizingFrame(javax.swing.JComponent, int)
68 *
69 * Override beginResizingFrame to do nothing to forbid internalframe to be draged
70 *
71 */
72 public void beginResizingFrame(JComponent f, int direction) {
73
74 }
75
76 }