diff options
Diffstat (limited to 'libjava/javax/swing/text/WrappedPlainView$WrappedLine.h')
-rw-r--r-- | libjava/javax/swing/text/WrappedPlainView$WrappedLine.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/libjava/javax/swing/text/WrappedPlainView$WrappedLine.h b/libjava/javax/swing/text/WrappedPlainView$WrappedLine.h new file mode 100644 index 00000000000..c96da223418 --- /dev/null +++ b/libjava/javax/swing/text/WrappedPlainView$WrappedLine.h @@ -0,0 +1,67 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_WrappedPlainView$WrappedLine__ +#define __javax_swing_text_WrappedPlainView$WrappedLine__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class Element; + class Position$Bias; + class ViewFactory; + class WrappedPlainView; + class WrappedPlainView$WrappedLine; + } + } + } +} + +class javax::swing::text::WrappedPlainView$WrappedLine : public ::javax::swing::text::View +{ + +public: + WrappedPlainView$WrappedLine(::javax::swing::text::WrappedPlainView *, ::javax::swing::text::Element *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); +private: + jint determineNumLines(); +public: + virtual jfloat getPreferredSpan(jint); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); +public: // actually package-private + virtual void updateDamage(::java::awt::Rectangle *); +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 package-private + jint __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) numLines; + ::javax::swing::text::WrappedPlainView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_WrappedPlainView$WrappedLine__ |