📄 colorbrewer.html
字号:
</DL><HR><A NAME="hasPalette(java.lang.String)"><!-- --></A><H3>hasPalette</H3><PRE>public boolean <B>hasPalette</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> paletteName)</PRE><DL><DD>Returns true if the palette exists in this ColorBrewer<P><DD><DL><DT><B>Parameters:</B><DD><CODE>paletteName</CODE> - A String with the name of the palette<DT><B>Returns:</B><DD>A boolean, true if the ColorBrewer has a palette of the name given.</DL></DD></DL><HR><A NAME="getPalettes()"><!-- --></A><H3>getPalettes</H3><PRE>public <A HREF="../../../../org/geotools/brewer/color/BrewerPalette.html" title="class in org.geotools.brewer.color">BrewerPalette</A>[] <B>getPalettes</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getPalettes(org.geotools.brewer.color.PaletteType)"><!-- --></A><H3>getPalettes</H3><PRE>public <A HREF="../../../../org/geotools/brewer/color/BrewerPalette.html" title="class in org.geotools.brewer.color">BrewerPalette</A>[] <B>getPalettes</B>(<A HREF="../../../../org/geotools/brewer/color/PaletteType.html" title="class in org.geotools.brewer.color">PaletteType</A> type)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getPalettes(org.geotools.brewer.color.PaletteType, int)"><!-- --></A><H3>getPalettes</H3><PRE>public <A HREF="../../../../org/geotools/brewer/color/BrewerPalette.html" title="class in org.geotools.brewer.color">BrewerPalette</A>[] <B>getPalettes</B>(<A HREF="../../../../org/geotools/brewer/color/PaletteType.html" title="class in org.geotools.brewer.color">PaletteType</A> type, int numClasses)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getPalettes(org.geotools.brewer.color.PaletteType, int, int)"><!-- --></A><H3>getPalettes</H3><PRE>public <A HREF="../../../../org/geotools/brewer/color/BrewerPalette.html" title="class in org.geotools.brewer.color">BrewerPalette</A>[] <B>getPalettes</B>(<A HREF="../../../../org/geotools/brewer/color/PaletteType.html" title="class in org.geotools.brewer.color">PaletteType</A> type, int numClasses, int requiredViewers)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getPaletteNames()"><!-- --></A><H3>getPaletteNames</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>getPaletteNames</B>()</PRE><DL><DD>Generates a String array with the names of the palettes in the ColorBrewer instance.<P><DD><DL><DT><B>Returns:</B><DD>A String array with the names of the palettes in the ColorBrewer instance.</DL></DD></DL><HR><A NAME="getPaletteNames(int, int)"><!-- --></A><H3>getPaletteNames</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>getPaletteNames</B>(int minClasses, int maxClasses)</PRE><DL><DD>Generates an array of palette names for palettes which have at least x classes and at most y classes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>minClasses</CODE> - x<DD><CODE>maxClasses</CODE> - y<DT><B>Returns:</B><DD>A string array of palette names filtered by number of classes.</DL></DD></DL><HR><A NAME="getPalette(java.lang.String)"><!-- --></A><H3>getPalette</H3><PRE>public <A HREF="../../../../org/geotools/brewer/color/BrewerPalette.html" title="class in org.geotools.brewer.color">BrewerPalette</A> <B>getPalette</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="loadPalettes()"><!-- --></A><H3>loadPalettes</H3><PRE>public void <B>loadPalettes</B>()</PRE><DL><DD>Loads the default ColorBrewer palettes.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="loadPalettes(org.geotools.brewer.color.PaletteType)"><!-- --></A><H3>loadPalettes</H3><PRE>public void <B>loadPalettes</B>(<A HREF="../../../../org/geotools/brewer/color/PaletteType.html" title="class in org.geotools.brewer.color">PaletteType</A> type)</PRE><DL><DD>Loads into the ColorBrewer instance the set of palettes which have the PaletteType matching that of the parameter.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The PaletteType for the palettes to load.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="loadPalettes(java.io.InputStream, org.geotools.brewer.color.PaletteType)"><!-- --></A><H3>loadPalettes</H3><PRE>public void <B>loadPalettes</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> XMLinput, <A HREF="../../../../org/geotools/brewer/color/PaletteType.html" title="class in org.geotools.brewer.color">PaletteType</A> type)</PRE><DL><DD>Loads into the ColorBrewer instance the set of palettes matching the given parameters.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>XMLinput</CODE> - <DD><CODE>type</CODE> - identifier for palettes. use "new PaletteType();"</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDescription</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="reset()"><!-- --></A><H3>reset</H3><PRE>public void <B>reset</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isSet(int, int)"><!-- --></A><H3>isSet</H3><PRE>public boolean <B>isSet</B>(int singleValue, int multipleValue)</PRE><DL><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=3 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="class-use/ColorBrewer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../../org/geotools/brewer/color/BrewerPalette.html" title="class in org.geotools.brewer.color"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/brewer/color/ColorPalette.html" title="class in org.geotools.brewer.color"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="ColorBrewer.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="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -