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
|
//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();
}
|