// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_JMenuItem__
#define __javax_swing_JMenuItem__

#pragma interface

#include <javax/swing/AbstractButton.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      class Component;
      namespace event
      {
        class KeyEvent;
        class MouseEvent;
      }
    }
    namespace beans
    {
      class PropertyChangeListener;
    }
  }
  namespace javax
  {
    namespace accessibility
    {
      class AccessibleContext;
    }
    namespace swing
    {
      class JMenuItem;
      namespace event
      {
        class MenuKeyListener;
        class MenuDragMouseListener;
        class MenuKeyEvent;
        class MenuDragMouseEvent;
      }
      class MenuSelectionManager;
      class MenuElement;
      namespace plaf
      {
        class MenuItemUI;
      }
      class Action;
      class Icon;
      class KeyStroke;
    }
  }
}

class javax::swing::JMenuItem : public ::javax::swing::AbstractButton
{
public:
  JMenuItem ();
  JMenuItem (::javax::swing::Icon *);
  JMenuItem (::java::lang::String *);
  JMenuItem (::javax::swing::Action *);
  JMenuItem (::java::lang::String *, ::javax::swing::Icon *);
  JMenuItem (::java::lang::String *, jint);
private:
  void readObject (::java::io::ObjectInputStream *) { }
  void writeObject (::java::io::ObjectOutputStream *) { }
public:  // actually protected
  virtual void init (::java::lang::String *, ::javax::swing::Icon *) { }
public:
  virtual void setUI (::javax::swing::plaf::MenuItemUI *);
  virtual void updateUI ();
  virtual ::java::lang::String *getUIClassID ();
  virtual jboolean isArmed ();
  virtual void setArmed (jboolean) { }
  virtual void setEnabled (jboolean) { }
  virtual ::javax::swing::KeyStroke *getAccelerator () { return 0; }
  virtual void setAccelerator (::javax::swing::KeyStroke *) { }
public:  // actually protected
  virtual void configurePropertiesFromAction (::javax::swing::Action *) { }
  virtual ::java::beans::PropertyChangeListener *createActionPropertyChangeListener (::javax::swing::Action *) { return 0; }
public:
  virtual void processMouseEvent (::java::awt::event::MouseEvent *, JArray< ::javax::swing::MenuElement *> *, ::javax::swing::MenuSelectionManager *) { }
  virtual void processKeyEvent (::java::awt::event::KeyEvent *, JArray< ::javax::swing::MenuElement *> *, ::javax::swing::MenuSelectionManager *) { }
  virtual void processMenuDragMouseEvent (::javax::swing::event::MenuDragMouseEvent *) { }
  virtual void processMenuKeyEvent (::javax::swing::event::MenuKeyEvent *) { }
public:  // actually protected
  virtual void fireMenuDragMouseEntered (::javax::swing::event::MenuDragMouseEvent *) { }
  virtual void fireMenuDragMouseExited (::javax::swing::event::MenuDragMouseEvent *) { }
  virtual void fireMenuDragMouseDragged (::javax::swing::event::MenuDragMouseEvent *) { }
  virtual void fireMenuDragMouseReleased (::javax::swing::event::MenuDragMouseEvent *) { }
  virtual void fireMenuKeyPressed (::javax::swing::event::MenuKeyEvent *) { }
  virtual void fireMenuKeyReleased (::javax::swing::event::MenuKeyEvent *) { }
  virtual void fireMenuKeyTyped (::javax::swing::event::MenuKeyEvent *) { }
public:
  virtual void menuSelectionChanged (jboolean) { }
  virtual JArray< ::javax::swing::MenuElement *> *getSubElements () { return 0; }
  virtual ::java::awt::Component *getComponent () { return 0; }
  virtual void addMenuDragMouseListener (::javax::swing::event::MenuDragMouseListener *) { }
  virtual void removeMenuDragMouseListener (::javax::swing::event::MenuDragMouseListener *) { }
  virtual void addMenuKeyListener (::javax::swing::event::MenuKeyListener *) { }
  virtual void removeMenuKeyListener (::javax::swing::event::MenuKeyListener *) { }
public:  // actually protected
  virtual ::java::lang::String *paramString () { return 0; }
public:
  virtual ::javax::accessibility::AccessibleContext *getAccessibleContext ();
private:
  static ::java::lang::String *uiClassID;
  ::javax::swing::KeyStroke * __attribute__((aligned(__alignof__( ::javax::swing::AbstractButton )))) accelerator;

  friend class javax_swing_JMenuItem$AccessibleJMenuItem;
public:

  static ::java::lang::Class class$;
};

#endif /* __javax_swing_JMenuItem__ */
