📄 nullprogresslistener.html
字号:
</TABLE><A NAME="NullProgressListener()"><!-- --></A><H3>NullProgressListener</H3><PRE>public <B>NullProgressListener</B>()</PRE><DL><DD>Creates a null progress listener with no description.<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="getDescription()"><!-- --></A><H3>getDescription</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>getDescription</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Returns the description for the lengthly operation to be reported, or if none.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setDescription(java.lang.String)"><!-- --></A><H3>setDescription</H3><PRE>public void <B>setDescription</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> description)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Set the description for the lenghtly operation to be reported. This method is usually invoked before any progress begins. However, it is legal to invoke this method at any time during the operation, in which case the description display is updated without any change to the percentage accomplished.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#setDescription(java.lang.String)">setDescription</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>description</CODE> - The new description, or if none.</DL></DD></DL><HR><A NAME="started()"><!-- --></A><H3>started</H3><PRE>public void <B>started</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Notifies this listener that the operation begins.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#started()">started</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="progress(float)"><!-- --></A><H3>progress</H3><PRE>public void <B>progress</B>(float percent)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Notifies this listener of progress in the lengthly operation. Progress are reported as a value between 0 and 100 inclusive. Values out of bounds will be clamped.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#progress(float)">progress</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="complete()"><!-- --></A><H3>complete</H3><PRE>public void <B>complete</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Notifies this listener that the operation has finished. The progress indicator will shows 100% or disaspears, at implementor choice. If warning messages were pending, they will be displayed now.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#complete()">complete</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="dispose()"><!-- --></A><H3>dispose</H3><PRE>public void <B>dispose</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Release any resources used by this listener. If the progress were reported in a window, this window may be disposed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#dispose()">dispose</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setCanceled(boolean)"><!-- --></A><H3>setCanceled</H3><PRE>public void <B>setCanceled</B>(boolean cancel)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Indicate that progress should is canceled.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#setCanceled(boolean)">setCanceled</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isCanceled()"><!-- --></A><H3>isCanceled</H3><PRE>public boolean <B>isCanceled</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Is this job canceled?<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#isCanceled()">isCanceled</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="warningOccurred(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>warningOccurred</H3><PRE>public void <B>warningOccurred</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> source, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> margin, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> warning)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Reports a warning. This warning may be printed to the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/System.html#err" title="class or interface in java.lang">standard error stream</A>, appears in a windows or be ignored, at implementor choice.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#warningOccurred(java.lang.String, java.lang.String, java.lang.String)">warningOccurred</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - The source of the warning, or if none. This is typically the filename in process of being parsed.<DD><CODE>margin</CODE> - Text to write on the left side of the warning message, or if none. This is typically the line number where the error occured in the file.<DD><CODE>warning</CODE> - The warning message.</DL></DD></DL><HR><A NAME="exceptionOccurred(java.lang.Throwable)"><!-- --></A><H3>exceptionOccurred</H3><PRE>public void <B>exceptionOccurred</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> exception)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></B></DD><DD>Reports an exception. This method may prints the stack trace to the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/System.html#err" title="class or interface in java.lang">standard error stream</A> or display it in a dialog box, at implementor choice.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/ProgressListener.html#exceptionOccurred(java.lang.Throwable)">exceptionOccurred</A></CODE> in interface <CODE><A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A></CODE></DL></DD><DD><DL></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/NullProgressListener.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/util/NameFactory.html" title="class in org.geotools.util"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/util/NumberRange.html" title="class in org.geotools.util"><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="NullProgressListener.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 | FIELD | <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 + -