diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KHSSelector.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KHSSelector.java | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KHSSelector.java b/kdejava/koala/org/kde/koala/KHSSelector.java new file mode 100644 index 00000000..0c8c8469 --- /dev/null +++ b/kdejava/koala/org/kde/koala/KHSSelector.java @@ -0,0 +1,69 @@ +//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 Hue/Saturation colour selection. + The actual values can be fetched using the inherited xValue and yValue + methods. + \image html khsselector.png "KDE Hue/Saturation Selection Widget" + @author Martin Jones (mjones@kde.org) + + @short Widget for Hue/Saturation colour selection. + @see KXYSelector + @see KValueSelector + @see KColorDialog + +*/ +public class KHSSelector extends KXYSelector { + protected KHSSelector(Class dummy){super((Class) null);} + public native QMetaObject metaObject(); + public native String className(); + /** + Constructs a hue/saturation selection widget. + @short Constructs a hue/saturation selection widget. + */ + public KHSSelector(QWidget parent, String name) { + super((Class) null); + newKHSSelector(parent,name); + } + private native void newKHSSelector(QWidget parent, String name); + public KHSSelector(QWidget parent) { + super((Class) null); + newKHSSelector(parent); + } + private native void newKHSSelector(QWidget parent); + public KHSSelector() { + super((Class) null); + newKHSSelector(); + } + private native void newKHSSelector(); + /** + 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 KXYSelector. This drawing is + buffered in a pixmap here. As real drawing + routine, drawPalette() is used. + @short Reimplemented from KXYSelector. + */ + 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(); +} |