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

#ifndef __javax_swing_plaf_basic_BasicPopupMenuUI$KeyboardHelper__
#define __javax_swing_plaf_basic_BasicPopupMenuUI$KeyboardHelper__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class JPopupMenu;
        class JRootPane;
        class MenuElement;
      namespace event
      {
          class ChangeEvent;
      }
      namespace plaf
      {
        namespace basic
        {
            class BasicPopupMenuUI;
            class BasicPopupMenuUI$KeyboardHelper;
        }
      }
    }
  }
}

class javax::swing::plaf::basic::BasicPopupMenuUI$KeyboardHelper : public ::java::lang::Object
{

  BasicPopupMenuUI$KeyboardHelper(::javax::swing::plaf::basic::BasicPopupMenuUI *);
public:
  virtual void stateChanged(::javax::swing::event::ChangeEvent *);
private:
  ::javax::swing::JPopupMenu * getActivePopup(JArray< ::javax::swing::MenuElement * > *);
  jboolean invokerEquals(::javax::swing::MenuElement *, ::javax::swing::MenuElement *);
public: // actually package-private
  BasicPopupMenuUI$KeyboardHelper(::javax::swing::plaf::basic::BasicPopupMenuUI *, ::javax::swing::plaf::basic::BasicPopupMenuUI$KeyboardHelper *);
private:
  JArray< ::javax::swing::MenuElement * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lastSelectedPath;
  ::java::awt::Component * lastFocused;
  ::javax::swing::JRootPane * invokerRootPane;
public: // actually package-private
  ::javax::swing::plaf::basic::BasicPopupMenuUI * this$0;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_basic_BasicPopupMenuUI$KeyboardHelper__
