1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_text_StyleConstants__
|
5 |
|
|
#define __javax_swing_text_StyleConstants__
|
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 |
|
|
}
|
19 |
|
|
}
|
20 |
|
|
namespace javax
|
21 |
|
|
{
|
22 |
|
|
namespace swing
|
23 |
|
|
{
|
24 |
|
|
class Icon;
|
25 |
|
|
namespace text
|
26 |
|
|
{
|
27 |
|
|
class AttributeSet;
|
28 |
|
|
class MutableAttributeSet;
|
29 |
|
|
class StyleConstants;
|
30 |
|
|
class TabSet;
|
31 |
|
|
}
|
32 |
|
|
}
|
33 |
|
|
}
|
34 |
|
|
}
|
35 |
|
|
|
36 |
|
|
class javax::swing::text::StyleConstants : public ::java::lang::Object
|
37 |
|
|
{
|
38 |
|
|
|
39 |
|
|
public: // actually package-private
|
40 |
|
|
StyleConstants(::java::lang::String *);
|
41 |
|
|
public:
|
42 |
|
|
virtual ::java::lang::String * toString();
|
43 |
|
|
static jint getAlignment(::javax::swing::text::AttributeSet *);
|
44 |
|
|
static ::java::awt::Color * getBackground(::javax::swing::text::AttributeSet *);
|
45 |
|
|
static jint getBidiLevel(::javax::swing::text::AttributeSet *);
|
46 |
|
|
static ::java::awt::Component * getComponent(::javax::swing::text::AttributeSet *);
|
47 |
|
|
static jfloat getFirstLineIndent(::javax::swing::text::AttributeSet *);
|
48 |
|
|
static ::java::lang::String * getFontFamily(::javax::swing::text::AttributeSet *);
|
49 |
|
|
static jint getFontSize(::javax::swing::text::AttributeSet *);
|
50 |
|
|
static ::java::awt::Color * getForeground(::javax::swing::text::AttributeSet *);
|
51 |
|
|
static ::javax::swing::Icon * getIcon(::javax::swing::text::AttributeSet *);
|
52 |
|
|
static jfloat getLeftIndent(::javax::swing::text::AttributeSet *);
|
53 |
|
|
static jfloat getLineSpacing(::javax::swing::text::AttributeSet *);
|
54 |
|
|
static jfloat getRightIndent(::javax::swing::text::AttributeSet *);
|
55 |
|
|
static jfloat getSpaceAbove(::javax::swing::text::AttributeSet *);
|
56 |
|
|
static jfloat getSpaceBelow(::javax::swing::text::AttributeSet *);
|
57 |
|
|
static ::javax::swing::text::TabSet * getTabSet(::javax::swing::text::AttributeSet *);
|
58 |
|
|
static jboolean isBold(::javax::swing::text::AttributeSet *);
|
59 |
|
|
static jboolean isItalic(::javax::swing::text::AttributeSet *);
|
60 |
|
|
static jboolean isStrikeThrough(::javax::swing::text::AttributeSet *);
|
61 |
|
|
static jboolean isSubscript(::javax::swing::text::AttributeSet *);
|
62 |
|
|
static jboolean isSuperscript(::javax::swing::text::AttributeSet *);
|
63 |
|
|
static jboolean isUnderline(::javax::swing::text::AttributeSet *);
|
64 |
|
|
static void setAlignment(::javax::swing::text::MutableAttributeSet *, jint);
|
65 |
|
|
static void setBackground(::javax::swing::text::MutableAttributeSet *, ::java::awt::Color *);
|
66 |
|
|
static void setBidiLevel(::javax::swing::text::MutableAttributeSet *, jint);
|
67 |
|
|
static void setBold(::javax::swing::text::MutableAttributeSet *, jboolean);
|
68 |
|
|
static void setComponent(::javax::swing::text::MutableAttributeSet *, ::java::awt::Component *);
|
69 |
|
|
static void setFirstLineIndent(::javax::swing::text::MutableAttributeSet *, jfloat);
|
70 |
|
|
static void setFontFamily(::javax::swing::text::MutableAttributeSet *, ::java::lang::String *);
|
71 |
|
|
static void setFontSize(::javax::swing::text::MutableAttributeSet *, jint);
|
72 |
|
|
static void setForeground(::javax::swing::text::MutableAttributeSet *, ::java::awt::Color *);
|
73 |
|
|
static void setIcon(::javax::swing::text::MutableAttributeSet *, ::javax::swing::Icon *);
|
74 |
|
|
static void setItalic(::javax::swing::text::MutableAttributeSet *, jboolean);
|
75 |
|
|
static void setLeftIndent(::javax::swing::text::MutableAttributeSet *, jfloat);
|
76 |
|
|
static void setLineSpacing(::javax::swing::text::MutableAttributeSet *, jfloat);
|
77 |
|
|
static void setRightIndent(::javax::swing::text::MutableAttributeSet *, jfloat);
|
78 |
|
|
static void setSpaceAbove(::javax::swing::text::MutableAttributeSet *, jfloat);
|
79 |
|
|
static void setSpaceBelow(::javax::swing::text::MutableAttributeSet *, jfloat);
|
80 |
|
|
static void setStrikeThrough(::javax::swing::text::MutableAttributeSet *, jboolean);
|
81 |
|
|
static void setSubscript(::javax::swing::text::MutableAttributeSet *, jboolean);
|
82 |
|
|
static void setSuperscript(::javax::swing::text::MutableAttributeSet *, jboolean);
|
83 |
|
|
static void setTabSet(::javax::swing::text::MutableAttributeSet *, ::javax::swing::text::TabSet *);
|
84 |
|
|
static void setUnderline(::javax::swing::text::MutableAttributeSet *, jboolean);
|
85 |
|
|
static const jint ALIGN_LEFT = 0;
|
86 |
|
|
static const jint ALIGN_CENTER = 1;
|
87 |
|
|
static const jint ALIGN_RIGHT = 2;
|
88 |
|
|
static const jint ALIGN_JUSTIFIED = 3;
|
89 |
|
|
static ::java::lang::Object * Background;
|
90 |
|
|
static ::java::lang::Object * BidiLevel;
|
91 |
|
|
static ::java::lang::Object * Bold;
|
92 |
|
|
static ::java::lang::Object * ComponentAttribute;
|
93 |
|
|
static ::java::lang::Object * Family;
|
94 |
|
|
static ::java::lang::Object * FontFamily;
|
95 |
|
|
static ::java::lang::Object * FontSize;
|
96 |
|
|
static ::java::lang::Object * Foreground;
|
97 |
|
|
static ::java::lang::Object * IconAttribute;
|
98 |
|
|
static ::java::lang::Object * Italic;
|
99 |
|
|
static ::java::lang::Object * Size;
|
100 |
|
|
static ::java::lang::Object * StrikeThrough;
|
101 |
|
|
static ::java::lang::Object * Subscript;
|
102 |
|
|
static ::java::lang::Object * Superscript;
|
103 |
|
|
static ::java::lang::Object * Underline;
|
104 |
|
|
static ::java::lang::Object * Alignment;
|
105 |
|
|
static ::java::lang::Object * FirstLineIndent;
|
106 |
|
|
static ::java::lang::Object * LeftIndent;
|
107 |
|
|
static ::java::lang::Object * LineSpacing;
|
108 |
|
|
static ::java::lang::Object * Orientation;
|
109 |
|
|
static ::java::lang::Object * RightIndent;
|
110 |
|
|
static ::java::lang::Object * SpaceAbove;
|
111 |
|
|
static ::java::lang::Object * SpaceBelow;
|
112 |
|
|
static ::java::lang::Object * TabSet;
|
113 |
|
|
static ::java::lang::String * ComponentElementName;
|
114 |
|
|
static ::java::lang::String * IconElementName;
|
115 |
|
|
static ::java::lang::Object * ComposedTextAttribute;
|
116 |
|
|
static ::java::lang::Object * ModelAttribute;
|
117 |
|
|
static ::java::lang::Object * NameAttribute;
|
118 |
|
|
static ::java::lang::Object * ResolveAttribute;
|
119 |
|
|
public: // actually package-private
|
120 |
|
|
static ::java::util::ArrayList * keys;
|
121 |
|
|
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) keyname;
|
122 |
|
|
public:
|
123 |
|
|
static ::java::lang::Class class$;
|
124 |
|
|
};
|
125 |
|
|
|
126 |
|
|
#endif // __javax_swing_text_StyleConstants__
|