DefaultTreeCellRenderer.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_tree_DefaultTreeCellRenderer__
  3. #define __javax_swing_tree_DefaultTreeCellRenderer__
  4. #pragma interface
  5. #include <javax/swing/JLabel.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Color;
  13. class Component;
  14. class Dimension;
  15. class Font;
  16. class Graphics;
  17. class Rectangle;
  18. }
  19. }
  20. namespace javax
  21. {
  22. namespace swing
  23. {
  24. class Icon;
  25. class JTree;
  26. namespace tree
  27. {
  28. class DefaultTreeCellRenderer;
  29. }
  30. }
  31. }
  32. }
  33. class javax::swing::tree::DefaultTreeCellRenderer : public ::javax::swing::JLabel
  34. {
  35. public:
  36. DefaultTreeCellRenderer();
  37. virtual ::javax::swing::Icon * getDefaultOpenIcon();
  38. virtual ::javax::swing::Icon * getDefaultClosedIcon();
  39. virtual ::javax::swing::Icon * getDefaultLeafIcon();
  40. virtual void setOpenIcon(::javax::swing::Icon *);
  41. virtual ::javax::swing::Icon * getOpenIcon();
  42. virtual void setClosedIcon(::javax::swing::Icon *);
  43. virtual ::javax::swing::Icon * getClosedIcon();
  44. virtual void setLeafIcon(::javax::swing::Icon *);
  45. virtual ::javax::swing::Icon * getLeafIcon();
  46. virtual void setTextSelectionColor(::java::awt::Color *);
  47. virtual ::java::awt::Color * getTextSelectionColor();
  48. virtual void setTextNonSelectionColor(::java::awt::Color *);
  49. virtual ::java::awt::Color * getTextNonSelectionColor();
  50. virtual void setBackgroundSelectionColor(::java::awt::Color *);
  51. virtual ::java::awt::Color * getBackgroundSelectionColor();
  52. virtual void setBackgroundNonSelectionColor(::java::awt::Color *);
  53. virtual ::java::awt::Color * getBackgroundNonSelectionColor();
  54. virtual void setBorderSelectionColor(::java::awt::Color *);
  55. virtual ::java::awt::Color * getBorderSelectionColor();
  56. virtual void setFont(::java::awt::Font *);
  57. virtual void setBackground(::java::awt::Color *);
  58. virtual ::java::awt::Component * getTreeCellRendererComponent(::javax::swing::JTree *, ::java::lang::Object *, jboolean, jboolean, jboolean, jint, jboolean);
  59. virtual ::java::awt::Font * getFont();
  60. virtual void paint(::java::awt::Graphics *);
  61. private:
  62. void paintFocus(::java::awt::Graphics *, jint, jint, jint, jint);
  63. jint getXOffset();
  64. public:
  65. virtual ::java::awt::Dimension * getPreferredSize();
  66. virtual void validate();
  67. virtual void revalidate();
  68. virtual void repaint(jlong, jint, jint, jint, jint);
  69. virtual void repaint(::java::awt::Rectangle *);
  70. public: // actually protected
  71. virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
  72. public:
  73. virtual void firePropertyChange(::java::lang::String *, jbyte, jbyte);
  74. virtual void firePropertyChange(::java::lang::String *, jchar, jchar);
  75. virtual void firePropertyChange(::java::lang::String *, jshort, jshort);
  76. virtual void firePropertyChange(::java::lang::String *, jint, jint);
  77. virtual void firePropertyChange(::java::lang::String *, jlong, jlong);
  78. virtual void firePropertyChange(::java::lang::String *, jfloat, jfloat);
  79. virtual void firePropertyChange(::java::lang::String *, jdouble, jdouble);
  80. virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean);
  81. public: // actually protected
  82. jboolean __attribute__((aligned(__alignof__( ::javax::swing::JLabel)))) selected;
  83. jboolean hasFocus;
  84. private:
  85. jboolean drawsFocusBorderAroundIcon;
  86. public: // actually protected
  87. ::javax::swing::Icon * closedIcon;
  88. ::javax::swing::Icon * leafIcon;
  89. ::javax::swing::Icon * openIcon;
  90. ::java::awt::Color * textSelectionColor;
  91. ::java::awt::Color * textNonSelectionColor;
  92. ::java::awt::Color * backgroundSelectionColor;
  93. ::java::awt::Color * backgroundNonSelectionColor;
  94. ::java::awt::Color * borderSelectionColor;
  95. public:
  96. static ::java::lang::Class class$;
  97. };
  98. #endif // __javax_swing_tree_DefaultTreeCellRenderer__