📄 linesymbolizerimpl.html
字号:
<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="LineSymbolizerImpl()"><!-- --></A><H3>LineSymbolizerImpl</H3><PRE>protected <B>LineSymbolizerImpl</B>()</PRE><DL><DD>Creates a new instance of DefaultLineSymbolizer<P></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="getGeometryPropertyName()"><!-- --></A><H3>getGeometryPropertyName</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>getGeometryPropertyName</B>()</PRE><DL><DD>This property defines the geometry to be used for styling.<br> The property is optional and if it is absent (null) then the "default" geometry property of the feature should be used. Geometry types other than inherently linear types can be used. If a point geometry is used, it should be interpreted as a line of zero length and two end caps. If a polygon is used (or other "area" type) then its closed outline should be used as the line string (with no end caps). The geometryPropertyName is the name of a geometry property in the Feature being styled. Typically, features only have one geometry so, in general, the need to select one is not required. Note: this moves a little away from the SLD spec which provides an XPath reference to a Geometry object, but does follow it in spirit.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/LineSymbolizer.html#getGeometryPropertyName()">getGeometryPropertyName</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/LineSymbolizer.html" title="interface in org.geotools.styling">LineSymbolizer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The name of the attribute in the feature being styled that should be used. If null then the default geometry should be used.</DL></DD></DL><HR><A NAME="setGeometryPropertyName(java.lang.String)"><!-- --></A><H3>setGeometryPropertyName</H3><PRE>public void <B>setGeometryPropertyName</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 GeometryPropertyName.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/LineSymbolizer.html#setGeometryPropertyName(java.lang.String)">setGeometryPropertyName</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/LineSymbolizer.html" title="interface in org.geotools.styling">LineSymbolizer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the geometryProperty.<DT><B>See Also:</B><DD><CODE>#LineSymbolizerImpl.geometryPropertyName()</CODE></DL></DD></DL><HR><A NAME="getStroke()"><!-- --></A><H3>getStroke</H3><PRE>public <A HREF="../../../org/geotools/styling/Stroke.html" title="interface in org.geotools.styling">Stroke</A> <B>getStroke</B>()</PRE><DL><DD>Provides the graphical-symbolization parameter to use for the linear geometry.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/LineSymbolizer.html#getStroke()">getStroke</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/LineSymbolizer.html" title="interface in org.geotools.styling">LineSymbolizer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The Stroke style to use when rendering lines.</DL></DD></DL><HR><A NAME="setStroke(org.geotools.styling.Stroke)"><!-- --></A><H3>setStroke</H3><PRE>public void <B>setStroke</B>(<A HREF="../../../org/geotools/styling/Stroke.html" title="interface in org.geotools.styling">Stroke</A> stroke)</PRE><DL><DD>Sets the graphical-symbolization parameter to use for the linear geometry.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/LineSymbolizer.html#setStroke(org.geotools.styling.Stroke)">setStroke</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/LineSymbolizer.html" title="interface in org.geotools.styling">LineSymbolizer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - The Stroke style to use when rendering lines.</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>Accepts a StyleVisitor to perform some operation on this LineSymbolizer.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Symbolizer.html#accept(org.geotools.styling.StyleVisitor)">accept</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>visitor</CODE> - The visitor to accept.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <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>clone</B>()</PRE><DL><DD>Creates a deep copy clone.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>Cloneable</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/event/AbstractGTComponent.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../org/geotools/event/AbstractGTComponent.html" title="class in org.geotools.event">AbstractGTComponent</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The deep copy clone.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Generates a hashcode for the LineSymbolizerImpl.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A hashcode.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> oth)</PRE><DL><DD>Compares this LineSymbolizerImpl with another for equality. <p> Two LineSymbolizerImpls are equal if they have the same geometryPropertyName and the same stroke. </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>oth</CODE> - The other LineSymbolizerImpl<DT><B>Returns:</B><DD>True if this and oth are equal.</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/LineSymbolizerImpl.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/LinePlacementImpl.html" title="class in org.geotools.styling"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/styling/MarkImpl.html" title="class 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="LineSymbolizerImpl.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 | <A HREF="#fields_inherited_from_class_AbstractGTComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -