//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.TQPixmap; import org.kde.qt.TQPainter; import org.kde.qt.TQWidget; import org.kde.qt.TQResizeEvent; /** 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 TQMetaObject metaObject(); public native String className(); /** Constructs a widget for color selection. @short Constructs a widget for color selection. */ public KValueSelector(TQWidget parent, String name) { super((Class) null); newKValueSelector(parent,name); } private native void newKValueSelector(TQWidget parent, String name); public KValueSelector(TQWidget parent) { super((Class) null); newKValueSelector(parent); } private native void newKValueSelector(TQWidget 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, TQWidget parent, String name) { super((Class) null); newKValueSelector(o,parent,name); } private native void newKValueSelector(int o, TQWidget parent, String name); public KValueSelector(int o, TQWidget parent) { super((Class) null); newKValueSelector(o,parent); } private native void newKValueSelector(int o, TQWidget 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(TQPixmap pixmap); protected native void resizeEvent(TQResizeEvent 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(TQPainter 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(); }