DefaultDesktopManager.h 2.6 KB

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