summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KIntSpinBox.java
blob: efbba247e81af445fb5e6e8230ad37ddae1e6818 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQWidget;
import org.kde.qt.TQSpinBox;

/**

  A TQSpinBox with support for arbitrary base numbers
  (e.g. hexadecimal).
  The class provides an easy interface to use other
  numeric systems than the decimal.
 		@short A TQSpinBox with support for arbitrary base numbers.

*/
public class KIntSpinBox extends TQSpinBox  {
	protected KIntSpinBox(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**	
		  Constructor.
			  Constructs a widget with an integer inputline with a little scrollbar
		  and a slider, with minimal value 0, maximal value 99, step 1, base 10
		  and initial value 0.
		     		@short     Constructor.
	*/
	public KIntSpinBox(TQWidget parent, String name) {
		super((Class) null);
		newKIntSpinBox(parent,name);
	}
	private native void newKIntSpinBox(TQWidget parent, String name);
	public KIntSpinBox(TQWidget parent) {
		super((Class) null);
		newKIntSpinBox(parent);
	}
	private native void newKIntSpinBox(TQWidget parent);
	public KIntSpinBox() {
		super((Class) null);
		newKIntSpinBox();
	}
	private native void newKIntSpinBox();
	/**	
		  Constructor.
			  Constructs a widget with an integer inputline with a little scrollbar
		  and a slider.
			@param lower The lowest valid value.
			@param upper The greatest valid value.
			@param step The step size of the scrollbar.
			@param value The actual value.
			@param base The base of the used number system.
			@param parent The parent of the widget.
			@param name The Name of the widget.
		     		@short     Constructor.
	*/
	public KIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent, String name) {
		super((Class) null);
		newKIntSpinBox(lower,upper,step,value,base,parent,name);
	}
	private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent, String name);
	public KIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent) {
		super((Class) null);
		newKIntSpinBox(lower,upper,step,value,base,parent);
	}
	private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent);
	public KIntSpinBox(int lower, int upper, int step, int value, int base) {
		super((Class) null);
		newKIntSpinBox(lower,upper,step,value,base);
	}
	private native void newKIntSpinBox(int lower, int upper, int step, int value, int base);
	public KIntSpinBox(int lower, int upper, int step, int value) {
		super((Class) null);
		newKIntSpinBox(lower,upper,step,value);
	}
	private native void newKIntSpinBox(int lower, int upper, int step, int value);
	/**	
		 Sets the base in which the numbers in the spin box are represented.
		     		@short    Sets the base in which the numbers in the spin box are represented.
	*/
	public native void setBase(int base);
	/**	
				@return the base in which numbers in the spin box are represented.
     
		@short
	*/
	public native int base();
	/**	
		 sets focus and optionally marks all text
			     		@short    sets focus and optionally marks all text
	*/
	public native void setEditFocus(boolean mark);
	/**	
		  Overloaded the method in TQSpinBox
		  to make use of the base given in the constructor.
		     		@short     Overloaded the method in TQSpinBox   to make use of the base given in the constructor.
	*/
	protected native String mapValueToText(int arg1);
	/**	
		  Overloaded the method in TQSpinBox
		  to make use of the base given in the constructor.
		     		@short     Overloaded the method in TQSpinBox   to make use of the base given in the constructor.
	*/
	protected native int mapTextToValue(boolean[] arg1);
	/** 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();
}