diff options
Diffstat (limited to 'libjava/javax/swing/ButtonGroup.h')
-rw-r--r-- | libjava/javax/swing/ButtonGroup.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/libjava/javax/swing/ButtonGroup.h b/libjava/javax/swing/ButtonGroup.h new file mode 100644 index 00000000000..68f383ac653 --- /dev/null +++ b/libjava/javax/swing/ButtonGroup.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_ButtonGroup__ +#define __javax_swing_ButtonGroup__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + class AbstractButton; + class ButtonGroup; + class ButtonModel; + } + } +} + +class javax::swing::ButtonGroup : public ::java::lang::Object +{ + +public: + ButtonGroup(); + virtual void add(::javax::swing::AbstractButton *); + virtual void remove(::javax::swing::AbstractButton *); + virtual ::java::util::Enumeration * getElements(); + virtual ::javax::swing::ButtonModel * getSelection(); +public: // actually package-private + virtual ::javax::swing::AbstractButton * findButton(::javax::swing::ButtonModel *); +public: + virtual void setSelected(::javax::swing::ButtonModel *, jboolean); + virtual jboolean isSelected(::javax::swing::ButtonModel *); + virtual jint getButtonCount(); +private: + static const jlong serialVersionUID = 4259076101881721375LL; +public: // actually protected + ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buttons; +public: // actually package-private + ::javax::swing::ButtonModel * sel; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_ButtonGroup__ |