summaryrefslogtreecommitdiff
path: root/libjava/java/awt/Menu.h
blob: 7d2ab26d27cbef395e914cfb2c67efb256ac5a46 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_Menu__
#define __java_awt_Menu__

#pragma interface

#include <java/awt/MenuItem.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Menu;
        class MenuComponent;
        class MenuItem;
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
  }
}

class java::awt::Menu : public ::java::awt::MenuItem
{

public:
  Menu();
  Menu(::java::lang::String *);
  Menu(::java::lang::String *, jboolean);
  virtual jboolean isTearOff();
  virtual jint getItemCount();
  virtual jint countItems();
  virtual ::java::awt::MenuItem * getItem(jint);
  virtual ::java::awt::MenuItem * add(::java::awt::MenuItem *);
  virtual void add(::java::lang::String *);
  virtual void insert(::java::awt::MenuItem *, jint);
  virtual void insert(::java::lang::String *, jint);
  virtual void addSeparator();
  virtual void insertSeparator(jint);
  virtual void remove(jint);
  virtual void remove(::java::awt::MenuComponent *);
  virtual void removeAll();
  virtual void addNotify();
  virtual void removeNotify();
  virtual ::java::lang::String * paramString();
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
public: // actually package-private
  virtual ::java::lang::String * generateName();
private:
  static jlong getUniqueLong();
  static jlong next_menu_number;
  static const jlong serialVersionUID = -8809584163345499784LL;
  ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::awt::MenuItem)))) items;
  jboolean tearOff;
  jboolean isHelpMenu;
  jint menuSerializedDataVersion;
public: // actually package-private
  static ::java::lang::String * separatorLabel;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_Menu__