📄 ruleimpl.html
字号:
<BR> Setter for property abstractStr.</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/RuleImpl.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/RuleImpl.html#setHasElseFilter()">setHasElseFilter</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/RuleImpl.html#setIsElseFilter(boolean)">setIsElseFilter</A></B>(boolean flag)</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/RuleImpl.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/RuleImpl.html#setMaxScaleDenominator(double)">setMaxScaleDenominator</A></B>(double maxScaleDenominator)</CODE><BR> Setter for property maxScaleDenominator.</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/RuleImpl.html#setMinScaleDenominator(double)">setMinScaleDenominator</A></B>(double minScaleDenominator)</CODE><BR> Setter for property minScaleDenominator.</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/RuleImpl.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> Setter for property name.</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/RuleImpl.html#setSymbolizers(org.geotools.styling.Symbolizer[])">setSymbolizers</A></B>(<A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>[] syms)</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/RuleImpl.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> Setter for property title.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractGTComponent"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../org/geotools/event/AbstractGTComponent.html" title="class in org.geotools.event">AbstractGTComponent</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/event/AbstractGTComponent.html#changed(org.geotools.event.GTDelta)">changed</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#fireChanged()">fireChanged</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#fireChildChanged(java.lang.String, java.lang.Object, java.lang.Object)">fireChildChanged</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#getNote()">getNote</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#getParent()">getParent</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#removed(org.geotools.event.GTDelta)">removed</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#setNote(org.geotools.event.GTNote)">setNote</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></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 ======== --><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="RuleImpl()"><!-- --></A><H3>RuleImpl</H3><PRE>protected <B>RuleImpl</B>()</PRE><DL><DD>Creates a new instance of DefaultRule<P></DL><HR><A NAME="RuleImpl(org.geotools.styling.Symbolizer[])"><!-- --></A><H3>RuleImpl</H3><PRE>protected <B>RuleImpl</B>(<A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>[] symbolizers)</PRE><DL><DD>Creates a new instance of DefaultRule<P><DT><B>Parameters:</B><DD><CODE>symbolizers</CODE> - DOCUMENT ME!</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="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><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></B></DD><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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Rule.html#getLegendGraphic()">getLegendGraphic</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></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="addLegendGraphic(org.geotools.styling.Graphic)"><!-- --></A><H3>addLegendGraphic</H3><PRE>public void <B>addLegendGraphic</B>(<A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A> graphic)</PRE><DL><DD><DL></DL></DD><DD><DL></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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Rule.html#setLegendGraphic(org.geotools.styling.Graphic[])">setLegendGraphic</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></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="addSymbolizer(org.geotools.styling.Symbolizer)"><!-- --></A><H3>addSymbolizer</H3><PRE>public void <B>addSymbolizer</B>(<A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A> symb)</PRE><DL><DD><DL></DL></DD><DD><DL></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>[] syms)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></B></DD><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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Rule.html#setSymbolizers(org.geotools.styling.Symbolizer[])">setSymbolizers</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>syms</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="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><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></B></DD><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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Rule.html#getSymbolizers()">getSymbolizers</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></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="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>Getter for property abstractStr.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Rule.html#getAbstract()">getAbstract</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of property abstractStr.</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>Setter for property abstractStr.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Rule.html#setAbstract(java.lang.String)">setAbstract</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>abstractStr</CODE> - New value of property abstractStr.</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>Getter for property name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Rule.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of property name.</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -