summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/basic/BasicPopupMenuUI$NavigateAction.h
blob: 03fb5accb8d0b3def461e6372b559baff0bfa3ad (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_plaf_basic_BasicPopupMenuUI$NavigateAction__
#define __javax_swing_plaf_basic_BasicPopupMenuUI$NavigateAction__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace event
      {
          class ActionEvent;
      }
    }
  }
  namespace javax
  {
    namespace swing
    {
        class JPopupMenu;
        class MenuElement;
      namespace plaf
      {
        namespace basic
        {
            class BasicPopupMenuUI$NavigateAction;
        }
      }
    }
  }
}

class javax::swing::plaf::basic::BasicPopupMenuUI$NavigateAction : public ::javax::swing::AbstractAction
{

public: // actually package-private
  BasicPopupMenuUI$NavigateAction(::java::lang::String *);
public:
  virtual void actionPerformed(::java::awt::event::ActionEvent *);
private:
  void navigateNextPrevious(jboolean);
  ::javax::swing::MenuElement * findEnabledChild(JArray< ::javax::swing::MenuElement * > *, ::javax::swing::MenuElement *, jboolean);
  ::javax::swing::MenuElement * findEnabledChild(JArray< ::javax::swing::MenuElement * > *, jint, jboolean);
  ::javax::swing::MenuElement * findNextEnabledChild(JArray< ::javax::swing::MenuElement * > *, jint, jint);
  ::javax::swing::MenuElement * findPreviousEnabledChild(JArray< ::javax::swing::MenuElement * > *, jint, jint);
  void navigateParentChild(jboolean);
  void cancel();
  ::javax::swing::JPopupMenu * getLastPopup();
  void doReturn();
public: // actually package-private
  static jboolean $assertionsDisabled;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_basic_BasicPopupMenuUI$NavigateAction__