diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/JMenuBar.h | |
download | cbb-gcc-4.6.4-upstream.tar.bz2 cbb-gcc-4.6.4-upstream.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/javax/swing/JMenuBar.h')
-rw-r--r-- | libjava/javax/swing/JMenuBar.h | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/libjava/javax/swing/JMenuBar.h b/libjava/javax/swing/JMenuBar.h new file mode 100644 index 000000000..a33d051ba --- /dev/null +++ b/libjava/javax/swing/JMenuBar.h @@ -0,0 +1,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__ |