CompositeView.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_CompositeView__
  3. #define __javax_swing_text_CompositeView__
  4. #pragma interface
  5. #include <javax/swing/text/View.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class Rectangle;
  14. class Shape;
  15. }
  16. }
  17. namespace javax
  18. {
  19. namespace swing
  20. {
  21. namespace text
  22. {
  23. class AttributeSet;
  24. class CompositeView;
  25. class Element;
  26. class Position$Bias;
  27. class View;
  28. class ViewFactory;
  29. }
  30. }
  31. }
  32. }
  33. class javax::swing::text::CompositeView : public ::javax::swing::text::View
  34. {
  35. public:
  36. CompositeView(::javax::swing::text::Element *);
  37. public: // actually protected
  38. virtual void loadChildren(::javax::swing::text::ViewFactory *);
  39. public:
  40. virtual void setParent(::javax::swing::text::View *);
  41. virtual jint getViewCount();
  42. virtual ::javax::swing::text::View * getView(jint);
  43. virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *);
  44. virtual ::java::awt::Shape * getChildAllocation(jint, ::java::awt::Shape *);
  45. virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *);
  46. virtual ::java::awt::Shape * modelToView(jint, ::javax::swing::text::Position$Bias *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *);
  47. virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *);
  48. virtual jint getNextVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *);
  49. virtual jint getViewIndex(jint, ::javax::swing::text::Position$Bias *);
  50. public: // actually protected
  51. virtual jboolean isBefore(jint, jint, ::java::awt::Rectangle *) = 0;
  52. virtual jboolean isAfter(jint, jint, ::java::awt::Rectangle *) = 0;
  53. virtual ::javax::swing::text::View * getViewAtPoint(jint, jint, ::java::awt::Rectangle *) = 0;
  54. virtual void childAllocation(jint, ::java::awt::Rectangle *) = 0;
  55. virtual ::javax::swing::text::View * getViewAtPosition(jint, ::java::awt::Rectangle *);
  56. virtual jint getViewIndexAtPosition(jint);
  57. virtual ::java::awt::Rectangle * getInsideAllocation(::java::awt::Shape *);
  58. virtual void setParagraphInsets(::javax::swing::text::AttributeSet *);
  59. virtual void setInsets(jshort, jshort, jshort, jshort);
  60. virtual jshort getLeftInset();
  61. virtual jshort getRightInset();
  62. virtual jshort getTopInset();
  63. virtual jshort getBottomInset();
  64. virtual jint getNextNorthSouthVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *);
  65. virtual jint getNextEastWestVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *);
  66. virtual jboolean flipEastAndWestAtEnds(jint, ::javax::swing::text::Position$Bias *);
  67. private:
  68. JArray< ::javax::swing::text::View * > * __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) children;
  69. jint numChildren;
  70. ::java::awt::Rectangle * insideAllocation;
  71. jshort top;
  72. jshort bottom;
  73. jshort left;
  74. jshort right;
  75. public:
  76. static ::java::lang::Class class$;
  77. };
  78. #endif // __javax_swing_text_CompositeView__