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

#ifndef __java_awt_CheckboxMenuItem__
#define __java_awt_CheckboxMenuItem__

#pragma interface

#include <java/awt/MenuItem.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class AWTEvent;
        class CheckboxMenuItem;
      namespace event
      {
          class ItemEvent;
          class ItemListener;
      }
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
  }
}

class java::awt::CheckboxMenuItem : public ::java::awt::MenuItem
{

public:
  CheckboxMenuItem();
  CheckboxMenuItem(::java::lang::String *);
  CheckboxMenuItem(::java::lang::String *, jboolean);
  virtual jboolean getState();
  virtual void setState(jboolean);
  virtual JArray< ::java::lang::Object * > * getSelectedObjects();
  virtual void addNotify();
  virtual void addItemListener(::java::awt::event::ItemListener *);
  virtual void removeItemListener(::java::awt::event::ItemListener *);
public: // actually protected
  virtual void processEvent(::java::awt::AWTEvent *);
  virtual void processItemEvent(::java::awt::event::ItemEvent *);
public: // actually package-private
  virtual void dispatchEventImpl(::java::awt::AWTEvent *);
public:
  virtual ::java::lang::String * paramString();
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
public: // actually package-private
  virtual ::java::lang::String * generateName();
private:
  static jlong getUniqueLong();
  static jlong next_chkmenuitem_number;
  static const jlong serialVersionUID = 6190621106981774043LL;
  jboolean __attribute__((aligned(__alignof__( ::java::awt::MenuItem)))) state;
  ::java::awt::event::ItemListener * item_listeners;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_CheckboxMenuItem__