📄 rule.html
字号:
The symbolizers contain the actual styling information for different geometry types. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#getTitle()">getTitle</A></B>()</CODE><BR> Gets the title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#hasElseFilter()">hasElseFilter</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#setAbstract(java.lang.String)">setAbstract</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> abstractStr)</CODE><BR> Sets the abstract text for the rule.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#setFilter(org.geotools.filter.Filter)">setFilter</A></B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#setIsElseFilter(boolean)">setIsElseFilter</A></B>(boolean defaultb)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#setLegendGraphic(org.geotools.styling.Graphic[])">setLegendGraphic</A></B>(<A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A>[] graphics)</CODE><BR> A set of equivalent Graphics in different formats which can be used as a legend against features stylized by the symbolizers in this rule.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#setMaxScaleDenominator(double)">setMaxScaleDenominator</A></B>(double scale)</CODE><BR> The largest value for scale denominator at which symbolizers contained by this rule should be applied.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#setMinScaleDenominator(double)">setMinScaleDenominator</A></B>(double scale)</CODE><BR> The smallest value for scale denominator at which symbolizers contained by this rule should be applied.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#setName(java.lang.String)">setName</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> name)</CODE><BR> Sets the name of the rule.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#setSymbolizers(org.geotools.styling.Symbolizer[])">setSymbolizers</A></B>(<A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>[] symbolizers)</CODE><BR> The symbolizers contain the actual styling information for different geometry types. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/Rule.html#setTitle(java.lang.String)">setTitle</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> title)</CODE><BR> Sets the title.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_GTComponent"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/event/GTComponent.html" title="interface in org.geotools.event">GTComponent</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/event/GTComponent.html#changed(org.geotools.event.GTDelta)">changed</A>, <A HREF="../../../org/geotools/event/GTComponent.html#getNote()">getNote</A>, <A HREF="../../../org/geotools/event/GTComponent.html#getParent()">getParent</A>, <A HREF="../../../org/geotools/event/GTComponent.html#removed(org.geotools.event.GTDelta)">removed</A>, <A HREF="../../../org/geotools/event/GTComponent.html#setNote(org.geotools.event.GTNote)">setNote</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="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>Gets the name of the rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The name of the rule. This provides a way to identify a rule.</DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>public void <B>setName</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>Sets the name of the rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the rule. This provides a way to identify a rule.</DL></DD></DL><HR><A NAME="getTitle()"><!-- --></A><H3>getTitle</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>getTitle</B>()</PRE><DL><DD>Gets the title.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The title of the rule. This is a brief, human readable, description of the rule.</DL></DD></DL><HR><A NAME="setTitle(java.lang.String)"><!-- --></A><H3>setTitle</H3><PRE>public void <B>setTitle</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> title)</PRE><DL><DD>Sets the title.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - The title of the rule. This is a brief, human readable, description of the rule.</DL></DD></DL><HR><A NAME="getAbstract()"><!-- --></A><H3>getAbstract</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>getAbstract</B>()</PRE><DL><DD>Gets the abstract text for the rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The abstract text, a more detailed description of the rule.</DL></DD></DL><HR><A NAME="setAbstract(java.lang.String)"><!-- --></A><H3>setAbstract</H3><PRE>public void <B>setAbstract</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> abstractStr)</PRE><DL><DD>Sets the abstract text for the rule.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>abstractStr</CODE> - The abstract text, a more detailed description of the rule.</DL></DD></DL><HR><A NAME="getMinScaleDenominator()"><!-- --></A><H3>getMinScaleDenominator</H3><PRE>public double <B>getMinScaleDenominator</B>()</PRE><DL><DD>The smallest 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 smallest (inclusive) denominator value that this rule will be active for.</DL></DD></DL><HR><A NAME="setMinScaleDenominator(double)"><!-- --></A><H3>setMinScaleDenominator</H3><PRE>public void <B>setMinScaleDenominator</B>(double scale)</PRE><DL><DD>The smallest 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 smallest (inclusive) denominator value that this rule will be active for.</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -