TreeSelectionModel.h 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_tree_TreeSelectionModel__
  3. #define __javax_swing_tree_TreeSelectionModel__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace beans
  12. {
  13. class PropertyChangeListener;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace swing
  19. {
  20. namespace event
  21. {
  22. class TreeSelectionListener;
  23. }
  24. namespace tree
  25. {
  26. class RowMapper;
  27. class TreePath;
  28. class TreeSelectionModel;
  29. }
  30. }
  31. }
  32. }
  33. class javax::swing::tree::TreeSelectionModel : public ::java::lang::Object
  34. {
  35. public:
  36. virtual void setSelectionMode(jint) = 0;
  37. virtual jint getSelectionMode() = 0;
  38. virtual void setSelectionPath(::javax::swing::tree::TreePath *) = 0;
  39. virtual void setSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0;
  40. virtual void addSelectionPath(::javax::swing::tree::TreePath *) = 0;
  41. virtual void addSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0;
  42. virtual void removeSelectionPath(::javax::swing::tree::TreePath *) = 0;
  43. virtual void removeSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0;
  44. virtual ::javax::swing::tree::TreePath * getSelectionPath() = 0;
  45. virtual JArray< ::javax::swing::tree::TreePath * > * getSelectionPaths() = 0;
  46. virtual jint getSelectionCount() = 0;
  47. virtual jboolean isPathSelected(::javax::swing::tree::TreePath *) = 0;
  48. virtual jboolean isSelectionEmpty() = 0;
  49. virtual void clearSelection() = 0;
  50. virtual void setRowMapper(::javax::swing::tree::RowMapper *) = 0;
  51. virtual ::javax::swing::tree::RowMapper * getRowMapper() = 0;
  52. virtual JArray< jint > * getSelectionRows() = 0;
  53. virtual jint getMinSelectionRow() = 0;
  54. virtual jint getMaxSelectionRow() = 0;
  55. virtual jboolean isRowSelected(jint) = 0;
  56. virtual void resetRowSelection() = 0;
  57. virtual jint getLeadSelectionRow() = 0;
  58. virtual ::javax::swing::tree::TreePath * getLeadSelectionPath() = 0;
  59. virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
  60. virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *) = 0;
  61. virtual void addTreeSelectionListener(::javax::swing::event::TreeSelectionListener *) = 0;
  62. virtual void removeTreeSelectionListener(::javax::swing::event::TreeSelectionListener *) = 0;
  63. static const jint SINGLE_TREE_SELECTION = 1;
  64. static const jint CONTIGUOUS_TREE_SELECTION = 2;
  65. static const jint DISCONTIGUOUS_TREE_SELECTION = 4;
  66. static ::java::lang::Class class$;
  67. } __attribute__ ((java_interface));
  68. #endif // __javax_swing_tree_TreeSelectionModel__