<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:57:44 CEST 2007 --> <TITLE> Qt.GlobalColor </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.core.Qt.GlobalColor class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Qt.GlobalColor"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/core/Qt.FocusReason.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/Qt.HitTestAccuracy.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/Qt.GlobalColor.html" target="_top"><B>FRAMES</B></A> <A HREF="Qt.GlobalColor.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.trolltech.qt.core</FONT> <BR> Enum Qt.GlobalColor</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Enum<<A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A>> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.core.Qt.GlobalColor</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A>, java.io.Serializable, java.lang.Comparable<<A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A>></DD> </DL> <DL> <DT><B>Enclosing interface:</B><DD><A HREF="../../../../com/trolltech/qt/core/Qt.html" title="interface in com.trolltech.qt.core">Qt</A></DD> </DL> <HR> <DL> <DT><PRE>public static enum <B>Qt.GlobalColor</B><DT>extends java.lang.Enum<<A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A>><DT>implements <A HREF="../../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A></DL> </PRE> <P> <style type="text/css" id="colorstyles"> #white { background-color. #ffffff; color: #000000 } #black { background-color: #000000; color: #ffffff } #red { background-color: #ff0000; color: #000000 } #darkRed { background-color: #800000; color: #ffffff } #green { background-color: #00ff00; color: #000000 } #darkGreen { background-color: #008000; color: #ffffff } #blue { background-color: #0000ff; color: #ffffff } #darkBlue { background-color: #000080; color: #ffffff } #cyan { background-color: #00ffff; color: #000000 } #darkCyan { background-color: #008080; color: #ffffff } #magenta { background-color: #ff00ff; color: #000000 } #darkMagenta { background-color: #800080; color: #ffffff } #yellow { background-color: #ffff00; color: #000000 } #darkYellow { background-color: #808000; color: #ffffff } #gray { background-color: #a0a0a4; color: #000000 } #darkGray { background-color: #808080; color: #ffffff } #lightGray { background-color: #c0c0c0; color: #000000 } </style> <p>Qt's predefined <a href="%2E%2E/gui/QColor.html"><tt>QColor</tt></a> objects:</p> <p><table border="1" cellpadding="2" cellspacing="1" width="100%"> <tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr> <tr><td valign="top"><tt>white</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top"> White <tt id="white">(#ffffff)</tt> </td></tr> <tr><td valign="top"><tt>black</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top"> Black <tt id="black">(#000000)</tt> </td></tr> <tr><td valign="top"><tt>red</tt></td><td align="center" valign="top"><tt>7</tt></td><td valign="top"> Red <tt id="red">(#ff0000)</tt> </td></tr> <tr><td valign="top"><tt>darkRed</tt></td><td align="center" valign="top"><tt>13</tt></td><td valign="top"> Dark red <tt id="darkRed">(#800000)</tt> </td></tr> <tr><td valign="top"><tt>green</tt></td><td align="center" valign="top"><tt>8</tt></td><td valign="top"> Green <tt id="green">(#00ff00)</tt> </td></tr> <tr><td valign="top"><tt>darkGreen</tt></td><td align="center" valign="top"><tt>14</tt></td><td valign="top"> Dark green <tt id="darkGreen">(#008000)</tt> </td></tr> <tr><td valign="top"><tt>blue</tt></td><td align="center" valign="top"><tt>9</tt></td><td valign="top"> Blue <tt id="blue">(#0000ff)</tt> </td></tr> <tr><td valign="top"><tt>darkBlue</tt></td><td align="center" valign="top"><tt>15</tt></td><td valign="top"> Dark blue <tt id="darkBlue">(#000080)</tt> </td></tr> <tr><td valign="top"><tt>cyan</tt></td><td align="center" valign="top"><tt>10</tt></td><td valign="top"> Cyan <tt id="cyan">(#00ffff)</tt> </td></tr> <tr><td valign="top"><tt>darkCyan</tt></td><td align="center" valign="top"><tt>16</tt></td><td valign="top"> Dark cyan <tt id="darkCyan">(#008080)</tt> </td></tr> <tr><td valign="top"><tt>magenta</tt></td><td align="center" valign="top"><tt>11</tt></td><td valign="top"> Magenta <tt id="magenta">(#ff00ff)</tt> </td></tr> <tr><td valign="top"><tt>darkMagenta</tt></td><td align="center" valign="top"><tt>17</tt></td><td valign="top"> Dark magenta <tt id="darkMagenta">(#800080)</tt> </td></tr> <tr><td valign="top"><tt>yellow</tt></td><td align="center" valign="top"><tt>12</tt></td><td valign="top"> Yellow <tt id="yellow">(#ffff00)</tt> </td></tr> <tr><td valign="top"><tt>darkYellow</tt></td><td align="center" valign="top"><tt>18</tt></td><td valign="top"> Dark yellow <tt id="darkYellow">(#808000)</tt> </td></tr> <tr><td valign="top"><tt>gray</tt></td><td align="center" valign="top"><tt>5</tt></td><td valign="top"> Gray <tt id="gray">(#a0a0a4)</tt> </td></tr> <tr><td valign="top"><tt>darkGray</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top"> Dark gray <tt id="darkGray">(#808080)</tt> </td></tr> <tr><td valign="top"><tt>lightGray</tt></td><td align="center" valign="top"><tt>6</tt></td><td valign="top"> Light gray <tt id="lightGray">(#c0c0c0)</tt> </td></tr> <tr><td valign="top"><tt>transparent</tt></td><td align="center" valign="top"><tt>19</tt></td><td valign="top">a transparent black value (i.e., <a href="%2E%2E/gui/QColor.html"><tt>QColor</tt></a>(0, 0, 0, 0))</td></tr> <tr><td valign="top"><tt>color0</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">0 pixel value (for bitmaps)</td></tr> <tr><td valign="top"><tt>color1</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">1 pixel value (for bitmaps)</td></tr> </table></p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="%2E%2E/gui/QColor.html"><tt>QColor</tt></a></DL> <HR> <P> <!-- =========== ENUM CONSTANT SUMMARY =========== --> <A NAME="enum_constant_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Enum Constant Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#black">black</A></B></CODE> <BR> Black <tt id="black">(#000000)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#blue">blue</A></B></CODE> <BR> Blue <tt id="blue">(#0000ff)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#color0">color0</A></B></CODE> <BR> 0 pixel value (for bitmaps)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#color1">color1</A></B></CODE> <BR> 1 pixel value (for bitmaps)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#cyan">cyan</A></B></CODE> <BR> Cyan <tt id="cyan">(#00ffff)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#darkBlue">darkBlue</A></B></CODE> <BR> Dark blue <tt id="darkBlue">(#000080)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#darkCyan">darkCyan</A></B></CODE> <BR> Dark cyan <tt id="darkCyan">(#008080)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#darkGray">darkGray</A></B></CODE> <BR> Dark gray <tt id="darkGray">(#808080)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#darkGreen">darkGreen</A></B></CODE> <BR> Dark green <tt id="darkGreen">(#008000)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#darkMagenta">darkMagenta</A></B></CODE> <BR> Dark magenta <tt id="darkMagenta">(#800080)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#darkRed">darkRed</A></B></CODE> <BR> Dark red <tt id="darkRed">(#800000)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#darkYellow">darkYellow</A></B></CODE> <BR> Dark yellow <tt id="darkYellow">(#808000)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#gray">gray</A></B></CODE> <BR> Gray <tt id="gray">(#a0a0a4)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#green">green</A></B></CODE> <BR> Green <tt id="green">(#00ff00)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#lightGray">lightGray</A></B></CODE> <BR> Light gray <tt id="lightGray">(#c0c0c0)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#magenta">magenta</A></B></CODE> <BR> Magenta <tt id="magenta">(#ff00ff)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#red">red</A></B></CODE> <BR> Red <tt id="red">(#ff0000)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#transparent">transparent</A></B></CODE> <BR> a transparent black value (i.e., <a href="%2E%2E/gui/QColor.html"><tt>QColor</tt></a>(0, 0, 0, 0))</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#white">white</A></B></CODE> <BR> White <tt id="white">(#ffffff)</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#yellow">yellow</A></B></CODE> <BR> Yellow <tt id="yellow">(#ffff00)</tt></TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#resolve(int)">resolve</A></B>(int value)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#value()">value</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String name)</CODE> <BR> Returns the enum constant of this type with the specified name.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html#values()">values</A></B>()</CODE> <BR> Returns an array containing the constants of this enum type, in the order they're declared.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Enum</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ============ ENUM CONSTANT DETAIL =========== --> <A NAME="enum_constant_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Enum Constant Detail</B></FONT></TH> </TR> </TABLE> <A NAME="color0"><!-- --></A><H3> color0</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>color0</B></PRE> <DL> <DD><p>0 pixel value (for bitmaps)</p> <P> <DL> </DL> </DL> <HR> <A NAME="color1"><!-- --></A><H3> color1</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>color1</B></PRE> <DL> <DD><p>1 pixel value (for bitmaps)</p> <P> <DL> </DL> </DL> <HR> <A NAME="black"><!-- --></A><H3> black</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>black</B></PRE> <DL> <DD>Black <tt id="black">(#000000)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="white"><!-- --></A><H3> white</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>white</B></PRE> <DL> <DD>White <tt id="white">(#ffffff)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="darkGray"><!-- --></A><H3> darkGray</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>darkGray</B></PRE> <DL> <DD>Dark gray <tt id="darkGray">(#808080)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="gray"><!-- --></A><H3> gray</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>gray</B></PRE> <DL> <DD>Gray <tt id="gray">(#a0a0a4)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="lightGray"><!-- --></A><H3> lightGray</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>lightGray</B></PRE> <DL> <DD>Light gray <tt id="lightGray">(#c0c0c0)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="red"><!-- --></A><H3> red</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>red</B></PRE> <DL> <DD>Red <tt id="red">(#ff0000)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="green"><!-- --></A><H3> green</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>green</B></PRE> <DL> <DD>Green <tt id="green">(#00ff00)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="blue"><!-- --></A><H3> blue</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>blue</B></PRE> <DL> <DD>Blue <tt id="blue">(#0000ff)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="cyan"><!-- --></A><H3> cyan</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>cyan</B></PRE> <DL> <DD>Cyan <tt id="cyan">(#00ffff)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="magenta"><!-- --></A><H3> magenta</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>magenta</B></PRE> <DL> <DD>Magenta <tt id="magenta">(#ff00ff)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="yellow"><!-- --></A><H3> yellow</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>yellow</B></PRE> <DL> <DD>Yellow <tt id="yellow">(#ffff00)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="darkRed"><!-- --></A><H3> darkRed</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>darkRed</B></PRE> <DL> <DD>Dark red <tt id="darkRed">(#800000)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="darkGreen"><!-- --></A><H3> darkGreen</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>darkGreen</B></PRE> <DL> <DD>Dark green <tt id="darkGreen">(#008000)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="darkBlue"><!-- --></A><H3> darkBlue</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>darkBlue</B></PRE> <DL> <DD>Dark blue <tt id="darkBlue">(#000080)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="darkCyan"><!-- --></A><H3> darkCyan</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>darkCyan</B></PRE> <DL> <DD>Dark cyan <tt id="darkCyan">(#008080)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="darkMagenta"><!-- --></A><H3> darkMagenta</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>darkMagenta</B></PRE> <DL> <DD>Dark magenta <tt id="darkMagenta">(#800080)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="darkYellow"><!-- --></A><H3> darkYellow</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>darkYellow</B></PRE> <DL> <DD>Dark yellow <tt id="darkYellow">(#808000)</tt> <P> <DL> </DL> </DL> <HR> <A NAME="transparent"><!-- --></A><H3> transparent</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>transparent</B></PRE> <DL> <DD><p>a transparent black value (i.e., <a href="%2E%2E/gui/QColor.html"><tt>QColor</tt></a>(0, 0, 0, 0))</p> <P> <DL> </DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="values()"><!-- --></A><H3> values</H3> <PRE> public static final <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A>[] <B>values</B>()</PRE> <DL> <DD>Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows: <pre> for(Qt.GlobalColor c : Qt.GlobalColor.values()) System.out.println(c); </pre> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an array containing the constants of this enum type, in the order they're declared</DL> </DD> </DL> <HR> <A NAME="valueOf(java.lang.String)"><!-- --></A><H3> valueOf</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>valueOf</B>(java.lang.String name)</PRE> <DL> <DD>Returns the enum constant of this type with the specified name. The string must match <I>exactly</I> an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned. <DT><B>Returns:</B><DD>the enum constant with the specified name <DT><B>Throws:</B> <DD><CODE>java.lang.IllegalArgumentException</CODE> - if this enum type has no constant with the specified name</DL> </DD> </DL> <HR> <A NAME="value()"><!-- --></A><H3> value</H3> <PRE> public int <B>value</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/QtEnumerator.html#value()">value</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="resolve(int)"><!-- --></A><H3> resolve</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A> <B>resolve</B>(int value)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/core/Qt.FocusReason.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/Qt.HitTestAccuracy.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/Qt.GlobalColor.html" target="_top"><B>FRAMES</B></A> <A HREF="Qt.GlobalColor.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>