ButtonGroup.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_ButtonGroup__
  3. #define __javax_swing_ButtonGroup__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace javax
  9. {
  10. namespace swing
  11. {
  12. class AbstractButton;
  13. class ButtonGroup;
  14. class ButtonModel;
  15. }
  16. }
  17. }
  18. class javax::swing::ButtonGroup : public ::java::lang::Object
  19. {
  20. public:
  21. ButtonGroup();
  22. virtual void add(::javax::swing::AbstractButton *);
  23. virtual void remove(::javax::swing::AbstractButton *);
  24. virtual ::java::util::Enumeration * getElements();
  25. virtual ::javax::swing::ButtonModel * getSelection();
  26. public: // actually package-private
  27. virtual ::javax::swing::AbstractButton * findButton(::javax::swing::ButtonModel *);
  28. public:
  29. virtual void setSelected(::javax::swing::ButtonModel *, jboolean);
  30. virtual jboolean isSelected(::javax::swing::ButtonModel *);
  31. virtual jint getButtonCount();
  32. private:
  33. static const jlong serialVersionUID = 4259076101881721375LL;
  34. public: // actually protected
  35. ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buttons;
  36. public: // actually package-private
  37. ::javax::swing::ButtonModel * sel;
  38. public:
  39. static ::java::lang::Class class$;
  40. };
  41. #endif // __javax_swing_ButtonGroup__