summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KValueSelector.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KValueSelector.java')
-rw-r--r--kdejava/koala/org/kde/koala/KValueSelector.java89
1 files changed, 89 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KValueSelector.java b/kdejava/koala/org/kde/koala/KValueSelector.java
new file mode 100644
index 00000000..446f92e4
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KValueSelector.java
@@ -0,0 +1,89 @@
+//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.QPixmap;
+import org.kde.qt.QPainter;
+import org.kde.qt.QWidget;
+import org.kde.qt.QResizeEvent;
+
+/**
+
+ Widget for color value selection.
+ @author Martin Jones (mjones@kde.org)
+
+ @short Widget for color value selection.
+ @see KHSSelector
+ @see KColorDialog
+
+*/
+public class KValueSelector extends KSelector {
+ protected KValueSelector(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ /**
+ Constructs a widget for color selection.
+ @short Constructs a widget for color selection.
+ */
+ public KValueSelector(QWidget parent, String name) {
+ super((Class) null);
+ newKValueSelector(parent,name);
+ }
+ private native void newKValueSelector(QWidget parent, String name);
+ public KValueSelector(QWidget parent) {
+ super((Class) null);
+ newKValueSelector(parent);
+ }
+ private native void newKValueSelector(QWidget parent);
+ public KValueSelector() {
+ super((Class) null);
+ newKValueSelector();
+ }
+ private native void newKValueSelector();
+ /**
+ Constructs a widget for color selection with a given orientation
+ @short Constructs a widget for color selection with a given orientation
+ */
+ public KValueSelector(int o, QWidget parent, String name) {
+ super((Class) null);
+ newKValueSelector(o,parent,name);
+ }
+ private native void newKValueSelector(int o, QWidget parent, String name);
+ public KValueSelector(int o, QWidget parent) {
+ super((Class) null);
+ newKValueSelector(o,parent);
+ }
+ private native void newKValueSelector(int o, QWidget parent);
+ public KValueSelector(int o) {
+ super((Class) null);
+ newKValueSelector(o);
+ }
+ private native void newKValueSelector(int o);
+ public native int hue();
+ public native void setHue(int h);
+ public native int saturation();
+ public native void setSaturation(int s);
+ public native void updateContents();
+ /**
+ Draws the contents of the widget on a pixmap,
+ which is used for buffering.
+ @short Draws the contents of the widget on a pixmap, which is used for buffering.
+ */
+ protected native void drawPalette(QPixmap pixmap);
+ protected native void resizeEvent(QResizeEvent arg1);
+ /**
+ Reimplemented from KSelector. The drawing is
+ buffered in a pixmap here. As real drawing
+ routine, drawPalette() is used.
+ @short Reimplemented from KSelector.
+ */
+ protected native void drawContents(QPainter painter);
+ /** 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();
+}