1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_text_WrappedPlainView__
#define __javax_swing_text_WrappedPlainView__
#pragma interface
#include <javax/swing/text/BoxView.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Color;
class FontMetrics;
class Graphics;
class Shape;
}
}
namespace javax
{
namespace swing
{
namespace event
{
class DocumentEvent;
}
namespace text
{
class Element;
class Segment;
class ViewFactory;
class WrappedPlainView;
}
}
}
}
class javax::swing::text::WrappedPlainView : public ::javax::swing::text::BoxView
{
public:
WrappedPlainView(::javax::swing::text::Element *);
WrappedPlainView(::javax::swing::text::Element *, jboolean);
public: // actually protected
virtual ::javax::swing::text::Segment * getLineBuffer();
public:
virtual jfloat nextTabStop(jfloat, jint);
public: // actually protected
virtual jint getTabSize();
virtual void drawLine(jint, jint, ::java::awt::Graphics *, jint, jint);
virtual jint drawSelectedText(::java::awt::Graphics *, jint, jint, jint, jint);
virtual jint drawUnselectedText(::java::awt::Graphics *, jint, jint, jint, jint);
virtual void loadChildren(::javax::swing::text::ViewFactory *);
virtual jint calculateBreakPosition(jint, jint);
public: // actually package-private
virtual void updateMetrics();
public:
virtual jfloat getPreferredSpan(jint);
virtual jfloat getMinimumSpan(jint);
virtual jfloat getMaximumSpan(jint);
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 *);
virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
private:
void updateChildren(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *);
public:
virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *);
virtual void setSize(jfloat, jfloat);
public: // actually package-private
::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) selectedColor;
::java::awt::Color * unselectedColor;
::java::awt::Color * disabledColor;
::java::awt::FontMetrics * metrics;
jboolean wordWrap;
::javax::swing::text::ViewFactory * viewFactory;
jint selectionStart;
jint selectionEnd;
jint lineHeight;
private:
jint tabBase;
jint tabSize;
::javax::swing::text::Segment * lineBuffer;
public: // actually package-private
static jboolean $assertionsDisabled;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_text_WrappedPlainView__
|