1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_text_html_CSSBorder__
|
5 |
|
|
#define __javax_swing_text_html_CSSBorder__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Color;
|
17 |
|
|
class Component;
|
18 |
|
|
class Graphics;
|
19 |
|
|
class Insets;
|
20 |
|
|
}
|
21 |
|
|
}
|
22 |
|
|
namespace javax
|
23 |
|
|
{
|
24 |
|
|
namespace swing
|
25 |
|
|
{
|
26 |
|
|
namespace text
|
27 |
|
|
{
|
28 |
|
|
class AttributeSet;
|
29 |
|
|
namespace html
|
30 |
|
|
{
|
31 |
|
|
class CSS$Attribute;
|
32 |
|
|
class CSSBorder;
|
33 |
|
|
class StyleSheet;
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
|
40 |
|
|
class javax::swing::text::html::CSSBorder : public ::java::lang::Object
|
41 |
|
|
{
|
42 |
|
|
|
43 |
|
|
public: // actually package-private
|
44 |
|
|
CSSBorder(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::StyleSheet *);
|
45 |
|
|
private:
|
46 |
|
|
jint getBorderStyle(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::CSS$Attribute *);
|
47 |
|
|
::java::awt::Color * getBorderColor(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::CSS$Attribute *);
|
48 |
|
|
jint getBorderWidth(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::CSS$Attribute *, ::javax::swing::text::html::StyleSheet *);
|
49 |
|
|
public:
|
50 |
|
|
virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *);
|
51 |
|
|
virtual jboolean isBorderOpaque();
|
52 |
|
|
virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint);
|
53 |
|
|
private:
|
54 |
|
|
void paintBorderLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
|
55 |
|
|
void paintDottedLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
|
56 |
|
|
void paintDashedLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
|
57 |
|
|
void paintSolidLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
|
58 |
|
|
void paintDoubleLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
|
59 |
|
|
void paintGrooveLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
|
60 |
|
|
void paintRidgeLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
|
61 |
|
|
void paintOutsetLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
|
62 |
|
|
void paintInsetLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean);
|
63 |
|
|
static const jint STYLE_NOT_SET = -1;
|
64 |
|
|
static const jint STYLE_NONE = 0;
|
65 |
|
|
static const jint STYLE_HIDDEN = 1;
|
66 |
|
|
static const jint STYLE_DOTTED = 2;
|
67 |
|
|
static const jint STYLE_DASHED = 3;
|
68 |
|
|
static const jint STYLE_SOLID = 4;
|
69 |
|
|
static const jint STYLE_DOUBLE = 5;
|
70 |
|
|
static const jint STYLE_GROOVE = 6;
|
71 |
|
|
static const jint STYLE_RIDGE = 7;
|
72 |
|
|
static const jint STYLE_INSET = 8;
|
73 |
|
|
static const jint STYLE_OUTSET = 9;
|
74 |
|
|
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) left;
|
75 |
|
|
jint right;
|
76 |
|
|
jint top;
|
77 |
|
|
jint bottom;
|
78 |
|
|
jint leftStyle;
|
79 |
|
|
jint rightStyle;
|
80 |
|
|
jint topStyle;
|
81 |
|
|
::java::awt::Color * topColor;
|
82 |
|
|
::java::awt::Color * bottomColor;
|
83 |
|
|
::java::awt::Color * leftColor;
|
84 |
|
|
::java::awt::Color * rightColor;
|
85 |
|
|
jint bottomStyle;
|
86 |
|
|
public:
|
87 |
|
|
static ::java::lang::Class class$;
|
88 |
|
|
};
|
89 |
|
|
|
90 |
|
|
#endif // __javax_swing_text_html_CSSBorder__
|