📄 rule.html
字号:
<A NAME="getMaxScaleDenominator()"><!-- --></A><H3>getMaxScaleDenominator</H3><PRE>public double <B>getMaxScaleDenominator</B>()</PRE><DL><DD>The largest value for scale denominator at which symbolizers contained by this rule should be applied.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The largest (exclusive) denominator value that this rule will be active for.</DL></DD></DL><HR><A NAME="setMaxScaleDenominator(double)"><!-- --></A><H3>setMaxScaleDenominator</H3><PRE>public void <B>setMaxScaleDenominator</B>(double scale)</PRE><DL><DD>The largest value for scale denominator at which symbolizers contained by this rule should be applied.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - The largest (exclusive) denominator value that this rule will be active for.</DL></DD></DL><HR><A NAME="getFilter()"><!-- --></A><H3>getFilter</H3><PRE>public <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>getFilter</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setFilter(org.geotools.filter.Filter)"><!-- --></A><H3>setFilter</H3><PRE>public void <B>setFilter</B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hasElseFilter()"><!-- --></A><H3>hasElseFilter</H3><PRE>public boolean <B>hasElseFilter</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setIsElseFilter(boolean)"><!-- --></A><H3>setIsElseFilter</H3><PRE>public void <B>setIsElseFilter</B>(boolean defaultb)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getLegendGraphic()"><!-- --></A><H3>getLegendGraphic</H3><PRE>public <A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A>[] <B>getLegendGraphic</B>()</PRE><DL><DD>A set of equivalent Graphics in different formats which can be used as a legend against features stylized by the symbolizers in this rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of Graphic objects, any of which can be used as the legend.</DL></DD></DL><HR><A NAME="setLegendGraphic(org.geotools.styling.Graphic[])"><!-- --></A><H3>setLegendGraphic</H3><PRE>public void <B>setLegendGraphic</B>(<A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A>[] graphics)</PRE><DL><DD>A set of equivalent Graphics in different formats which can be used as a legend against features stylized by the symbolizers in this rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>graphics</CODE> - An array of Graphic objects, any of which can be used as the legend.</DL></DD></DL><HR><A NAME="getSymbolizers()"><!-- --></A><H3>getSymbolizers</H3><PRE>public <A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>[] <B>getSymbolizers</B>()</PRE><DL><DD>The symbolizers contain the actual styling information for different geometry types. A single feature may be rendered by more than one of the symbolizers returned by this method. It is important that the symbolizers be applied in the order in which they are returned if the end result is to be as intended. All symbolizers should be applied to all features which make it through the filters in this rule regardless of the features' geometry. For example, a polygon symbolizer should be applied to line geometries and even points. If this is not the desired beaviour, ensure that either the filters block inappropriate features or that the FeatureTypeStyler which contains this rule has its FeatureTypeName or SemanticTypeIdentifier set appropriately.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of symbolizers to be applied, in sequence, to all of the features addressed by the FeatureTypeStyler which contains this rule.</DL></DD></DL><HR><A NAME="setSymbolizers(org.geotools.styling.Symbolizer[])"><!-- --></A><H3>setSymbolizers</H3><PRE>public void <B>setSymbolizers</B>(<A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>[] symbolizers)</PRE><DL><DD>The symbolizers contain the actual styling information for different geometry types. A single feature may be rendered by more than one of the symbolizers returned by this method. It is important that the symbolizers be applied in the order in which they are returned if the end result is to be as intended. All symbolizers should be applied to all features which make it through the filters in this rule regardless of the features' geometry. For example, a polygon symbolizer should be applied to line geometries and even points. If this is not the desired beaviour, ensure that either the filters block inappropriate features or that the FeatureTypeStyler which contains this rule has its FeatureTypeName or SemanticTypeIdentifier set appropriately.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>symbolizers</CODE> - An array of symbolizers to be applied, in sequence, to all of the features addressed by the FeatureTypeStyler which contains this rule.</DL></DD></DL><HR><A NAME="accept(org.geotools.styling.StyleVisitor)"><!-- --></A><H3>accept</H3><PRE>public void <B>accept</B>(<A HREF="../../../org/geotools/styling/StyleVisitor.html" title="interface in org.geotools.styling">StyleVisitor</A> visitor)</PRE><DL><DD><DL></DL></DD><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/Rule.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/styling/RemoteOWS.html" title="interface in org.geotools.styling"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/styling/SelectedChannelType.html" title="interface in org.geotools.styling"><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="Rule.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -