📄 style.html
字号:
</TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Classes in <A HREF="../../../../org/geotools/styling/package-summary.html">org.geotools.styling</A> that implement <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/styling/BasicLineStyle.html" title="class in org.geotools.styling">BasicLineStyle</A></B></CODE><BR> A style object is quite hard to set up, involving fills, strokes, symbolizers and rules.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/styling/BasicPolygonStyle.html" title="class in org.geotools.styling">BasicPolygonStyle</A></B></CODE><BR> A style object is quite hard to set up, involving fills, strokes, symbolizers and rules.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/styling/NamedStyleImpl.html" title="class in org.geotools.styling">NamedStyleImpl</A></B></CODE><BR> A NamedStyle is used to refer to a style that has a name in a WMS. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/styling/StyleImpl.html" title="class in org.geotools.styling">StyleImpl</A></B></CODE><BR> DOCUMENT ME!</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../org/geotools/styling/package-summary.html">org.geotools.styling</A> that return <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>AbstractStyleFactory.</B><B><A HREF="../../../../org/geotools/styling/AbstractStyleFactory.html#createStyle()">createStyle</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>AbstractStyleFactory.</B><B><A HREF="../../../../org/geotools/styling/AbstractStyleFactory.html#getDefaultStyle()">getDefaultStyle</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>StyleFactoryImpl.</B><B><A HREF="../../../../org/geotools/styling/StyleFactoryImpl.html#createStyle()">createStyle</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>StyleFactoryImpl.</B><B><A HREF="../../../../org/geotools/styling/StyleFactoryImpl.html#getDefaultStyle()">getDefaultStyle</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>StyledLayerDescriptorImpl.</B><B><A HREF="../../../../org/geotools/styling/StyledLayerDescriptorImpl.html#getDefaultStyle()">getDefaultStyle</A></B>()</CODE><BR> Convenience method for grabbing the default style from the StyledLayerDescriptor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>[]</CODE></FONT></TD><TD><CODE><B>NamedLayerImpl.</B><B><A HREF="../../../../org/geotools/styling/NamedLayerImpl.html#getStyles()">getStyles</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>StyleBuilder.</B><B><A HREF="../../../../org/geotools/styling/StyleBuilder.html#createStyle(org.geotools.styling.Symbolizer)">createStyle</A></B>(<A HREF="../../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A> symbolizer)</CODE><BR> create a new style</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>StyleBuilder.</B><B><A HREF="../../../../org/geotools/styling/StyleBuilder.html#createStyle(org.geotools.styling.Symbolizer, double, double)">createStyle</A></B>(<A HREF="../../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A> symbolizer, double minScaleDenominator, double maxScaleDenominator)</CODE><BR> create a new style</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>StyleBuilder.</B><B><A HREF="../../../../org/geotools/styling/StyleBuilder.html#createStyle(java.lang.String, org.geotools.styling.Symbolizer)">createStyle</A></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> featureTypeStyleName, <A HREF="../../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A> symbolizer)</CODE><BR> create a new style</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>StyleBuilder.</B><B><A HREF="../../../../org/geotools/styling/StyleBuilder.html#createStyle(java.lang.String, org.geotools.styling.Symbolizer, double, double)">createStyle</A></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> featureTypeStyleName, <A HREF="../../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A> symbolizer, double minScaleDenominator, double maxScaleDenominator)</CODE><BR> create a new style</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>StyleBuilder.</B><B><A HREF="../../../../org/geotools/styling/StyleBuilder.html#createStyle()">createStyle</A></B>()</CODE><BR> create a new default style</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>StyleBuilder.</B><B><A HREF="../../../../org/geotools/styling/StyleBuilder.html#buildClassifiedStyle(org.geotools.feature.FeatureCollection, java.lang.String, java.lang.String[], org.geotools.feature.FeatureType)">buildClassifiedStyle</A></B>(<A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A> fc, <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, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] colors, <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> schema)</CODE><BR> given a feature collection and an array of colours build a style with the given number of classes on the named column</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>[]</CODE></FONT></TD><TD><CODE><B>SLDParser.</B><B><A HREF="../../../../org/geotools/styling/SLDParser.html#readXML()">readXML</A></B>()</CODE><BR> Read the xml inputsource provided and create a Style object for each user style found</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>[]</CODE></FONT></TD><TD><CODE><B>SLDParser.</B><B><A HREF="../../../../org/geotools/styling/SLDParser.html#readDOM(org.w3c.dom.Document)">readDOM</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/w3c/dom/Document.html" title="class or interface in org.w3c.dom">Document</A> document)</CODE><BR> Read the DOM provided and create a Style object for each user style found</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>SLDParser.</B><B><A HREF="../../../../org/geotools/styling/SLDParser.html#parseStyle(org.w3c.dom.Node)">parseStyle</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A> n)</CODE><BR> build a style for the Node provided</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>[]</CODE></FONT></TD><TD><CODE><B>UserLayerImpl.</B><B><A HREF="../../../../org/geotools/styling/UserLayerImpl.html#getUserStyles()">getUserStyles</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="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B>SLD.</B><B><A HREF="../../../../org/geotools/styling/SLD.html#matchingStyle(org.geotools.styling.Style[], org.geotools.feature.FeatureType)">matchingStyle</A></B>(<A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>[] styles, <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> schema)</CODE><BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -