summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/peer/gtk/GtkFramePeer.h
blob: 2c8ea0ee3f03a1bf8ea41a8db2eb022df071b357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_peer_gtk_GtkFramePeer__
#define __gnu_java_awt_peer_gtk_GtkFramePeer__

#pragma interface

#include <gnu/java/awt/peer/gtk/GtkWindowPeer.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace peer
        {
          namespace gtk
          {
              class GtkFramePeer;
              class GtkImage;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Frame;
        class Image;
        class MenuBar;
        class Rectangle;
      namespace peer
      {
          class MenuBarPeer;
      }
    }
  }
}

class gnu::java::awt::peer::gtk::GtkFramePeer : public ::gnu::java::awt::peer::gtk::GtkWindowPeer
{

public: // actually package-private
  virtual jint getMenuBarHeight(::java::awt::peer::MenuBarPeer *);
  virtual void setMenuBarWidthUnlocked(::java::awt::peer::MenuBarPeer *, jint);
  virtual void setMenuBarWidth(::java::awt::peer::MenuBarPeer *, jint);
  virtual void setMenuBarPeer(::java::awt::peer::MenuBarPeer *);
  virtual void removeMenuBarPeer();
  virtual void gtkFixedSetVisible(jboolean);
private:
  void maximize();
  void unmaximize();
  void iconify();
  void deiconify();
public: // actually package-private
  virtual jint getMenuBarHeight();
public:
  virtual void setMenuBar(::java::awt::MenuBar *);
  virtual void setBounds(jint, jint, jint, jint);
  virtual void setResizable(jboolean);
public: // actually protected
  virtual void postInsetsChangedEvent(jint, jint, jint, jint);
public:
  GtkFramePeer(::java::awt::Frame *);
public: // actually package-private
  virtual void create();
  virtual void nativeSetIconImage(::gnu::java::awt::peer::gtk::GtkImage *);
public:
  virtual void setIconImage(::java::awt::Image *);
public: // actually protected
  virtual void postConfigureEvent(jint, jint, jint, jint);
public:
  virtual jint getState();
  virtual void setState(jint);
  virtual void setMaximizedBounds(::java::awt::Rectangle *);
  virtual void setBoundsPrivate(jint, jint, jint, jint);
  virtual jboolean requestWindowFocus();
  virtual ::java::awt::Rectangle * getBoundsPrivate();
private:
  jint __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::GtkWindowPeer)))) menuBarHeight;
  ::java::awt::peer::MenuBarPeer * menuBar;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_peer_gtk_GtkFramePeer__