📄 maplayer.html
字号:
<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Classes in <A HREF="../../../../org/geotools/map/package-summary.html">org.geotools.map</A> that implement <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/map/DefaultMapLayer.html" title="class in org.geotools.map">DefaultMapLayer</A></B></CODE><BR> Default implementation of the MapLayer implementation</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../org/geotools/map/package-summary.html">org.geotools.map</A> that return <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A></CODE></FONT></TD><TD><CODE><B>DefaultMapContext.</B><B><A HREF="../../../../org/geotools/map/DefaultMapContext.html#removeLayer(int)">removeLayer</A></B>(int index)</CODE><BR> DOCUMENT ME!</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[]</CODE></FONT></TD><TD><CODE><B>DefaultMapContext.</B><B><A HREF="../../../../org/geotools/map/DefaultMapContext.html#getLayers()">getLayers</A></B>()</CODE><BR> Return this model's list of layers. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A></CODE></FONT></TD><TD><CODE><B>DefaultMapContext.</B><B><A HREF="../../../../org/geotools/map/DefaultMapContext.html#getLayer(int)">getLayer</A></B>(int index)</CODE><BR> Return the requested layer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A></CODE></FONT></TD><TD><CODE><B>MapContext.</B><B><A HREF="../../../../org/geotools/map/MapContext.html#removeLayer(int)">removeLayer</A></B>(int index)</CODE><BR> Remove a layer and trigger a <CODE>LayerListEvent</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[]</CODE></FONT></TD><TD><CODE><B>MapContext.</B><B><A HREF="../../../../org/geotools/map/MapContext.html#getLayers()">getLayers</A></B>()</CODE><BR> Return this model's list of layers. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A></CODE></FONT></TD><TD><CODE><B>MapContext.</B><B><A HREF="../../../../org/geotools/map/MapContext.html#getLayer(int)">getLayer</A></B>(int index)</CODE><BR> Return the requested layer.</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../org/geotools/map/package-summary.html">org.geotools.map</A> with parameters of type <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A></FONT></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>DefaultMapContext.</B><B><A HREF="../../../../org/geotools/map/DefaultMapContext.html#addLayer(int, org.geotools.map.MapLayer)">addLayer</A></B>(int index, <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A> layer)</CODE><BR> Add a new layer if not already present and trigger a <CODE>LayerListEvent</CODE>.</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>DefaultMapContext.</B><B><A HREF="../../../../org/geotools/map/DefaultMapContext.html#addLayer(org.geotools.map.MapLayer)">addLayer</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A> layer)</CODE><BR> Add a new layer and trigger a <CODE>LayerListEvent</CODE>.</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>DefaultMapContext.</B><B><A HREF="../../../../org/geotools/map/DefaultMapContext.html#removeLayer(org.geotools.map.MapLayer)">removeLayer</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A> layer)</CODE><BR> Remove a layer and trigger a <CODE>LayerListEvent</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B>DefaultMapContext.</B><B><A HREF="../../../../org/geotools/map/DefaultMapContext.html#addLayers(org.geotools.map.MapLayer[])">addLayers</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[] layers)</CODE><BR> Add an array of new layers and trigger a <CODE>LayerListEvent</CODE>.</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>DefaultMapContext.</B><B><A HREF="../../../../org/geotools/map/DefaultMapContext.html#removeLayers(org.geotools.map.MapLayer[])">removeLayers</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[] layers)</CODE><BR> Remove an array of layers and trigger a <CODE>LayerListEvent</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B>DefaultMapContext.</B><B><A HREF="../../../../org/geotools/map/DefaultMapContext.html#indexOf(org.geotools.map.MapLayer)">indexOf</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A> layer)</CODE><BR> </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>MapContext.</B><B><A HREF="../../../../org/geotools/map/MapContext.html#addLayer(org.geotools.map.MapLayer)">addLayer</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A> layer)</CODE><BR> Add a new layer if not already present and trigger a <CODE>LayerListEvent</CODE>.</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>MapContext.</B><B><A HREF="../../../../org/geotools/map/MapContext.html#addLayer(int, org.geotools.map.MapLayer)">addLayer</A></B>(int index, <A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A> layer)</CODE><BR> Add a new layer in the specified position and trigger a <CODE>LayerListEvent</CODE>. </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>MapContext.</B><B><A HREF="../../../../org/geotools/map/MapContext.html#removeLayer(org.geotools.map.MapLayer)">removeLayer</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A> layer)</CODE><BR> Remove a layer, if present, and trigger a <CODE>LayerListEvent</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B>MapContext.</B><B><A HREF="../../../../org/geotools/map/MapContext.html#addLayers(org.geotools.map.MapLayer[])">addLayers</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[] layers)</CODE><BR> Add an array of new layers and trigger a <CODE>LayerListEvent</CODE>.</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>MapContext.</B><B><A HREF="../../../../org/geotools/map/MapContext.html#removeLayers(org.geotools.map.MapLayer[])">removeLayers</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A>[] layers)</CODE><BR> Remove an array of layers and trigger a <CODE>LayerListEvent</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B>MapContext.</B><B><A HREF="../../../../org/geotools/map/MapContext.html#indexOf(org.geotools.map.MapLayer)">indexOf</A></B>(<A HREF="../../../../org/geotools/map/MapLayer.html" title="interface in org.geotools.map">MapLayer</A> layer)</CODE><BR> Returns the index of the first occurrence of the specified layer, or -1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -