<li><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.Gray.html"title="class in com.mxgraph.util.png"><spanclass="strong">Next Class</span></a></li>
<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.util.png.mxPngEncodeParam</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.Gray.html"title="class in com.mxgraph.util.png">mxPngEncodeParam.Gray</a>, <ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.Palette.html"title="class in com.mxgraph.util.png">mxPngEncodeParam.Palette</a>, <ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.RGB.html"title="class in com.mxgraph.util.png">mxPngEncodeParam.RGB</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <spanclass="strong">mxPngEncodeParam</span>
extends <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></pre>
<divclass="block">An instance of <code>ImageEncodeParam</code> for encoding images in
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.Gray.html"title="class in com.mxgraph.util.png">mxPngEncodeParam.Gray</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.Palette.html"title="class in com.mxgraph.util.png">mxPngEncodeParam.Palette</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.RGB.html"title="class in com.mxgraph.util.png">mxPngEncodeParam.RGB</a></strong></code> </td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="field_summary">
<!---->
</a>
<h3>Field Summary</h3>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Field Summary table, listing fields, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.html#addPrivateChunk(java.lang.String, byte[])">addPrivateChunk</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> type,
byte[] data)</code>
<divclass="block">Adds a private chunk, in binary form, to the list of chunks to
<divclass="block">Returns the white point and primary chromaticities in
CIE (x, y) space.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[]</code></td>
<divclass="block">Returns the text strings to be stored in compressed form with
this image as an array of <code>String</code>s.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.html#getDefaultEncodeParam(java.awt.image.RenderedImage)">getDefaultEncodeParam</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RenderedImage.html?is-external=true"title="class or interface in java.awt.image">RenderedImage</a> im)</code>
<divclass="block">Returns an instance of <code>PNGEncodeParam.Palette</code>,
<divclass="block">Returns <code>true</code> if Adam7 interlacing will be used.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true"title="class or interface in java.util">Date</a></code></td>
<divclass="block">Returns the data associated of the private chunk at a given
index, as an array of <code>byte</code>s.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<divclass="block">Returns the sRGB rendering intent to be stored with this image.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[]</code></td>
<divclass="block">A convenience method that calls the array version.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.html#setCompressedText(java.lang.String[])">setCompressedText</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[] text)</code>
<divclass="block">Sets the text strings to be stored in compressed form with this
<divclass="block">Turns Adam7 interlacing on or off.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.html#setModificationTime(java.util.Date)">setModificationTime</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true"title="class or interface in java.util">Date</a> modificationTime)</code>
<divclass="block">Sets the modification time, as a <code>Date</code>, to be
<divclass="block">Sets the sRGB rendering intent to be stored with this image.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.html#setSuggestedPalette(com.mxgraph.util.png.mxPngSuggestedPaletteEntry[])">setSuggestedPalette</a></strong>(<ahref="../../../../com/mxgraph/util/png/mxPngSuggestedPaletteEntry.html"title="class in com.mxgraph.util.png">mxPngSuggestedPaletteEntry</a>[] palette)</code>
<divclass="block">Sets the suggested palette information to be stored with this
image.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.html#setText(java.lang.String[])">setText</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[] text)</code>
<divclass="block">Sets the textual data to be stored in uncompressed form with this
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<divclass="block">Constant for use with the sRGB chunk.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../constant-values.html#com.mxgraph.util.png.mxPngEncodeParam.INTENT_PERCEPTUAL">Constant Field Values</a></dd></dl>
<divclass="block">Constant for use with the sRGB chunk.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../constant-values.html#com.mxgraph.util.png.mxPngEncodeParam.INTENT_RELATIVE">Constant Field Values</a></dd></dl>
<divclass="block">Constant for use with the sRGB chunk.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../constant-values.html#com.mxgraph.util.png.mxPngEncodeParam.INTENT_SATURATION">Constant Field Values</a></dd></dl>
<divclass="block">Constant for use with the sRGB chunk.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../constant-values.html#com.mxgraph.util.png.mxPngEncodeParam.INTENT_ABSOLUTE">Constant Field Values</a></dd></dl>
<divclass="block">Constant for use in filtering.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../constant-values.html#com.mxgraph.util.png.mxPngEncodeParam.PNG_FILTER_NONE">Constant Field Values</a></dd></dl>
<divclass="block">Constant for use in filtering.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../constant-values.html#com.mxgraph.util.png.mxPngEncodeParam.PNG_FILTER_SUB">Constant Field Values</a></dd></dl>
<divclass="block">Constant for use in filtering.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../constant-values.html#com.mxgraph.util.png.mxPngEncodeParam.PNG_FILTER_UP">Constant Field Values</a></dd></dl>
<divclass="block">Constant for use in filtering.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../constant-values.html#com.mxgraph.util.png.mxPngEncodeParam.PNG_FILTER_AVERAGE">Constant Field Values</a></dd></dl>
<divclass="block">Constant for use in filtering.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../constant-values.html#com.mxgraph.util.png.mxPngEncodeParam.PNG_FILTER_PAETH">Constant Field Values</a></dd></dl>
<pre>public static <ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</a> getDefaultEncodeParam(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RenderedImage.html?is-external=true"title="class or interface in java.awt.image">RenderedImage</a> im)</pre>
<divclass="block">Returns an instance of <code>PNGEncodeParam.Palette</code>,
unset, an <code>IllegalStateException</code> will be thrown.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the bit depth is not set.</dd></dl>
</li>
</ul>
<aname="unsetBitDepth()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>unsetBitDepth</h4>
<pre>public void unsetBitDepth()</pre>
<divclass="block">Suppresses the setting of the bit depth of a grayscale image.
unset, an <code>IllegalStateException</code> will be thrown.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the chromaticity is not set.</dd></dl>
unset, an <code>IllegalStateException</code> will be thrown.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the gamma is not set.</dd></dl>
</li>
</ul>
<aname="unsetGamma()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>unsetGamma</h4>
<pre>public void unsetGamma()</pre>
<divclass="block">Suppresses the 'gAMA' chunk from being output.</div>
</li>
</ul>
<aname="isGammaSet()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isGammaSet</h4>
<pre>public boolean isGammaSet()</pre>
<divclass="block">Returns true if a 'gAMA' chunk will be output.</div>
unset, an <code>IllegalStateException</code> will be thrown.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the histogram is not set.</dd></dl>
unset, an <code>IllegalStateException</code> will be thrown.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the ICC profile is not set.</dd></dl>
<code>IllegalStateException</code> will be thrown.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the physical dimension information
<pre>public void setSuggestedPalette(<ahref="../../../../com/mxgraph/util/png/mxPngSuggestedPaletteEntry.html"title="class in com.mxgraph.util.png">mxPngSuggestedPaletteEntry</a>[] palette)</pre>
<divclass="block">Sets the suggested palette information to be stored with this
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the significant bits values are
unset, an <code>IllegalStateException</code> will be thrown.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the sRGB intent is not set.</dd></dl>
<divclass="block">Returns true if an 'sRGB' chunk will be output.</div>
</li>
</ul>
<aname="setText(java.lang.String[])">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setText</h4>
<pre>public void setText(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[] text)</pre>
<divclass="block">Sets the textual data to be stored in uncompressed form with this
<p> The 'tEXt' chunk will encode this information.</div>
</li>
</ul>
<aname="getText()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getText</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[] getText()</pre>
<divclass="block">Returns the text strings to be stored in uncompressed form with this
unset, an <code>IllegalStateException</code> will be thrown.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the text strings are not set.</dd></dl>
</li>
</ul>
<aname="unsetText()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>unsetText</h4>
<pre>public void unsetText()</pre>
<divclass="block">Suppresses the 'tEXt' chunk from being output.</div>
</li>
</ul>
<aname="isTextSet()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isTextSet</h4>
<pre>public boolean isTextSet()</pre>
<divclass="block">Returns true if a 'tEXt' chunk will be output.</div>
</li>
</ul>
<aname="setModificationTime(java.util.Date)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setModificationTime</h4>
<pre>public void setModificationTime(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true"title="class or interface in java.util">Date</a> modificationTime)</pre>
<divclass="block">Sets the modification time, as a <code>Date</code>, to be
<p> The 'tIME' chunk will encode this information.</div>
</li>
</ul>
<aname="getModificationTime()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getModificationTime</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true"title="class or interface in java.util">Date</a> getModificationTime()</pre>
<divclass="block">Returns the modification time to be stored with this image.
unset, an <code>IllegalStateException</code> will be thrown.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the bit depth is not set.</dd></dl>
<divclass="block">Returns true if a 'tRNS' chunk will be output.</div>
</li>
</ul>
<aname="setCompressedText(java.lang.String[])">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setCompressedText</h4>
<pre>public void setCompressedText(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[] text)</pre>
<divclass="block">Sets the text strings to be stored in compressed form with this
<p> The 'zTXt' chunk will encode this information.</div>
</li>
</ul>
<aname="getCompressedText()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCompressedText</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[] getCompressedText()</pre>
<divclass="block">Returns the text strings to be stored in compressed form with
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true"title="class or interface in java.lang">IllegalStateException</a></code> - if the compressed text strings are
<pre>public void addPrivateChunk(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> type,
byte[] data)</pre>
<divclass="block">Adds a private chunk, in binary form, to the list of chunks to
be stored with this image.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>type</code> - a 4-character String giving the chunk type name.</dd><dd><code>data</code> - an array of <code>byte</code>s containing the
<divclass="block">Returns the number of private chunks to be written to the
output file.</div>
</li>
</ul>
<aname="getPrivateChunkType(int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getPrivateChunkType</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getPrivateChunkType(int index)</pre>
<divclass="block">Returns the type of the private chunk at a given index, as a
<li><ahref="../../../../com/mxgraph/util/png/mxPngEncodeParam.Gray.html"title="class in com.mxgraph.util.png"><spanclass="strong">Next Class</span></a></li>