⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stylegenerator.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.brewer.color.StyleGenerator.ELSEMODE_INCLUDEASMIN">Constant Field Values</A></DL></DL><HR><A NAME="ELSEMODE_INCLUDEASMAX"><!-- --></A><H3>ELSEMODE_INCLUDEASMAX</H3><PRE>public static final int <B>ELSEMODE_INCLUDEASMAX</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.brewer.color.StyleGenerator.ELSEMODE_INCLUDEASMAX">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="StyleGenerator(java.awt.Color[], org.geotools.filter.function.ClassificationFunction, java.lang.String)"><!-- --></A><H3>StyleGenerator</H3><PRE>public <B>StyleGenerator</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[]&nbsp;colors,                      <A HREF="../../../../org/geotools/filter/function/ClassificationFunction.html" title="class in org.geotools.filter.function">ClassificationFunction</A>&nbsp;function,                      <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;typeId)</PRE><DL><DD>Creates an instance of the StyleGenerator with the components it needs.<P><DT><B>Parameters:</B><DD><CODE>colors</CODE> - <DD><CODE>function</CODE> - classificationFunction containing our desired breaks<DD><CODE>typeId</CODE> - "colorbrewer:"+typeId = SemanticTypeIdentifier</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getCollection()"><!-- --></A><H3>getCollection</H3><PRE>public <A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A> <B>getCollection</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setCollection(org.geotools.feature.FeatureCollection)"><!-- --></A><H3>setCollection</H3><PRE>public void <B>setCollection</B>(<A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A>&nbsp;collection)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getColors()"><!-- --></A><H3>getColors</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[] <B>getColors</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setColors(java.awt.Color[])"><!-- --></A><H3>setColors</H3><PRE>public void <B>setColors</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[]&nbsp;colors)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getExpression()"><!-- --></A><H3>getExpression</H3><PRE>public <A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getExpression</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setExpression(org.geotools.filter.Expression)"><!-- --></A><H3>setExpression</H3><PRE>public void <B>setExpression</B>(<A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>&nbsp;expression)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getNumClasses()"><!-- --></A><H3>getNumClasses</H3><PRE>public int <B>getNumClasses</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setNumClasses(int)"><!-- --></A><H3>setNumClasses</H3><PRE>public void <B>setNumClasses</B>(int&nbsp;numClasses)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getOpacity()"><!-- --></A><H3>getOpacity</H3><PRE>public double <B>getOpacity</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setOpacity(double)"><!-- --></A><H3>setOpacity</H3><PRE>public void <B>setOpacity</B>(double&nbsp;opacity)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getDefaultStroke()"><!-- --></A><H3>getDefaultStroke</H3><PRE>public <A HREF="../../../../org/geotools/styling/Stroke.html" title="interface in org.geotools.styling">Stroke</A> <B>getDefaultStroke</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setDefaultStroke(org.geotools.styling.Stroke)"><!-- --></A><H3>setDefaultStroke</H3><PRE>public void <B>setDefaultStroke</B>(<A HREF="../../../../org/geotools/styling/Stroke.html" title="interface in org.geotools.styling">Stroke</A>&nbsp;defaultStroke)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getClassifier()"><!-- --></A><H3>getClassifier</H3><PRE>public <A HREF="../../../../org/geotools/filter/function/ClassificationFunction.html" title="class in org.geotools.filter.function">ClassificationFunction</A> <B>getClassifier</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setClassifier(org.geotools.filter.function.ClassificationFunction)"><!-- --></A><H3>setClassifier</H3><PRE>public void <B>setClassifier</B>(<A HREF="../../../../org/geotools/filter/function/ClassificationFunction.html" title="class in org.geotools.filter.function">ClassificationFunction</A>&nbsp;function)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setTypeId(java.lang.String)"><!-- --></A><H3>setTypeId</H3><PRE>public void <B>setTypeId</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>&nbsp;typeId)</PRE><DL><DD>Sets the semantic type identifier, which will be prefixed with "colorbrewer:"<P><DD><DL><DT><B>Parameters:</B><DD><CODE>typeId</CODE> - </DL></DD></DL><HR><A NAME="setTitleSpacer(java.lang.String)"><!-- --></A><H3>setTitleSpacer</H3><PRE>public void <B>setTitleSpacer</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>&nbsp;titleSpacer)</PRE><DL><DD>Sets the text displayed between ranged values (by default " to ").<P><DD><DL><DT><B>Parameters:</B><DD><CODE>titleSpacer</CODE> - </DL></DD></DL><HR><A NAME="setElseMode(int)"><!-- --></A><H3>setElseMode</H3><PRE>public void <B>setElseMode</B>(int&nbsp;elseMode)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="createFeatureTypeStyle(org.geotools.feature.GeometryAttributeType)"><!-- --></A><H3>createFeatureTypeStyle</H3>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -