LineBorder.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_border_LineBorder__
  3. #define __javax_swing_border_LineBorder__
  4. #pragma interface
  5. #include <javax/swing/border/AbstractBorder.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Color;
  13. class Component;
  14. class Graphics;
  15. class Insets;
  16. }
  17. }
  18. namespace javax
  19. {
  20. namespace swing
  21. {
  22. namespace border
  23. {
  24. class Border;
  25. class LineBorder;
  26. }
  27. }
  28. }
  29. }
  30. class javax::swing::border::LineBorder : public ::javax::swing::border::AbstractBorder
  31. {
  32. public:
  33. LineBorder(::java::awt::Color *);
  34. LineBorder(::java::awt::Color *, jint);
  35. LineBorder(::java::awt::Color *, jint, jboolean);
  36. static ::javax::swing::border::Border * createBlackLineBorder();
  37. static ::javax::swing::border::Border * createGrayLineBorder();
  38. virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint);
  39. virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *);
  40. virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *, ::java::awt::Insets *);
  41. virtual ::java::awt::Color * getLineColor();
  42. virtual jint getThickness();
  43. virtual jboolean getRoundedCorners();
  44. virtual jboolean isBorderOpaque();
  45. public: // actually package-private
  46. static const jlong serialVersionUID = -787563427772288970LL;
  47. private:
  48. static ::javax::swing::border::LineBorder * blackLineBorder;
  49. static ::javax::swing::border::LineBorder * grayLineBorder;
  50. public: // actually protected
  51. jint __attribute__((aligned(__alignof__( ::javax::swing::border::AbstractBorder)))) thickness;
  52. ::java::awt::Color * lineColor;
  53. jboolean roundedCorners;
  54. public:
  55. static ::java::lang::Class class$;
  56. };
  57. #endif // __javax_swing_border_LineBorder__