
// 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__
