aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/JMenuBar.h
blob: a33d051bacb6944acebb0da50f216c368ff70b48 (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100

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

#ifndef __javax_swing_JMenuBar__
#define __javax_swing_JMenuBar__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Graphics;
        class Insets;
      namespace event
      {
          class KeyEvent;
          class MouseEvent;
      }
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
    namespace swing
    {
        class JMenu;
        class JMenuBar;
        class KeyStroke;
        class MenuElement;
        class MenuSelectionManager;
        class SingleSelectionModel;
      namespace plaf
      {
          class MenuBarUI;
      }
    }
  }
}

class javax::swing::JMenuBar : public ::javax::swing::JComponent
{

public:
  JMenuBar();
  virtual ::javax::swing::JMenu * add(::javax::swing::JMenu *);
  virtual void addNotify();
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  virtual ::java::awt::Component * getComponent();
  virtual ::java::awt::Component * getComponentAtIndex(jint);
  virtual jint getComponentIndex(::java::awt::Component *);
  virtual ::javax::swing::JMenu * getHelpMenu();
  virtual ::java::awt::Insets * getMargin();
  virtual ::javax::swing::JMenu * getMenu(jint);
  virtual jint getMenuCount();
  virtual ::javax::swing::SingleSelectionModel * getSelectionModel();
  virtual JArray< ::javax::swing::MenuElement * > * getSubElements();
  virtual ::javax::swing::plaf::MenuBarUI * getUI();
  virtual ::java::lang::String * getUIClassID();
  virtual jboolean isBorderPainted();
  virtual jboolean isSelected();
  virtual void menuSelectionChanged(jboolean);
public: // actually protected
  virtual void paintBorder(::java::awt::Graphics *);
  virtual ::java::lang::String * paramString();
public:
  virtual void processKeyEvent(::java::awt::event::KeyEvent *, JArray< ::javax::swing::MenuElement * > *, ::javax::swing::MenuSelectionManager *);
public: // actually protected
  virtual jboolean processKeyBinding(::javax::swing::KeyStroke *, ::java::awt::event::KeyEvent *, jint, jboolean);
public: // actually package-private
  static jboolean processKeyBindingHelper(::javax::swing::MenuElement *, ::javax::swing::KeyStroke *, ::java::awt::event::KeyEvent *, jint, jboolean);
public:
  virtual void processMouseEvent(::java::awt::event::MouseEvent *, JArray< ::javax::swing::MenuElement * > *, ::javax::swing::MenuSelectionManager *);
  virtual void removeNotify();
  virtual void setBorderPainted(jboolean);
  virtual void setHelpMenu(::javax::swing::JMenu *);
  virtual void setMargin(::java::awt::Insets *);
  virtual void setSelected(::java::awt::Component *);
  virtual void setSelectionModel(::javax::swing::SingleSelectionModel *);
  virtual void setUI(::javax::swing::plaf::MenuBarUI *);
  virtual void updateUI();
private:
  static const jlong serialVersionUID = -8191026883931977036LL;
  ::javax::swing::SingleSelectionModel * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) selectionModel;
  jboolean borderPainted;
  ::java::awt::Insets * margin;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_JMenuBar__