diff options
author | Tom Tromey <tromey@gcc.gnu.org> | 2007-01-09 19:58:05 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-01-09 19:58:05 +0000 |
commit | 97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch) | |
tree | 996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/javax/swing/DefaultButtonModel.h | |
parent | c648dedbde727ca3f883bb5fd773aa4af70d3369 (diff) | |
download | gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.zip gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.bz2 |
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/javax/swing/DefaultButtonModel.h')
-rw-r--r-- | libjava/javax/swing/DefaultButtonModel.h | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/libjava/javax/swing/DefaultButtonModel.h b/libjava/javax/swing/DefaultButtonModel.h new file mode 100644 index 0000000..735898d --- /dev/null +++ b/libjava/javax/swing/DefaultButtonModel.h @@ -0,0 +1,99 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_DefaultButtonModel__ +#define __javax_swing_DefaultButtonModel__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + class ActionListener; + class ItemEvent; + class ItemListener; + } + } + } + namespace javax + { + namespace swing + { + class ButtonGroup; + class DefaultButtonModel; + namespace event + { + class ChangeEvent; + class ChangeListener; + class EventListenerList; + } + } + } +} + +class javax::swing::DefaultButtonModel : public ::java::lang::Object +{ + +public: + DefaultButtonModel(); + virtual JArray< ::java::lang::Object * > * getSelectedObjects(); + virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *); + virtual void addActionListener(::java::awt::event::ActionListener *); + virtual void removeActionListener(::java::awt::event::ActionListener *); + virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners(); + virtual void addItemListener(::java::awt::event::ItemListener *); + virtual void removeItemListener(::java::awt::event::ItemListener *); + virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners(); + virtual void addChangeListener(::javax::swing::event::ChangeListener *); + virtual void removeChangeListener(::javax::swing::event::ChangeListener *); + virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners(); +public: // actually protected + virtual void fireItemStateChanged(::java::awt::event::ItemEvent *); + virtual void fireActionPerformed(::java::awt::event::ActionEvent *); + virtual void fireStateChanged(); +public: + virtual jboolean isArmed(); + virtual void setArmed(jboolean); + virtual jboolean isEnabled(); + virtual void setEnabled(jboolean); + virtual void setPressed(jboolean); + virtual jboolean isPressed(); + virtual void setRollover(jboolean); + virtual void setSelected(jboolean); + virtual jboolean isSelected(); + virtual jboolean isRollover(); + virtual jint getMnemonic(); + virtual void setMnemonic(jint); + virtual void setActionCommand(::java::lang::String *); + virtual ::java::lang::String * getActionCommand(); + virtual void setGroup(::javax::swing::ButtonGroup *); + virtual ::javax::swing::ButtonGroup * getGroup(); +private: + static const jlong serialVersionUID = -5342609566534980231LL; +public: + static const jint ARMED = 1; + static const jint ENABLED = 8; + static const jint PRESSED = 4; + static const jint ROLLOVER = 16; + static const jint SELECTED = 2; +public: // actually protected + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) stateMask; + ::javax::swing::event::EventListenerList * listenerList; + ::javax::swing::event::ChangeEvent * changeEvent; + ::javax::swing::ButtonGroup * group; + jint mnemonic; + ::java::lang::String * actionCommand; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_DefaultButtonModel__ |