blob: bfcdd732ac1c99b05578631d762b216b4ff84dce (
plain)
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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
/**
The <code>RGBColor</code> interface is used to represent any <a
href="http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-color">
RGB color </a> value. This interface reflects the values in the
underlying style property. Hence, modifications made through this
interface modify the style property.
@short The <code>RGBColor</code> interface is used to represent any <a href="http://www.
*/
public class RGBColor implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected RGBColor(Class dummy){}
public RGBColor() {
newRGBColor();
}
private native void newRGBColor();
public RGBColor(int color) {
newRGBColor(color);
}
private native void newRGBColor(int color);
public RGBColor(RGBColor other) {
newRGBColor(other);
}
private native void newRGBColor(RGBColor other);
/**
This attribute is used for the red value of the RGB color.
@short This attribute is used for the red value of the RGB color.
*/
public native CSSPrimitiveValue red();
/**
This attribute is used for the green value of the RGB color.
@short This attribute is used for the green value of the RGB color.
*/
public native CSSPrimitiveValue green();
/**
This attribute is used for the blue value of the RGB color.
@short This attribute is used for the blue value of the RGB color.
*/
public native CSSPrimitiveValue blue();
/**
@short
*/
public native int color();
}
|