1 /* Copyright (C) 2000 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
11 import gnu
.gcj
.RawData
;
14 * A color or color-cell on the X server.
16 * @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
18 public final class XColor
20 public XColor(int r
, int g
, int b
)
31 private native void init();
32 protected native void finalize();
34 public final native void setRGB(int r
, int g
, int b
);
35 public final native int getRed();
36 public final native int getGreen();
37 public final native int getBlue();
38 public final native byte getFlags();
39 public final native long getPixelValue();
41 RawData structure
= null;