PageRenderTime 45ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/util/ProgressObserver.html

#
HTML | 247 lines | 205 code | 32 blank | 10 comment | 0 complexity | 0f1147997d9a3b342d2247973c4493e8 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:14:16 GMT-08:00 2008 -->
  6. <TITLE>
  7. ProgressObserver (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.util.ProgressObserver interface">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <NOSCRIPT>
  12. </NOSCRIPT>
  13. </HEAD>
  14. <BODY BGCOLOR="white" >
  15. <!-- ========= START OF TOP NAVBAR ======= -->
  16. <A NAME="navbar_top"><!-- --></A>
  17. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  18. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  19. <TR>
  20. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  21. <A NAME="navbar_top_firstrow"><!-- --></A>
  22. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  23. <TR ALIGN="center" VALIGN="top">
  24. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  25. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  26. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  27. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ProgressObserver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  28. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  32. </TR>
  33. </TABLE>
  34. </TD>
  35. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  36. </EM>
  37. </TD>
  38. </TR>
  39. <TR>
  40. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  41. &nbsp;<A HREF="../../../../org/gjt/sp/util/Log.html" title="class in org.gjt.sp.util"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../org/gjt/sp/util/PropertiesBean.html" title="class in org.gjt.sp.util"><B>NEXT CLASS</B></A></FONT></TD>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. <A HREF="../../../../index.html?org/gjt/sp/util/ProgressObserver.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="ProgressObserver.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  46. &nbsp;
  47. <NOSCRIPT>
  48. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  49. </NOSCRIPT>
  50. </FONT></TD>
  51. </TR>
  52. <TR>
  53. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  54. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  55. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  56. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  57. </TR>
  58. </TABLE>
  59. <A NAME="skip-navbar_top"></A>
  60. <!-- ========= END OF TOP NAVBAR ========= -->
  61. <HR>
  62. <!-- ======== START OF CLASS DATA ======== -->
  63. <H2>
  64. <FONT SIZE="-1">
  65. org.gjt.sp.util</FONT>
  66. <BR>
  67. Interface ProgressObserver</H2>
  68. <DL>
  69. <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/gjt/sp/jedit/bufferio/BufferAutosaveRequest.html" title="class in org.gjt.sp.jedit.bufferio">BufferAutosaveRequest</A>, <A HREF="../../../../org/gjt/sp/jedit/bufferio/BufferInsertRequest.html" title="class in org.gjt.sp.jedit.bufferio">BufferInsertRequest</A>, <A HREF="../../../../org/gjt/sp/jedit/bufferio/BufferIORequest.html" title="class in org.gjt.sp.jedit.bufferio">BufferIORequest</A>, <A HREF="../../../../org/gjt/sp/jedit/bufferio/BufferLoadRequest.html" title="class in org.gjt.sp.jedit.bufferio">BufferLoadRequest</A>, <A HREF="../../../../org/gjt/sp/jedit/bufferio/BufferSaveRequest.html" title="class in org.gjt.sp.jedit.bufferio">BufferSaveRequest</A>, <A HREF="../../../../org/gjt/sp/jedit/io/CopyFileWorker.html" title="class in org.gjt.sp.jedit.io">CopyFileWorker</A>, <A HREF="../../../../org/gjt/sp/jedit/bufferio/MarkersSaveRequest.html" title="class in org.gjt.sp.jedit.bufferio">MarkersSaveRequest</A>, <A HREF="../../../../org/gjt/sp/util/WorkRequest.html" title="class in org.gjt.sp.util">WorkRequest</A></DD>
  70. </DL>
  71. <HR>
  72. <DL>
  73. <DT><PRE>public interface <B>ProgressObserver</B></DL>
  74. </PRE>
  75. <P>
  76. Interface used to monitor things that can progress.
  77. <P>
  78. <P>
  79. <DL>
  80. <DT><B>Since:</B></DT>
  81. <DD>jEdit 4.3pre3</DD>
  82. </DL>
  83. <HR>
  84. <P>
  85. <!-- ========== METHOD SUMMARY =========== -->
  86. <A NAME="method_summary"><!-- --></A>
  87. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  88. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  89. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  90. <B>Method Summary</B></FONT></TH>
  91. </TR>
  92. <TR BGCOLOR="white" CLASS="TableRowColor">
  93. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  94. <CODE>&nbsp;void</CODE></FONT></TD>
  95. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/ProgressObserver.html#setMaximum(long)">setMaximum</A></B>(long&nbsp;value)</CODE>
  96. <BR>
  97. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update the maximum value.</TD>
  98. </TR>
  99. <TR BGCOLOR="white" CLASS="TableRowColor">
  100. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  101. <CODE>&nbsp;void</CODE></FONT></TD>
  102. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/ProgressObserver.html#setStatus(java.lang.String)">setStatus</A></B>(java.lang.String&nbsp;status)</CODE>
  103. <BR>
  104. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update the status label.</TD>
  105. </TR>
  106. <TR BGCOLOR="white" CLASS="TableRowColor">
  107. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  108. <CODE>&nbsp;void</CODE></FONT></TD>
  109. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/ProgressObserver.html#setValue(long)">setValue</A></B>(long&nbsp;value)</CODE>
  110. <BR>
  111. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update the progress value.</TD>
  112. </TR>
  113. </TABLE>
  114. &nbsp;
  115. <P>
  116. <!-- ============ METHOD DETAIL ========== -->
  117. <A NAME="method_detail"><!-- --></A>
  118. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  119. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  120. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  121. <B>Method Detail</B></FONT></TH>
  122. </TR>
  123. </TABLE>
  124. <A NAME="setValue(long)"><!-- --></A><H3>
  125. setValue</H3>
  126. <PRE>
  127. void <B>setValue</B>(long&nbsp;value)</PRE>
  128. <DL>
  129. <DD>Update the progress value.
  130. <P>
  131. <DD><DL>
  132. <DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value<DT><B>Since:</B></DT>
  133. <DD>jEdit 4.3pre3</DD>
  134. </DL>
  135. </DD>
  136. </DL>
  137. <HR>
  138. <A NAME="setMaximum(long)"><!-- --></A><H3>
  139. setMaximum</H3>
  140. <PRE>
  141. void <B>setMaximum</B>(long&nbsp;value)</PRE>
  142. <DL>
  143. <DD>Update the maximum value.
  144. <P>
  145. <DD><DL>
  146. <DT><B>Parameters:</B><DD><CODE>value</CODE> - the new maximum value<DT><B>Since:</B></DT>
  147. <DD>jEdit 4.3pre3</DD>
  148. </DL>
  149. </DD>
  150. </DL>
  151. <HR>
  152. <A NAME="setStatus(java.lang.String)"><!-- --></A><H3>
  153. setStatus</H3>
  154. <PRE>
  155. void <B>setStatus</B>(java.lang.String&nbsp;status)</PRE>
  156. <DL>
  157. <DD>Update the status label.
  158. <P>
  159. <DD><DL>
  160. <DT><B>Parameters:</B><DD><CODE>status</CODE> - the new status label<DT><B>Since:</B></DT>
  161. <DD>jEdit 4.3pre3</DD>
  162. </DL>
  163. </DD>
  164. </DL>
  165. <!-- ========= END OF CLASS DATA ========= -->
  166. <HR>
  167. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  168. <A NAME="navbar_bottom"><!-- --></A>
  169. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  170. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  171. <TR>
  172. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  173. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  174. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  175. <TR ALIGN="center" VALIGN="top">
  176. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  177. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  178. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  179. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ProgressObserver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  180. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  181. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  182. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  183. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  184. </TR>
  185. </TABLE>
  186. </TD>
  187. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  188. </EM>
  189. </TD>
  190. </TR>
  191. <TR>
  192. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  193. &nbsp;<A HREF="../../../../org/gjt/sp/util/Log.html" title="class in org.gjt.sp.util"><B>PREV CLASS</B></A>&nbsp;
  194. &nbsp;<A HREF="../../../../org/gjt/sp/util/PropertiesBean.html" title="class in org.gjt.sp.util"><B>NEXT CLASS</B></A></FONT></TD>
  195. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  196. <A HREF="../../../../index.html?org/gjt/sp/util/ProgressObserver.html" target="_top"><B>FRAMES</B></A> &nbsp;
  197. &nbsp;<A HREF="ProgressObserver.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  198. &nbsp;
  199. <NOSCRIPT>
  200. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  201. </NOSCRIPT>
  202. </FONT></TD>
  203. </TR>
  204. <TR>
  205. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  206. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  207. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  208. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  209. </TR>
  210. </TABLE>
  211. <A NAME="skip-navbar_bottom"></A>
  212. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  213. <HR>
  214. </BODY>
  215. </HTML>