Action.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_Action__
  3. #define __javax_swing_Action__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. namespace event
  13. {
  14. class ActionEvent;
  15. }
  16. }
  17. namespace beans
  18. {
  19. class PropertyChangeListener;
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace swing
  25. {
  26. class Action;
  27. }
  28. }
  29. }
  30. class javax::swing::Action : public ::java::lang::Object
  31. {
  32. public:
  33. virtual ::java::lang::Object * getValue(::java::lang::String *) = 0;
  34. virtual void putValue(::java::lang::String *, ::java::lang::Object *) = 0;
  35. virtual jboolean isEnabled() = 0;
  36. virtual void setEnabled(jboolean) = 0;
  37. virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
  38. virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
  39. virtual void actionPerformed(::java::awt::event::ActionEvent *) = 0;
  40. static ::java::lang::String * DEFAULT;
  41. static ::java::lang::String * LONG_DESCRIPTION;
  42. static ::java::lang::String * NAME;
  43. static ::java::lang::String * SHORT_DESCRIPTION;
  44. static ::java::lang::String * SMALL_ICON;
  45. static ::java::lang::String * ACCELERATOR_KEY;
  46. static ::java::lang::String * ACTION_COMMAND_KEY;
  47. static ::java::lang::String * MNEMONIC_KEY;
  48. static ::java::lang::Class class$;
  49. } __attribute__ ((java_interface));
  50. #endif // __javax_swing_Action__