summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QFont.java
blob: 0f132129cf583d81f82ffede6673e409ad46833b (plain)
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;
import java.util.ArrayList;

public class TQFont implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQFont(Class dummy){}

	public static final int Helvetica = 0;
	public static final int SansSerif = Helvetica;
	public static final int Times = 1;
	public static final int Serif = Times;
	public static final int Courier = 2;
	public static final int TypeWriter = Courier;
	public static final int OldEnglish = 3;
	public static final int Decorative = OldEnglish;
	public static final int System = 4;
	public static final int AnyStyle = 5;

	public static final int PreferDefault = 0x0001;
	public static final int PreferBitmap = 0x0002;
	public static final int PreferDevice = 0x0004;
	public static final int PreferOutline = 0x0008;
	public static final int ForceOutline = 0x0010;
	public static final int PreferMatch = 0x0020;
	public static final int PreferQuality = 0x0040;
	public static final int PreferAntialias = 0x0080;
	public static final int NoAntialias = 0x0100;
	public static final int OpenGLCompatible = 0x0200;

	public static final int Light = 25;
	public static final int Normal = 50;
	public static final int DemiBold = 63;
	public static final int Bold = 75;
	public static final int Black = 87;

	public static final int UltraCondensed = 50;
	public static final int ExtraCondensed = 62;
	public static final int Condensed = 75;
	public static final int SemiCondensed = 87;
	public static final int Unstretched = 100;
	public static final int SemiExpanded = 112;
	public static final int Expanded = 125;
	public static final int ExtraExpanded = 150;
	public static final int UltraExpanded = 200;

	public static final int Latin = 0;
	public static final int Greek = 1;
	public static final int Cyrillic = 2;
	public static final int Armenian = 3;
	public static final int Georgian = 4;
	public static final int Runic = 5;
	public static final int Ogham = 6;
	public static final int SpacingModifiers = 7;
	public static final int CombiningMarks = 8;
	public static final int Hebrew = 9;
	public static final int Arabic = 10;
	public static final int Syriac = 11;
	public static final int Thaana = 12;
	public static final int Devanagari = 13;
	public static final int Bengali = 14;
	public static final int Gurmukhi = 15;
	public static final int Gujarati = 16;
	public static final int Oriya = 17;
	public static final int Tamil = 18;
	public static final int Telugu = 19;
	public static final int Kannada = 20;
	public static final int Malayalam = 21;
	public static final int Sinhala = 22;
	public static final int Thai = 23;
	public static final int Lao = 24;
	public static final int Tibetan = 25;
	public static final int Myanmar = 26;
	public static final int Khmer = 27;
	public static final int Han = 28;
	public static final int Hiragana = 29;
	public static final int Katakana = 30;
	public static final int Hangul = 31;
	public static final int Bopomofo = 32;
	public static final int Yi = 33;
	public static final int Ethiopic = 34;
	public static final int Cherokee = 35;
	public static final int CanadianAboriginal = 36;
	public static final int Mongolian = 37;
	public static final int CurrencySymbols = 38;
	public static final int LetterlikeSymbols = 39;
	public static final int NumberForms = 40;
	public static final int MathematicalOperators = 41;
	public static final int TechnicalSymbols = 42;
	public static final int GeometricSymbols = 43;
	public static final int MiscellaneousSymbols = 44;
	public static final int EnclosedAndSquare = 45;
	public static final int Braille = 46;
	public static final int Unicode = 47;
	public static final int Tagalog = 48;
	public static final int Hanunoo = 49;
	public static final int Buhid = 50;
	public static final int Tagbanwa = 51;
	public static final int KatakanaHalfWidth = 52;
	public static final int Limbu = 53;
	public static final int TaiLe = 54;
	public static final int NScripts = 55;
	public static final int UnknownScript = NScripts;
	public static final int NoScript = 56;
	public static final int Han_Japanese = 57;
	public static final int Han_SimplifiedChinese = 58;
	public static final int Han_TraditionalChinese = 59;
	public static final int Han_Korean = 60;
	public static final int LastPrivateScript = 61;

	public TQFont() {
		newTQFont();
	}
	private native void newTQFont();
	public TQFont(String family, int pointSize, int weight, boolean italic) {
		newTQFont(family,pointSize,weight,italic);
	}
	private native void newTQFont(String family, int pointSize, int weight, boolean italic);
	public TQFont(String family, int pointSize, int weight) {
		newTQFont(family,pointSize,weight);
	}
	private native void newTQFont(String family, int pointSize, int weight);
	public TQFont(String family, int pointSize) {
		newTQFont(family,pointSize);
	}
	private native void newTQFont(String family, int pointSize);
	public TQFont(String family) {
		newTQFont(family);
	}
	private native void newTQFont(String family);
	public TQFont(TQFont arg1) {
		newTQFont(arg1);
	}
	private native void newTQFont(TQFont arg1);
	public native String family();
	public native void setFamily(String arg1);
	public native int pointSize();
	public native float pointSizeFloat();
	public native void setPointSize(int arg1);
	public native void setPointSizeFloat(float arg1);
	public native int pixelSize();
	public native void setPixelSize(int arg1);
	public native void setPixelSizeFloat(float arg1);
	public native int weight();
	public native void setWeight(int arg1);
	public native boolean bold();
	public native void setBold(boolean arg1);
	public native boolean italic();
	public native void setItalic(boolean arg1);
	public native boolean underline();
	public native void setUnderline(boolean arg1);
	public native boolean overline();
	public native void setOverline(boolean arg1);
	public native boolean strikeOut();
	public native void setStrikeOut(boolean arg1);
	public native boolean fixedPitch();
	public native void setFixedPitch(boolean arg1);
	public native int styleHint();
	public native int styleStrategy();
	public native void setStyleHint(int arg1, int arg2);
	public native void setStyleHint(int arg1);
	public native void setStyleStrategy(int s);
	public native int stretch();
	public native void setStretch(int arg1);
	public native boolean rawMode();
	public native void setRawMode(boolean arg1);
	public native boolean exactMatch();
	public native boolean op_equals(TQFont arg1);
	public native boolean op_not_equals(TQFont arg1);
	public native boolean isCopyOf(TQFont arg1);
	public native int handle();
	public native void setRawName(String arg1);
	public native String rawName();
	public native String key();
	public native String toString();
	public native boolean fromString(String arg1);
	public native String defaultFamily();
	public native String lastResortFamily();
	public native String lastResortFont();
	public native TQFont resolve(TQFont arg1);
	public static native String substitute(String arg1);
	public static native ArrayList substitutes(String arg1);
	public static native ArrayList substitutions();
	public static native void insertSubstitution(String arg1, String arg2);
	public static native void insertSubstitutions(String arg1, String[] arg2);
	public static native void removeSubstitution(String arg1);
	public static native void initialize();
	public static native void cleanup();
	public static native void cacheStatistics();
	public static native TQFont defaultFont();
	public static native void setDefaultFont(TQFont arg1);
	protected native boolean dirty();
	protected native int deciPointSize();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}