1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_text_GlyphView__
|
5 |
|
|
#define __javax_swing_text_GlyphView__
|
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 Color;
|
19 |
|
|
class Font;
|
20 |
|
|
class Graphics;
|
21 |
|
|
class Shape;
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
namespace javax
|
25 |
|
|
{
|
26 |
|
|
namespace swing
|
27 |
|
|
{
|
28 |
|
|
namespace event
|
29 |
|
|
{
|
30 |
|
|
class DocumentEvent;
|
31 |
|
|
}
|
32 |
|
|
namespace text
|
33 |
|
|
{
|
34 |
|
|
class Element;
|
35 |
|
|
class GlyphView;
|
36 |
|
|
class GlyphView$GlyphPainter;
|
37 |
|
|
class Position$Bias;
|
38 |
|
|
class Segment;
|
39 |
|
|
class TabExpander;
|
40 |
|
|
class View;
|
41 |
|
|
class ViewFactory;
|
42 |
|
|
}
|
43 |
|
|
}
|
44 |
|
|
}
|
45 |
|
|
}
|
46 |
|
|
|
47 |
|
|
class javax::swing::text::GlyphView : public ::javax::swing::text::View
|
48 |
|
|
{
|
49 |
|
|
|
50 |
|
|
public:
|
51 |
|
|
GlyphView(::javax::swing::text::Element *);
|
52 |
|
|
virtual ::javax::swing::text::GlyphView$GlyphPainter * getGlyphPainter();
|
53 |
|
|
virtual void setGlyphPainter(::javax::swing::text::GlyphView$GlyphPainter *);
|
54 |
|
|
public: // actually protected
|
55 |
|
|
virtual void checkPainter();
|
56 |
|
|
public:
|
57 |
|
|
virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *);
|
58 |
|
|
virtual jfloat getPreferredSpan(jint);
|
59 |
|
|
virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *);
|
60 |
|
|
virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *);
|
61 |
|
|
virtual ::javax::swing::text::TabExpander * getTabExpander();
|
62 |
|
|
virtual jfloat getTabbedSpan(jfloat, ::javax::swing::text::TabExpander *);
|
63 |
|
|
virtual jfloat getPartialSpan(jint, jint);
|
64 |
|
|
virtual jint getStartOffset();
|
65 |
|
|
virtual jint getEndOffset();
|
66 |
|
|
virtual ::javax::swing::text::Segment * getText(jint, jint);
|
67 |
|
|
virtual ::java::awt::Font * getFont();
|
68 |
|
|
virtual ::java::awt::Color * getForeground();
|
69 |
|
|
virtual ::java::awt::Color * getBackground();
|
70 |
|
|
virtual jboolean isStrikeThrough();
|
71 |
|
|
virtual jboolean isSubscript();
|
72 |
|
|
virtual jboolean isSuperscript();
|
73 |
|
|
virtual jboolean isUnderline();
|
74 |
|
|
public: // actually protected
|
75 |
|
|
virtual ::java::lang::Object * clone();
|
76 |
|
|
public:
|
77 |
|
|
virtual ::javax::swing::text::View * breakView(jint, jint, jfloat, jfloat);
|
78 |
|
|
virtual jint getBreakWeight(jint, jfloat, jfloat);
|
79 |
|
|
private:
|
80 |
|
|
jint getBreakLocation(jint, jint);
|
81 |
|
|
public:
|
82 |
|
|
virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
|
83 |
|
|
virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
|
84 |
|
|
virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
|
85 |
|
|
virtual ::javax::swing::text::View * createFragment(jint, jint);
|
86 |
|
|
virtual jfloat getAlignment(jint);
|
87 |
|
|
virtual jint getNextVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *);
|
88 |
|
|
public: // actually package-private
|
89 |
|
|
::javax::swing::text::GlyphView$GlyphPainter * __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) glyphPainter;
|
90 |
|
|
private:
|
91 |
|
|
jint offset;
|
92 |
|
|
jint length;
|
93 |
|
|
jfloat tabX;
|
94 |
|
|
::javax::swing::text::TabExpander * tabExpander;
|
95 |
|
|
::javax::swing::text::Segment * cached;
|
96 |
|
|
public:
|
97 |
|
|
static ::java::lang::Class class$;
|
98 |
|
|
};
|
99 |
|
|
|
100 |
|
|
#endif // __javax_swing_text_GlyphView__
|