ButtonModel.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_ButtonModel__
  3. #define __javax_swing_ButtonModel__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. namespace event
  14. {
  15. class ActionListener;
  16. class ItemListener;
  17. }
  18. }
  19. }
  20. namespace javax
  21. {
  22. namespace swing
  23. {
  24. class ButtonGroup;
  25. class ButtonModel;
  26. namespace event
  27. {
  28. class ChangeListener;
  29. }
  30. }
  31. }
  32. }
  33. class javax::swing::ButtonModel : public ::java::lang::Object
  34. {
  35. public:
  36. virtual jboolean isArmed() = 0;
  37. virtual void setArmed(jboolean) = 0;
  38. virtual jboolean isEnabled() = 0;
  39. virtual void setEnabled(jboolean) = 0;
  40. virtual void setPressed(jboolean) = 0;
  41. virtual jboolean isPressed() = 0;
  42. virtual void removeActionListener(::java::awt::event::ActionListener *) = 0;
  43. virtual void addActionListener(::java::awt::event::ActionListener *) = 0;
  44. virtual void addItemListener(::java::awt::event::ItemListener *) = 0;
  45. virtual void removeItemListener(::java::awt::event::ItemListener *) = 0;
  46. virtual void addChangeListener(::javax::swing::event::ChangeListener *) = 0;
  47. virtual void removeChangeListener(::javax::swing::event::ChangeListener *) = 0;
  48. virtual void setRollover(jboolean) = 0;
  49. virtual jboolean isRollover() = 0;
  50. virtual jint getMnemonic() = 0;
  51. virtual void setMnemonic(jint) = 0;
  52. virtual void setActionCommand(::java::lang::String *) = 0;
  53. virtual ::java::lang::String * getActionCommand() = 0;
  54. virtual void setGroup(::javax::swing::ButtonGroup *) = 0;
  55. virtual void setSelected(jboolean) = 0;
  56. virtual jboolean isSelected() = 0;
  57. virtual JArray< ::java::lang::Object * > * getSelectedObjects() = 0;
  58. static ::java::lang::Class class$;
  59. } __attribute__ ((java_interface));
  60. #endif // __javax_swing_ButtonModel__