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