ZoneView.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_ZoneView__
  3. #define __javax_swing_text_ZoneView__
  4. #pragma interface
  5. #include <javax/swing/text/BoxView.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Shape;
  13. }
  14. }
  15. namespace javax
  16. {
  17. namespace swing
  18. {
  19. namespace event
  20. {
  21. class DocumentEvent;
  22. class DocumentEvent$ElementChange;
  23. }
  24. namespace text
  25. {
  26. class Element;
  27. class View;
  28. class ViewFactory;
  29. class ZoneView;
  30. }
  31. }
  32. }
  33. }
  34. class javax::swing::text::ZoneView : public ::javax::swing::text::BoxView
  35. {
  36. public:
  37. ZoneView(::javax::swing::text::Element *, jint);
  38. virtual void setMaximumZoneSize(jint);
  39. virtual jint getMaximumZoneSize();
  40. virtual void setMaxZonesLoaded(jint);
  41. virtual jint getMaxZonesLoaded();
  42. public: // actually protected
  43. virtual void zoneWasLoaded(::javax::swing::text::View *);
  44. virtual void unloadZone(::javax::swing::text::View *);
  45. virtual jboolean isZoneLoaded(::javax::swing::text::View *);
  46. virtual ::javax::swing::text::View * createZone(jint, jint);
  47. virtual void loadChildren(::javax::swing::text::ViewFactory *);
  48. virtual jint getViewIndexAtPosition(jint);
  49. public:
  50. virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
  51. virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
  52. public: // actually protected
  53. virtual jboolean updateChildren(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::javax::swing::text::ViewFactory *);
  54. private:
  55. void unloadOldestZones();
  56. void checkZoneAt(jint);
  57. void splitZone(jint, jint, jint);
  58. jint getPreferredZoneEnd(jint);
  59. jint __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) maximumZoneSize;
  60. jint maxZonesLoaded;
  61. ::java::util::LinkedList * loadedZones;
  62. public: // actually package-private
  63. static jboolean $assertionsDisabled;
  64. public:
  65. static ::java::lang::Class class$;
  66. };
  67. #endif // __javax_swing_text_ZoneView__