summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QSpinBox.java
blob: 51bd338dffa3008a84ca8ffdf6320c2ce78961ca (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link QSpinBoxSignals} for signals emitted by QSpinBox
*/
public class QSpinBox extends QWidget implements QRangeControlInterface {
	protected QSpinBox(Class dummy){super((Class) null);}
	public static final int UpDownArrows = 0;
	public static final int PlusMinus = 1;

	public native QMetaObject metaObject();
	public native String className();
	public QSpinBox(QWidget parent, String name) {
		super((Class) null);
		newQSpinBox(parent,name);
	}
	private native void newQSpinBox(QWidget parent, String name);
	public QSpinBox(QWidget parent) {
		super((Class) null);
		newQSpinBox(parent);
	}
	private native void newQSpinBox(QWidget parent);
	public QSpinBox() {
		super((Class) null);
		newQSpinBox();
	}
	private native void newQSpinBox();
	public QSpinBox(int minValue, int maxValue, int step, QWidget parent, String name) {
		super((Class) null);
		newQSpinBox(minValue,maxValue,step,parent,name);
	}
	private native void newQSpinBox(int minValue, int maxValue, int step, QWidget parent, String name);
	public QSpinBox(int minValue, int maxValue, int step, QWidget parent) {
		super((Class) null);
		newQSpinBox(minValue,maxValue,step,parent);
	}
	private native void newQSpinBox(int minValue, int maxValue, int step, QWidget parent);
	public QSpinBox(int minValue, int maxValue, int step) {
		super((Class) null);
		newQSpinBox(minValue,maxValue,step);
	}
	private native void newQSpinBox(int minValue, int maxValue, int step);
	public QSpinBox(int minValue, int maxValue) {
		super((Class) null);
		newQSpinBox(minValue,maxValue);
	}
	private native void newQSpinBox(int minValue, int maxValue);
	public native String text();
	public native String prefix();
	public native String suffix();
	public native String cleanText();
	public native void setSpecialValueText(String text);
	public native String specialValueText();
	public native void setWrapping(boolean on);
	public native boolean wrapping();
	public native void setButtonSymbols(int arg1);
	public native int buttonSymbols();
	public native void setValidator(QValidator v);
	public native QValidator validator();
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native int minValue();
	public native int maxValue();
	public native void setMinValue(int arg1);
	public native void setMaxValue(int arg1);
	public native int lineStep();
	public native void setLineStep(int arg1);
	public native int value();
	public native QRect upRect();
	public native QRect downRect();
	public native void setValue(int value);
	public native void setPrefix(String text);
	public native void setSuffix(String text);
	public native void stepUp();
	public native void stepDown();
	public native void setEnabled(boolean enabled);
	public native void selectAll();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native String mapValueToText(int value);
	protected native int mapTextToValue(boolean[] ok);
	protected native String currentValueText();
	protected native void updateDisplay();
	protected native void interpretText();
	protected native QLineEdit editor();
	protected native void valueChange();
	protected native void rangeChange();
	public native boolean eventFilter(QObject arg1, QEvent ev);
	protected native void resizeEvent(QResizeEvent ev);
	protected native void wheelEvent(QWheelEvent arg1);
	protected native void leaveEvent(QEvent arg1);
	public native void styleChange(QStyle arg1);
	protected native void textChanged();
	/** 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();
	public native void addPage();
	public native void subtractPage();
	public native void addLine();
	public native void subtractLine();
	public native void setRange(int minValue, int maxValue);
	public native int pageStep();
	public native void setSteps(int line, int page);
	public native int bound(int arg1);
	protected native int positionFromValue(int val, int space);
	protected native int valueFromPosition(int pos, int space);
	protected native void directSetValue(int val);
	protected native int prevValue();
	protected native void stepChange();
}