summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQStyleSheetItem.java
blob: 7189587fbeade45ff6308a482e1ac545864286d5 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQStyleSheetItem extends Qt  {
	protected TQStyleSheetItem(Class dummy){super((Class) null);}
	public static final int Undefined = -1;

	public static final int DisplayBlock = 0;
	public static final int DisplayInline = 1;
	public static final int DisplayListItem = 2;
	public static final int DisplayNone = 3;
	public static final int DisplayModeUndefined = -1;

	public static final int VAlignBaseline = 0;
	public static final int VAlignSub = 1;
	public static final int VAlignSuper = 2;

	public static final int WhiteSpaceNormal = 0;
	public static final int WhiteSpacePre = 1;
	public static final int WhiteSpaceNoWrap = 2;
	public static final int WhiteSpaceModeUndefined = -1;

	public static final int MarginLeft = 0;
	public static final int MarginRight = 1;
	public static final int MarginTop = 2;
	public static final int MarginBottom = 3;
	public static final int MarginFirstLine = 4;
	public static final int MarginAll = 5;
	public static final int MarginVertical = 6;
	public static final int MarginHorizontal = 7;
	public static final int MarginUndefined = -1;

	public static final int ListDisc = 0;
	public static final int ListCircle = 1;
	public static final int ListSquare = 2;
	public static final int ListDecimal = 3;
	public static final int ListLowerAlpha = 4;
	public static final int ListUpperAlpha = 5;
	public static final int ListStyleUndefined = -1;

	public TQStyleSheetItem(TQStyleSheet parent, String name) {
		super((Class) null);
		newTQStyleSheetItem(parent,name);
	}
	private native void newTQStyleSheetItem(TQStyleSheet parent, String name);
	public TQStyleSheetItem(TQStyleSheetItem arg1) {
		super((Class) null);
		newTQStyleSheetItem(arg1);
	}
	private native void newTQStyleSheetItem(TQStyleSheetItem arg1);
	public native String name();
	public native TQStyleSheet styleSheet();
	public native int displayMode();
	public native void setDisplayMode(int m);
	public native int alignment();
	public native void setAlignment(int f);
	public native int verticalAlignment();
	public native void setVerticalAlignment(int valign);
	public native int fontWeight();
	public native void setFontWeight(int w);
	public native int logicalFontSize();
	public native void setLogicalFontSize(int s);
	public native int logicalFontSizeStep();
	public native void setLogicalFontSizeStep(int s);
	public native int fontSize();
	public native void setFontSize(int s);
	public native String fontFamily();
	public native void setFontFamily(String arg1);
	public native int numberOfColumns();
	public native void setNumberOfColumns(int ncols);
	public native TQColor color();
	public native void setColor(TQColor arg1);
	public native boolean fontItalic();
	public native void setFontItalic(boolean arg1);
	public native boolean definesFontItalic();
	public native boolean fontUnderline();
	public native void setFontUnderline(boolean arg1);
	public native boolean definesFontUnderline();
	public native boolean fontStrikeOut();
	public native void setFontStrikeOut(boolean arg1);
	public native boolean definesFontStrikeOut();
	public native boolean isAnchor();
	public native void setAnchor(boolean anc);
	public native int whiteSpaceMode();
	public native void setWhiteSpaceMode(int m);
	public native int margin(int m);
	public native void setMargin(int arg1, int arg2);
	public native int listStyle();
	public native void setListStyle(int arg1);
	public native String contexts();
	public native void setContexts(String arg1);
	public native boolean allowedInContext(TQStyleSheetItem arg1);
	public native boolean selfNesting();
	public native void setSelfNesting(boolean arg1);
	public native void setLineSpacing(int ls);
	public native int lineSpacing();
	/** 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();
}