⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultmapcontext.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<A NAME="title"><!-- --></A><H3>title</H3><PRE>protected <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>title</B></PRE><DL><DD>Holds value of property title.<P><DL></DL></DL><!-- ========= 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="DefaultMapContext()"><!-- --></A><H3>DefaultMapContext</H3><PRE>public <B>DefaultMapContext</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;<P><DD>Creates a default empty map context<P></DL><HR><A NAME="DefaultMapContext(org.opengis.referencing.crs.CoordinateReferenceSystem)"><!-- --></A><H3>DefaultMapContext</H3><PRE>public <B>DefaultMapContext</B>(CoordinateReferenceSystem&nbsp;crs)</PRE><DL><DD>Creates a default empty map context<P></DL><HR><A NAME="DefaultMapContext(org.geotools.map.MapLayer[])"><!-- --></A><H3>DefaultMapContext</H3><PRE>public <B>DefaultMapContext</B>(<A HREF="../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[]&nbsp;layers)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;<P><DD>Creates a map context with the provided layers and title<P><DT><B>Parameters:</B><DD><CODE>layers</CODE> - DOCUMENT ME!</DL><HR><A NAME="DefaultMapContext(org.geotools.map.MapLayer[], org.opengis.referencing.crs.CoordinateReferenceSystem)"><!-- --></A><H3>DefaultMapContext</H3><PRE>public <B>DefaultMapContext</B>(<A HREF="../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[]&nbsp;layers,                         CoordinateReferenceSystem&nbsp;crs)</PRE><DL><DD>Creates a map context with the provided layers and title<P><DT><B>Parameters:</B><DD><CODE>layers</CODE> - DOCUMENT ME!</DL><HR><A NAME="DefaultMapContext(org.geotools.map.MapLayer[], java.lang.String, java.lang.String, java.lang.String, java.lang.String[])"><!-- --></A><H3>DefaultMapContext</H3><PRE>public <B>DefaultMapContext</B>(<A HREF="../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[]&nbsp;layers,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;title,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;contextAbstract,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;contactInformation,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]&nbsp;keywords)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;<P><DD>Creates a map context<P><DT><B>Parameters:</B><DD><CODE>layers</CODE> - DOCUMENT ME!<DD><CODE>title</CODE> - DOCUMENT ME!<DD><CODE>contextAbstract</CODE> - DOCUMENT ME!<DD><CODE>contactInformation</CODE> - DOCUMENT ME!<DD><CODE>keywords</CODE> - DOCUMENT ME!</DL><HR><A NAME="DefaultMapContext(org.geotools.map.MapLayer[], java.lang.String, java.lang.String, java.lang.String, java.lang.String[], org.opengis.referencing.crs.CoordinateReferenceSystem)"><!-- --></A><H3>DefaultMapContext</H3><PRE>public <B>DefaultMapContext</B>(<A HREF="../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[]&nbsp;layers,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;title,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;contextAbstract,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;contactInformation,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]&nbsp;keywords,                         CoordinateReferenceSystem&nbsp;crs)</PRE><DL><DD>Creates a map context<P><DT><B>Parameters:</B><DD><CODE>layers</CODE> - DOCUMENT ME!<DD><CODE>title</CODE> - DOCUMENT ME!<DD><CODE>contextAbstract</CODE> - DOCUMENT ME!<DD><CODE>contactInformation</CODE> - DOCUMENT ME!<DD><CODE>keywords</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="addLayer(int, org.geotools.map.MapLayer)"><!-- --></A><H3>addLayer</H3><PRE>public boolean <B>addLayer</B>(int&nbsp;index,                        <A HREF="../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>&nbsp;layer)</PRE><DL><DD>Add a new layer if not already present and trigger a <CODE>LayerListEvent</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/map/MapContext.html#addLayer(int, org.geotools.map.MapLayer)">addLayer</A></CODE> in interface <CODE><A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - DOCUMENT ME!<DD><CODE>layer</CODE> - Then new layer that has been added.<DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><HR><A NAME="addLayer(org.geotools.map.MapLayer)"><!-- --></A><H3>addLayer</H3><PRE>public boolean <B>addLayer</B>(<A HREF="../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>&nbsp;layer)</PRE><DL><DD>Add a new layer and trigger a <CODE>LayerListEvent</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/map/MapContext.html#addLayer(org.geotools.map.MapLayer)">addLayer</A></CODE> in interface <CODE><A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>layer</CODE> - Then new layer that has been added.<DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><HR><A NAME="addLayer(org.geotools.data.FeatureSource, org.geotools.styling.Style)"><!-- --></A><H3>addLayer</H3><PRE>public void <B>addLayer</B>(<A HREF="../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A>&nbsp;featureSource,                     <A HREF="../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>&nbsp;style)</PRE><DL><DD>Add a new layer and trigger a <CODE>LayerListEvent</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/map/MapContext.html#addLayer(org.geotools.data.FeatureSource, org.geotools.styling.Style)">addLayer</A></CODE> in interface <CODE><A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>featureSource</CODE> - Then new layer that has been added.<DD><CODE>style</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="addLayer(org.opengis.coverage.grid.GridCoverage, org.geotools.styling.Style)"><!-- --></A><H3>addLayer</H3><PRE>public void <B>addLayer</B>(GridCoverage&nbsp;gc,                     <A HREF="../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>&nbsp;style)</PRE><DL><DD>Add a new layer and trigger a <CODE>LayerListEvent</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/map/MapContext.html#addLayer(org.opengis.coverage.grid.GridCoverage, org.geotools.styling.Style)">addLayer</A></CODE> in interface <CODE><A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gc</CODE> - Then new layer that has been added.<DD><CODE>style</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="addLayer(org.geotools.data.coverage.grid.AbstractGridCoverage2DReader, org.geotools.styling.Style)"><!-- --></A><H3>addLayer</H3><PRE>public void <B>addLayer</B>(<A HREF="../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html" title="class in org.geotools.data.coverage.grid">AbstractGridCoverage2DReader</A>&nbsp;reader,                     <A HREF="../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>&nbsp;style)</PRE><DL><DD>Add a new layer and trigger a <CODE>LayerListEvent</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/map/MapContext.html#addLayer(org.geotools.data.coverage.grid.AbstractGridCoverage2DReader, org.geotools.styling.Style)">addLayer</A></CODE> in interface <CODE><A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>reader</CODE> - a reader with the new layer to be added.<DD><CODE>style</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="addLayer(org.geotools.feature.FeatureCollection, org.geotools.styling.Style)"><!-- --></A><H3>addLayer</H3><PRE>public void <B>addLayer</B>(<A HREF="../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A>&nbsp;collection,                     <A HREF="../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>&nbsp;style)</PRE><DL><DD>Add a new layer and trigger a <CODE>LayerListEvent</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/map/MapContext.html#addLayer(org.geotools.feature.FeatureCollection, org.geotools.styling.Style)">addLayer</A></CODE> in interface <CODE><A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>collection</CODE> - Then new layer that has been added.<DD><CODE>style</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="removeLayer(org.geotools.map.MapLayer)"><!-- --></A><H3>removeLayer</H3><PRE>public boolean <B>removeLayer</B>(<A HREF="../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>&nbsp;layer)</PRE><DL><DD>Remove a layer and trigger a <CODE>LayerListEvent</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/map/MapContext.html#removeLayer(org.geotools.map.MapLayer)">removeLayer</A></CODE> in interface <CODE><A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>layer</CODE> - Then new layer that has been removed.<DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><HR><A NAME="removeLayer(int)"><!-- --></A><H3>removeLayer</H3><PRE>public <A HREF="../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A> <B>removeLayer</B>(int&nbsp;index)</PRE><DL><DD>DOCUMENT ME!<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/map/MapContext.html#removeLayer(int)">removeLayer</A></CODE> in interface <CODE><A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - DOCUMENT ME!<DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -