gcc/libjava/javax/swing/text/WrappedPlainView$WrappedLine.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

68 lines
1.9 KiB
C++

// 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__