org.kde.qt
Class QColor

java.lang.Object
  extended by org.kde.qt.QColor
All Implemented Interfaces:
QtSupport

public class QColor
extends java.lang.Object
implements QtSupport


Field Summary
static int Dirt
           
static int Hsv
           
static int Invalid
           
static int Rgb
           
 
Constructor Summary
  QColor()
           
protected QColor(java.lang.Class dummy)
           
  QColor(int rgb)
           
  QColor(int rgb, int pixel)
           
  QColor(int r, int g, int b)
           
  QColor(int x, int y, int z, int arg4)
           
  QColor(QColor arg1)
           
  QColor(java.lang.String name)
           
 
Method Summary
 int alloc()
           
 int blue()
           
static void cleanup()
           
static java.util.ArrayList colorNames()
           
static int currentAllocContext()
           
 QColor dark()
           
 QColor dark(int f)
           
static void destroyAllocContext(int arg1)
           
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
static int enterAllocContext()
           
protected  void finalize()
          Deletes the wrapped C++ instance
 void getHsv(int[] h, int[] s, int[] v)
           
 void getRgb(int[] r, int[] g, int[] b)
           
 int green()
           
 void hsv(int[] h, int[] s, int[] v)
           
static void initialize()
           
 boolean isDirty()
           
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 boolean isValid()
           
static void leaveAllocContext()
           
 QColor light()
           
 QColor light(int f)
           
static int maxColors()
           
 java.lang.String name()
           
static int numBitPlanes()
           
 boolean op_equals(QColor c)
           
 boolean op_not_equals(QColor c)
           
 int pixel()
           
 int red()
           
 int rgb()
           
 void rgb(int[] r, int[] g, int[] b)
           
 void setHsv(int h, int s, int v)
           
 void setNamedColor(java.lang.String name)
           
 void setRgb(int rgb)
           
 void setRgb(int r, int g, int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Dirt

public static final int Dirt
See Also:
Constant Field Values

Invalid

public static final int Invalid
See Also:
Constant Field Values

Rgb

public static final int Rgb
See Also:
Constant Field Values

Hsv

public static final int Hsv
See Also:
Constant Field Values
Constructor Detail

QColor

protected QColor(java.lang.Class dummy)

QColor

public QColor()

QColor

public QColor(int r,
              int g,
              int b)

QColor

public QColor(int x,
              int y,
              int z,
              int arg4)

QColor

public QColor(int rgb,
              int pixel)

QColor

public QColor(int rgb)

QColor

public QColor(java.lang.String name)

QColor

public QColor(QColor arg1)
Method Detail

isValid

public boolean isValid()

isDirty

public boolean isDirty()

name

public java.lang.String name()

setNamedColor

public void setNamedColor(java.lang.String name)

rgb

public int rgb()

setRgb

public void setRgb(int r,
                   int g,
                   int b)

setRgb

public void setRgb(int rgb)

getRgb

public void getRgb(int[] r,
                   int[] g,
                   int[] b)

rgb

public void rgb(int[] r,
                int[] g,
                int[] b)

red

public int red()

green

public int green()

blue

public int blue()

setHsv

public void setHsv(int h,
                   int s,
                   int v)

getHsv

public void getHsv(int[] h,
                   int[] s,
                   int[] v)

hsv

public void hsv(int[] h,
                int[] s,
                int[] v)

light

public QColor light(int f)

light

public QColor light()

dark

public QColor dark(int f)

dark

public QColor dark()

op_equals

public boolean op_equals(QColor c)

op_not_equals

public boolean op_not_equals(QColor c)

alloc

public int alloc()

pixel

public int pixel()

maxColors

public static int maxColors()

numBitPlanes

public static int numBitPlanes()

enterAllocContext

public static int enterAllocContext()

leaveAllocContext

public static void leaveAllocContext()

currentAllocContext

public static int currentAllocContext()

destroyAllocContext

public static void destroyAllocContext(int arg1)

initialize

public static void initialize()

cleanup

public static void cleanup()

colorNames

public static java.util.ArrayList colorNames()

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?