diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/RGBColor.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/RGBColor.java | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/RGBColor.java b/tdejava/koala/org/trinitydesktop/koala/RGBColor.java new file mode 100644 index 00000000..fa0adf81 --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/RGBColor.java @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.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(); +} |