Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1946

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QColormap" doc="/**
&lt;p&gt;The &lt;a href=&quot;QColormap.html#QColormap(com.trolltech.qt.gui.QColormap)&quot;&gt;&lt;tt&gt;QColormap&lt;/tt&gt;&lt;/a&gt; class maps device independent QColors to device dependent pixel values.&lt;/p&gt;
 */">
    <method name="public QColormap(com.trolltech.qt.gui.QColormap colormap)" doc="/**
&lt;p&gt;Constructs a copy of another &lt;tt&gt;colormap&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QColor colorAt(int pixel)" doc="/**
&lt;p&gt;Returns a &lt;a href=&quot;QColor.html&quot;&gt;&lt;tt&gt;QColor&lt;/tt&gt;&lt;/a&gt; for the &lt;tt&gt;pixel&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QColormap.html#pixel(com.trolltech.qt.gui.QColor)&quot;&gt;&lt;tt&gt;pixel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QColor&gt; colormap()" doc="/**
&lt;p&gt;Returns a vector of colors which represents the devices colormap for &lt;tt&gt;Indexed&lt;/tt&gt; and &lt;tt&gt;Gray&lt;/tt&gt; modes. This function returns an empty vector for &lt;tt&gt;Direct&lt;/tt&gt; mode.&lt;/p&gt;

@see &lt;a href=&quot;QColormap.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int depth()" doc="/**
&lt;p&gt;Returns the depth of the device.&lt;/p&gt;

@see &lt;a href=&quot;QColormap.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QColormap.Mode mode()" doc="/**
&lt;p&gt;Returns the mode of this colormap.&lt;/p&gt;

@see &lt;tt&gt;QColormap::Mode&lt;/tt&gt; */"/>
    <method name="public final int pixel(com.trolltech.qt.gui.QColor color)" doc="/**
&lt;p&gt;Returns a device dependent pixel value for the &lt;tt&gt;color&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QColormap.html#colorAt(int)&quot;&gt;&lt;tt&gt;colorAt&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int size()" doc="/**
&lt;p&gt;Returns the size of the colormap for &lt;tt&gt;Indexed&lt;/tt&gt; and &lt;tt&gt;Gray&lt;/tt&gt; modes; Returns -1 for &lt;tt&gt;Direct&lt;/tt&gt; mode.&lt;/p&gt;

@see &lt;a href=&quot;QColormap.html#colormap()&quot;&gt;&lt;tt&gt;colormap&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public native static void cleanup()" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public native static void initialize()" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public native static com.trolltech.qt.gui.QColormap instance(int screen)" doc="/**
&lt;p&gt;Returns the colormap for the specified &lt;tt&gt;screen&lt;/tt&gt;. If &lt;tt&gt;screen&lt;/tt&gt; is -1, this function returns the colormap for the default screen.&lt;/p&gt;
 */"/>
    <method name="public static com.trolltech.qt.gui.QColormap instance()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QColormap.html#instance(int)&quot;&gt;instance&lt;/tt&gt;&lt;/a&gt;(-1). */"/>
    <enum name="Mode" doc="/**
&lt;p&gt;This enum describes how &lt;a href=&quot;QColormap.html#QColormap(com.trolltech.qt.gui.QColormap)&quot;&gt;&lt;tt&gt;QColormap&lt;/tt&gt;&lt;/a&gt; maps device independent RGB values to device dependent pixel values.&lt;/p&gt;
 */">
        <enum-value name="Direct" doc="/**
&lt;p&gt;Pixel values are derived directly from the RGB values, also known as &amp;quot;True Color.&amp;quot;&lt;/p&gt;
 */"/>
        <enum-value name="Indexed" doc="/**
&lt;p&gt;Pixel values represent indexes into a vector of available colors, i.e&amp;#x2e; &lt;a href=&quot;QColormap.html#QColormap(com.trolltech.qt.gui.QColormap)&quot;&gt;&lt;tt&gt;QColormap&lt;/tt&gt;&lt;/a&gt; uses the index of the color that most closely matches an RGB value.&lt;/p&gt;
 */"/>
        <enum-value name="Gray" doc="/**
&lt;p&gt;Similar to &lt;tt&gt;Indexed&lt;/tt&gt;, pixel values represent a vector of available gray tones. &lt;a href=&quot;QColormap.html#QColormap(com.trolltech.qt.gui.QColormap)&quot;&gt;&lt;tt&gt;QColormap&lt;/tt&gt;&lt;/a&gt; uses the index of the gray tone that most closely matches the computed gray tone of an RGB value.&lt;/p&gt;
 */"/>
</enum>
</class>