📄 coveragestack.adapter.html
字号:
<B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="coverage"><!-- --></A><H3>coverage</H3><PRE>protected Coverage <B>coverage</B></PRE><DL><DD>The wrapped coverage, or if not yet loaded. If null, the loading must be performed by the <A HREF="../../../org/geotools/coverage/CoverageStack.Adapter.html#getCoverage(org.geotools.image.io.IIOListeners)"><CODE>getCoverage(org.geotools.image.io.IIOListeners)</CODE></A> method.<P><DL></DL></DL><HR><A NAME="range"><!-- --></A><H3>range</H3><PRE>protected <A HREF="../../../org/geotools/util/NumberRange.html" title="class in org.geotools.util">NumberRange</A> <B>range</B></PRE><DL><DD>Minimum and maximum <var>z</var> values for this element, or if not yet determined. If , the range must be computed by the <A HREF="../../../org/geotools/coverage/CoverageStack.Adapter.html#getZRange()"><CODE>getZRange()</CODE></A> method.<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="CoverageStack.Adapter(org.opengis.coverage.Coverage, org.geotools.util.NumberRange)"><!-- --></A><H3>CoverageStack.Adapter</H3><PRE>public <B>CoverageStack.Adapter</B>(Coverage coverage, <A HREF="../../../org/geotools/util/NumberRange.html" title="class in org.geotools.util">NumberRange</A> range)</PRE><DL><DD>Constructs a new adapter for the specified coverage and <var>z</var> values.<P><DT><B>Parameters:</B><DD><CODE>coverage</CODE> - The coverage to wrap. Can be only if this constructor is invoked from a sub-class constructor.<DD><CODE>range</CODE> - The minimum and maximum <var>z</var> values for this element, or to infers it from the last dimension in the coverage's envelope.</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="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>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the coverage name. The default implementation delegates to the <A HREF="../../../org/geotools/coverage/CoverageStack.Adapter.html#getCoverage(org.geotools.image.io.IIOListeners)">underlying coverage</A> if it is an instance of <A HREF="../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage"><CODE>AbstractCoverage</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage">CoverageStack.Element</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="getZRange()"><!-- --></A><H3>getZRange</H3><PRE>public <A HREF="../../../org/geotools/util/NumberRange.html" title="class in org.geotools.util">NumberRange</A> <B>getZRange</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the minimum and maximum <var>z</var> values for the coverage. If the range was not explicitly specified to the constructor, then the default implementation infers it from the last dimension in the coverage's envelope.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html#getZRange()">getZRange</A></CODE> in interface <CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage">CoverageStack.Element</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an I/O operation was required but failed.</DL></DD></DL><HR><A NAME="getEnvelope()"><!-- --></A><H3>getEnvelope</H3><PRE>public Envelope <B>getEnvelope</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the coverage envelope. The default implementation delegates to the <A HREF="../../../org/geotools/coverage/CoverageStack.Adapter.html#getCoverage(org.geotools.image.io.IIOListeners)">underlying coverage</A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html#getEnvelope()">getEnvelope</A></CODE> in interface <CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage">CoverageStack.Element</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an I/O operation was required but failed.</DL></DD></DL><HR><A NAME="getGridGeometry()"><!-- --></A><H3>getGridGeometry</H3><PRE>public GridGeometry <B>getGridGeometry</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the coverage grid geometry. The default implementation delegates to the <A HREF="../../../org/geotools/coverage/CoverageStack.Adapter.html#getCoverage(org.geotools.image.io.IIOListeners)">underlying coverage</A> if it is an instance of <CODE>GridCoverage</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html#getGridGeometry()">getGridGeometry</A></CODE> in interface <CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage">CoverageStack.Element</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an I/O operation was required but failed.</DL></DD></DL><HR><A NAME="getSampleDimensions()"><!-- --></A><H3>getSampleDimensions</H3><PRE>public SampleDimension[] <B>getSampleDimensions</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the sample dimension for the coverage. The default implementation delegates to the <A HREF="../../../org/geotools/coverage/CoverageStack.Adapter.html#getCoverage(org.geotools.image.io.IIOListeners)">underlying coverage</A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html#getSampleDimensions()">getSampleDimensions</A></CODE> in interface <CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage">CoverageStack.Element</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an I/O operation was required but failed.</DL></DD></DL><HR><A NAME="getCoverage(org.geotools.image.io.IIOListeners)"><!-- --></A><H3>getCoverage</H3><PRE>public Coverage <B>getCoverage</B>(<A HREF="../../../org/geotools/image/io/IIOListeners.html" title="class in org.geotools.image.io">IIOListeners</A> listeners) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the coverage. Implementors can overrides this method if they want to load <A HREF="../../../org/geotools/coverage/CoverageStack.Adapter.html#coverage"><CODE>coverage</CODE></A> only when first needed. However, they are strongly encouraged to override all other methods as well in order to load the minimum amount of data, since all default implementations invoke .<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html#getCoverage(org.geotools.image.io.IIOListeners)">getCoverage</A></CODE> in interface <CODE><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage">CoverageStack.Element</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listeners</CODE> - Listeners to register to the <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReader.html" title="class or interface in javax.imageio">image I/O reader</A>, if such a reader is going to be used.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if a data loading was required but failed.</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/CoverageStack.Adapter.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/coverage/CoverageStack.html" title="class in org.geotools.coverage"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/coverage/FactoryFinder.html" title="class in org.geotools.coverage"><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="CoverageStack.Adapter.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 + -