summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/peer/swing/SwingMenuPeer.h
blob: 988b481392c5cad44934e129de33a7b1d31c5d15 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_peer_swing_SwingMenuPeer__
#define __gnu_java_awt_peer_swing_SwingMenuPeer__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace peer
        {
          namespace swing
          {
              class SwingMenuPeer;
              class SwingMenuPeer$SwingMenu;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Font;
        class Menu;
        class MenuItem;
      namespace event
      {
          class MouseEvent;
      }
    }
  }
}

class gnu::java::awt::peer::swing::SwingMenuPeer : public ::java::lang::Object
{

public:
  SwingMenuPeer(::java::awt::Menu *);
  virtual void addItem(::java::awt::MenuItem *);
  virtual void addSeparator();
  virtual void delItem(jint);
  virtual void disable();
  virtual void enable();
  virtual void setEnabled(jboolean);
  virtual void setLabel(::java::lang::String *);
  virtual void dispose();
  virtual void setFont(::java::awt::Font *);
  virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
  virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
public: // actually package-private
  virtual jint getX();
  virtual jint getWidth();
public:
  virtual jint getY();
public: // actually package-private
  ::java::awt::Menu * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtMenu;
  ::gnu::java::awt::peer::swing::SwingMenuPeer$SwingMenu * menu;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_peer_swing_SwingMenuPeer__