diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KIntSpinBox.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KIntSpinBox.java | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KIntSpinBox.java b/kdejava/koala/org/kde/koala/KIntSpinBox.java new file mode 100644 index 00000000..dd01b526 --- /dev/null +++ b/kdejava/koala/org/kde/koala/KIntSpinBox.java @@ -0,0 +1,112 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.QWidget; +import org.kde.qt.QSpinBox; + +/** + + A QSpinBox 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 QSpinBox with support for arbitrary base numbers. + +*/ +public class KIntSpinBox extends QSpinBox { + protected KIntSpinBox(Class dummy){super((Class) null);} + public native QMetaObject 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(QWidget parent, String name) { + super((Class) null); + newKIntSpinBox(parent,name); + } + private native void newKIntSpinBox(QWidget parent, String name); + public KIntSpinBox(QWidget parent) { + super((Class) null); + newKIntSpinBox(parent); + } + private native void newKIntSpinBox(QWidget 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, QWidget 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, QWidget parent, String name); + public KIntSpinBox(int lower, int upper, int step, int value, int base, QWidget 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, QWidget 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 QSpinBox + to make use of the base given in the constructor. + @short Overloaded the method in QSpinBox to make use of the base given in the constructor. + */ + protected native String mapValueToText(int arg1); + /** + Overloaded the method in QSpinBox + to make use of the base given in the constructor. + @short Overloaded the method in QSpinBox 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(); +} |