|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QColormap.Mode
public static final class QColormap.Mode
This enum describes how QColormap
maps device independent RGB values to device dependent pixel values.
Field Summary | |
---|---|
static QColormap.Mode |
Direct
Pixel values are derived directly from the RGB values, also known as "True Color." |
static QColormap.Mode |
Gray
Similar to Indexed, pixel values represent a vector of available gray tones. |
static QColormap.Mode |
Indexed
Pixel values represent indexes into a vector of available colors, i. |
Method Summary | |
---|---|
static QColormap.Mode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QColormap.Mode |
valueOf(java.lang.String name)
|
static QColormap.Mode[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QColormap.Mode Direct
public static final QColormap.Mode Indexed
QColormap
uses the index of the color that most closely matches an RGB value.
public static final QColormap.Mode Gray
QColormap
uses the index of the gray tone that most closely matches the computed gray tone of an RGB value.
Method Detail |
---|
public static QColormap.Mode[] values()
public static QColormap.Mode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QColormap.Mode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |