blob: 87d5ff98f591bfdabd9d5ff750cbc9d703856f90 (
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_JMenuItem__
#define __javax_swing_JMenuItem__
#pragma interface
#include <javax/swing/AbstractButton.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Component;
namespace event
{
class KeyEvent;
class MouseEvent;
}
}
namespace beans
{
class PropertyChangeListener;
}
}
namespace javax
{
namespace accessibility
{
class AccessibleContext;
}
namespace swing
{
class Action;
class Icon;
class JMenuItem;
class KeyStroke;
class MenuElement;
class MenuSelectionManager;
namespace event
{
class MenuDragMouseEvent;
class MenuDragMouseListener;
class MenuKeyEvent;
class MenuKeyListener;
}
namespace plaf
{
class MenuItemUI;
}
}
}
}
class javax::swing::JMenuItem : public ::javax::swing::AbstractButton
{
public:
JMenuItem();
JMenuItem(::javax::swing::Icon *);
JMenuItem(::java::lang::String *);
JMenuItem(::javax::swing::Action *);
JMenuItem(::java::lang::String *, ::javax::swing::Icon *);
JMenuItem(::java::lang::String *, jint);
public: // actually protected
virtual void init(::java::lang::String *, ::javax::swing::Icon *);
public:
virtual void setUI(::javax::swing::plaf::MenuItemUI *);
virtual void updateUI();
virtual ::java::lang::String * getUIClassID();
virtual jboolean isArmed();
virtual void setArmed(jboolean);
virtual void setEnabled(jboolean);
virtual ::javax::swing::KeyStroke * getAccelerator();
virtual void setAccelerator(::javax::swing::KeyStroke *);
public: // actually protected
virtual void configurePropertiesFromAction(::javax::swing::Action *);
virtual ::java::beans::PropertyChangeListener * createActionPropertyChangeListener(::javax::swing::Action *);
public:
virtual void processMouseEvent(::java::awt::event::MouseEvent *, JArray< ::javax::swing::MenuElement * > *, ::javax::swing::MenuSelectionManager *);
virtual void processKeyEvent(::java::awt::event::KeyEvent *, JArray< ::javax::swing::MenuElement * > *, ::javax::swing::MenuSelectionManager *);
virtual void processMenuDragMouseEvent(::javax::swing::event::MenuDragMouseEvent *);
virtual void processMenuKeyEvent(::javax::swing::event::MenuKeyEvent *);
public: // actually protected
virtual void fireMenuDragMouseEntered(::javax::swing::event::MenuDragMouseEvent *);
virtual void fireMenuDragMouseExited(::javax::swing::event::MenuDragMouseEvent *);
virtual void fireMenuDragMouseDragged(::javax::swing::event::MenuDragMouseEvent *);
virtual void fireMenuDragMouseReleased(::javax::swing::event::MenuDragMouseEvent *);
virtual void fireMenuKeyPressed(::javax::swing::event::MenuKeyEvent *);
virtual void fireMenuKeyReleased(::javax::swing::event::MenuKeyEvent *);
virtual void fireMenuKeyTyped(::javax::swing::event::MenuKeyEvent *);
public:
virtual void menuSelectionChanged(jboolean);
virtual JArray< ::javax::swing::MenuElement * > * getSubElements();
virtual ::java::awt::Component * getComponent();
virtual void addMenuDragMouseListener(::javax::swing::event::MenuDragMouseListener *);
virtual void removeMenuDragMouseListener(::javax::swing::event::MenuDragMouseListener *);
virtual JArray< ::javax::swing::event::MenuDragMouseListener * > * getMenuDragMouseListeners();
virtual void addMenuKeyListener(::javax::swing::event::MenuKeyListener *);
virtual void removeMenuKeyListener(::javax::swing::event::MenuKeyListener *);
virtual JArray< ::javax::swing::event::MenuKeyListener * > * getMenuKeyListeners();
public: // actually protected
virtual ::java::lang::String * paramString();
public:
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
public: // actually package-private
virtual jboolean onTop();
private:
static const jlong serialVersionUID = -1681004643499461044LL;
::javax::swing::KeyStroke * __attribute__((aligned(__alignof__( ::javax::swing::AbstractButton)))) accelerator;
jboolean isDragging;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_JMenuItem__
|