ListSelectionModel.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_ListSelectionModel__
  3. #define __javax_swing_ListSelectionModel__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace javax
  9. {
  10. namespace swing
  11. {
  12. class ListSelectionModel;
  13. namespace event
  14. {
  15. class ListSelectionListener;
  16. }
  17. }
  18. }
  19. }
  20. class javax::swing::ListSelectionModel : public ::java::lang::Object
  21. {
  22. public:
  23. virtual void setSelectionMode(jint) = 0;
  24. virtual jint getSelectionMode() = 0;
  25. virtual void clearSelection() = 0;
  26. virtual jint getMinSelectionIndex() = 0;
  27. virtual jint getMaxSelectionIndex() = 0;
  28. virtual jboolean isSelectedIndex(jint) = 0;
  29. virtual jboolean isSelectionEmpty() = 0;
  30. virtual void setSelectionInterval(jint, jint) = 0;
  31. virtual void addSelectionInterval(jint, jint) = 0;
  32. virtual void removeSelectionInterval(jint, jint) = 0;
  33. virtual void insertIndexInterval(jint, jint, jboolean) = 0;
  34. virtual void removeIndexInterval(jint, jint) = 0;
  35. virtual jint getAnchorSelectionIndex() = 0;
  36. virtual void setAnchorSelectionIndex(jint) = 0;
  37. virtual jint getLeadSelectionIndex() = 0;
  38. virtual void setLeadSelectionIndex(jint) = 0;
  39. virtual void setValueIsAdjusting(jboolean) = 0;
  40. virtual jboolean getValueIsAdjusting() = 0;
  41. virtual void addListSelectionListener(::javax::swing::event::ListSelectionListener *) = 0;
  42. virtual void removeListSelectionListener(::javax::swing::event::ListSelectionListener *) = 0;
  43. static const jint SINGLE_SELECTION = 0;
  44. static const jint SINGLE_INTERVAL_SELECTION = 1;
  45. static const jint MULTIPLE_INTERVAL_SELECTION = 2;
  46. static ::java::lang::Class class$;
  47. } __attribute__ ((java_interface));
  48. #endif // __javax_swing_ListSelectionModel__