summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/ZoneView.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/text/ZoneView.h')
-rw-r--r--libjava/javax/swing/text/ZoneView.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/libjava/javax/swing/text/ZoneView.h b/libjava/javax/swing/text/ZoneView.h
new file mode 100644
index 00000000000..324d90c0a33
--- /dev/null
+++ b/libjava/javax/swing/text/ZoneView.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_text_ZoneView__
+#define __javax_swing_text_ZoneView__
+
+#pragma interface
+
+#include <javax/swing/text/BoxView.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Shape;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace event
+ {
+ class DocumentEvent;
+ class DocumentEvent$ElementChange;
+ }
+ namespace text
+ {
+ class Element;
+ class View;
+ class ViewFactory;
+ class ZoneView;
+ }
+ }
+ }
+}
+
+class javax::swing::text::ZoneView : public ::javax::swing::text::BoxView
+{
+
+public:
+ ZoneView(::javax::swing::text::Element *, jint);
+ virtual void setMaximumZoneSize(jint);
+ virtual jint getMaximumZoneSize();
+ virtual void setMaxZonesLoaded(jint);
+ virtual jint getMaxZonesLoaded();
+public: // actually protected
+ virtual void zoneWasLoaded(::javax::swing::text::View *);
+ virtual void unloadZone(::javax::swing::text::View *);
+ virtual jboolean isZoneLoaded(::javax::swing::text::View *);
+ virtual ::javax::swing::text::View * createZone(jint, jint);
+ virtual void loadChildren(::javax::swing::text::ViewFactory *);
+ virtual jint getViewIndexAtPosition(jint);
+public:
+ virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
+ virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
+public: // actually protected
+ virtual jboolean updateChildren(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::javax::swing::text::ViewFactory *);
+private:
+ void unloadOldestZones();
+ void checkZoneAt(jint);
+ void splitZone(jint, jint, jint);
+ jint getPreferredZoneEnd(jint);
+ jint __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) maximumZoneSize;
+ jint maxZonesLoaded;
+ ::java::util::LinkedList * loadedZones;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_text_ZoneView__