1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_DefaultDesktopManager__
|
5 |
|
|
#define __javax_swing_DefaultDesktopManager__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class Container;
|
19 |
|
|
class Rectangle;
|
20 |
|
|
}
|
21 |
|
|
}
|
22 |
|
|
namespace javax
|
23 |
|
|
{
|
24 |
|
|
namespace swing
|
25 |
|
|
{
|
26 |
|
|
class DefaultDesktopManager;
|
27 |
|
|
class JComponent;
|
28 |
|
|
class JInternalFrame;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
|
33 |
|
|
class javax::swing::DefaultDesktopManager : public ::java::lang::Object
|
34 |
|
|
{
|
35 |
|
|
|
36 |
|
|
public:
|
37 |
|
|
DefaultDesktopManager();
|
38 |
|
|
virtual void openFrame(::javax::swing::JInternalFrame *);
|
39 |
|
|
virtual void closeFrame(::javax::swing::JInternalFrame *);
|
40 |
|
|
virtual void maximizeFrame(::javax::swing::JInternalFrame *);
|
41 |
|
|
virtual void minimizeFrame(::javax::swing::JInternalFrame *);
|
42 |
|
|
virtual void iconifyFrame(::javax::swing::JInternalFrame *);
|
43 |
|
|
virtual void deiconifyFrame(::javax::swing::JInternalFrame *);
|
44 |
|
|
virtual void activateFrame(::javax::swing::JInternalFrame *);
|
45 |
|
|
virtual void deactivateFrame(::javax::swing::JInternalFrame *);
|
46 |
|
|
virtual void beginDraggingFrame(::javax::swing::JComponent *);
|
47 |
|
|
virtual void dragFrame(::javax::swing::JComponent *, jint, jint);
|
48 |
|
|
virtual void endDraggingFrame(::javax::swing::JComponent *);
|
49 |
|
|
virtual void beginResizingFrame(::javax::swing::JComponent *, jint);
|
50 |
|
|
virtual void resizeFrame(::javax::swing::JComponent *, jint, jint, jint, jint);
|
51 |
|
|
virtual void endResizingFrame(::javax::swing::JComponent *);
|
52 |
|
|
virtual void setBoundsForFrame(::javax::swing::JComponent *, jint, jint, jint, jint);
|
53 |
|
|
public: // actually protected
|
54 |
|
|
virtual void removeIconFor(::javax::swing::JInternalFrame *);
|
55 |
|
|
virtual ::java::awt::Rectangle * getBoundsForIconOf(::javax::swing::JInternalFrame *);
|
56 |
|
|
virtual void setPreviousBounds(::javax::swing::JInternalFrame *, ::java::awt::Rectangle *);
|
57 |
|
|
virtual ::java::awt::Rectangle * getPreviousBounds(::javax::swing::JInternalFrame *);
|
58 |
|
|
virtual void setWasIcon(::javax::swing::JInternalFrame *, ::java::lang::Boolean *);
|
59 |
|
|
virtual jboolean wasIcon(::javax::swing::JInternalFrame *);
|
60 |
|
|
private:
|
61 |
|
|
static const jlong serialVersionUID = 4657624909838017887LL;
|
62 |
|
|
public: // actually package-private
|
63 |
|
|
static ::java::lang::String * WAS_ICON_ONCE_PROPERTY;
|
64 |
|
|
private:
|
65 |
|
|
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) currentDragMode;
|
66 |
|
|
::java::awt::Rectangle * dragCache;
|
67 |
|
|
::java::awt::Container * pane;
|
68 |
|
|
JArray< ::java::awt::Rectangle * > * iconRects;
|
69 |
|
|
public:
|
70 |
|
|
static ::java::lang::Class class$;
|
71 |
|
|
};
|
72 |
|
|
|
73 |
|
|
#endif // __javax_swing_DefaultDesktopManager__
|