PageRenderTime 61ms CodeModel.GetById 9ms app.highlight 44ms RepoModel.GetById 2ms app.codeStats 0ms

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

#
HTML | 554 lines | 481 code | 59 blank | 14 comment | 0 complexity | 0931281d563b22720af5bca8ed93c711 MD5 | raw file
  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:17 GMT-08:00 2008 -->
  6<TITLE>
  7WorkThread (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.util.WorkThread class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/WorkThread.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../org/gjt/sp/util/WorkRequest.html" title="class in org.gjt.sp.util"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../org/gjt/sp/util/WorkThread.Abort.html" title="class in org.gjt.sp.util"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../index.html?org/gjt/sp/util/WorkThread.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="WorkThread.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.lang.Thread">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.util</FONT>
 78<BR>
 79Class WorkThread</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Thread
 83      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.util.WorkThread</B>
 84</PRE>
 85<DL>
 86<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Runnable, <A HREF="../../../../org/gjt/sp/util/ThreadAbortMonitor.html" title="interface in org.gjt.sp.util">ThreadAbortMonitor</A></DD>
 87</DL>
 88<HR>
 89<DL>
 90<DT><PRE>public class <B>WorkThread</B><DT>extends java.lang.Thread<DT>implements <A HREF="../../../../org/gjt/sp/util/ThreadAbortMonitor.html" title="interface in org.gjt.sp.util">ThreadAbortMonitor</A></DL>
 91</PRE>
 92
 93<P>
 94Services work requests in the background.
 95<P>
 96
 97<P>
 98<HR>
 99
100<P>
101<!-- ======== NESTED CLASS SUMMARY ======== -->
102
103<A NAME="nested_class_summary"><!-- --></A>
104<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
105<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
106<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
107<B>Nested Class Summary</B></FONT></TH>
108</TR>
109<TR BGCOLOR="white" CLASS="TableRowColor">
110<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
111<CODE>static&nbsp;class</CODE></FONT></TD>
112<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.Abort.html" title="class in org.gjt.sp.util">WorkThread.Abort</A></B></CODE>
113
114<BR>
115&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
116</TR>
117</TABLE>
118&nbsp;<A NAME="nested_classes_inherited_from_class_java.lang.Thread"><!-- --></A>
119<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
121<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.lang.Thread</B></TH>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD><CODE>java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler</CODE></TD>
125</TR>
126</TABLE>
127&nbsp;
128<!-- =========== FIELD SUMMARY =========== -->
129
130<A NAME="field_summary"><!-- --></A>
131<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
134<B>Field Summary</B></FONT></TH>
135</TR>
136</TABLE>
137&nbsp;<A NAME="fields_inherited_from_class_java.lang.Thread"><!-- --></A>
138<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
139<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
140<TH ALIGN="left"><B>Fields inherited from class java.lang.Thread</B></TH>
141</TR>
142<TR BGCOLOR="white" CLASS="TableRowColor">
143<TD><CODE>MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY</CODE></TD>
144</TR>
145</TABLE>
146&nbsp;
147<!-- ======== CONSTRUCTOR SUMMARY ======== -->
148
149<A NAME="constructor_summary"><!-- --></A>
150<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
152<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
153<B>Constructor Summary</B></FONT></TH>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#WorkThread(org.gjt.sp.util.WorkThreadPool, java.lang.ThreadGroup, java.lang.String)">WorkThread</A></B>(<A HREF="../../../../org/gjt/sp/util/WorkThreadPool.html" title="class in org.gjt.sp.util">WorkThreadPool</A>&nbsp;pool,
157           java.lang.ThreadGroup&nbsp;group,
158           java.lang.String&nbsp;name)</CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
162</TR>
163</TABLE>
164&nbsp;
165<!-- ========== METHOD SUMMARY =========== -->
166
167<A NAME="method_summary"><!-- --></A>
168<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
170<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
171<B>Method Summary</B></FONT></TH>
172</TR>
173<TR BGCOLOR="white" CLASS="TableRowColor">
174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175<CODE>&nbsp;void</CODE></FONT></TD>
176<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#abortCurrentRequest()">abortCurrentRequest</A></B>()</CODE>
177
178<BR>
179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aborts the currently running request, if allowed.</TD>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183<CODE>&nbsp;int</CODE></FONT></TD>
184<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#getProgressMaximum()">getProgressMaximum</A></B>()</CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the progress maximum.</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>&nbsp;int</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#getProgressValue()">getProgressValue</A></B>()</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the progress value.</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#getStatus()">getStatus</A></B>()</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the status text.</TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207<CODE>&nbsp;boolean</CODE></FONT></TD>
208<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#isAborted()">isAborted</A></B>()</CODE>
209
210<BR>
211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
212</TR>
213<TR BGCOLOR="white" CLASS="TableRowColor">
214<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215<CODE>&nbsp;boolean</CODE></FONT></TD>
216<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#isRequestRunning()">isRequestRunning</A></B>()</CODE>
217
218<BR>
219&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if the work thread is currently running a request.</TD>
220</TR>
221<TR BGCOLOR="white" CLASS="TableRowColor">
222<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223<CODE>&nbsp;void</CODE></FONT></TD>
224<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#run()">run</A></B>()</CODE>
225
226<BR>
227&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
228</TR>
229<TR BGCOLOR="white" CLASS="TableRowColor">
230<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231<CODE>&nbsp;void</CODE></FONT></TD>
232<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#setAbortable(boolean)">setAbortable</A></B>(boolean&nbsp;abortable)</CODE>
233
234<BR>
235&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets if the current request can be aborted.</TD>
236</TR>
237<TR BGCOLOR="white" CLASS="TableRowColor">
238<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239<CODE>&nbsp;void</CODE></FONT></TD>
240<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#setProgressMaximum(int)">setProgressMaximum</A></B>(int&nbsp;progressMaximum)</CODE>
241
242<BR>
243&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum progress value.</TD>
244</TR>
245<TR BGCOLOR="white" CLASS="TableRowColor">
246<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247<CODE>&nbsp;void</CODE></FONT></TD>
248<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#setProgressValue(int)">setProgressValue</A></B>(int&nbsp;progressValue)</CODE>
249
250<BR>
251&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the progress value.</TD>
252</TR>
253<TR BGCOLOR="white" CLASS="TableRowColor">
254<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255<CODE>&nbsp;void</CODE></FONT></TD>
256<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#setStatus(java.lang.String)">setStatus</A></B>(java.lang.String&nbsp;status)</CODE>
257
258<BR>
259&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the status text.</TD>
260</TR>
261</TABLE>
262&nbsp;<A NAME="methods_inherited_from_class_java.lang.Thread"><!-- --></A>
263<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
264<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
265<TH ALIGN="left"><B>Methods inherited from class java.lang.Thread</B></TH>
266</TR>
267<TR BGCOLOR="white" CLASS="TableRowColor">
268<TD><CODE>activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield</CODE></TD>
269</TR>
270</TABLE>
271&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
272<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
273<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
274<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
275</TR>
276<TR BGCOLOR="white" CLASS="TableRowColor">
277<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
278</TR>
279</TABLE>
280&nbsp;
281<P>
282
283<!-- ========= CONSTRUCTOR DETAIL ======== -->
284
285<A NAME="constructor_detail"><!-- --></A>
286<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
287<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
288<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
289<B>Constructor Detail</B></FONT></TH>
290</TR>
291</TABLE>
292
293<A NAME="WorkThread(org.gjt.sp.util.WorkThreadPool, java.lang.ThreadGroup, java.lang.String)"><!-- --></A><H3>
294WorkThread</H3>
295<PRE>
296public <B>WorkThread</B>(<A HREF="../../../../org/gjt/sp/util/WorkThreadPool.html" title="class in org.gjt.sp.util">WorkThreadPool</A>&nbsp;pool,
297                  java.lang.ThreadGroup&nbsp;group,
298                  java.lang.String&nbsp;name)</PRE>
299<DL>
300</DL>
301
302<!-- ============ METHOD DETAIL ========== -->
303
304<A NAME="method_detail"><!-- --></A>
305<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
306<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
307<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
308<B>Method Detail</B></FONT></TH>
309</TR>
310</TABLE>
311
312<A NAME="setAbortable(boolean)"><!-- --></A><H3>
313setAbortable</H3>
314<PRE>
315public void <B>setAbortable</B>(boolean&nbsp;abortable)</PRE>
316<DL>
317<DD>Sets if the current request can be aborted.
318 If set to true and already aborted, the thread will be stopped
319<P>
320<DD><DL>
321</DL>
322</DD>
323<DD><DL>
324<DT><B>Parameters:</B><DD><CODE>abortable</CODE> - true if the WorkThread is abortable<DT><B>Since:</B></DT>
325  <DD>jEdit 2.6pre1</DD>
326</DL>
327</DD>
328</DL>
329<HR>
330
331<A NAME="isRequestRunning()"><!-- --></A><H3>
332isRequestRunning</H3>
333<PRE>
334public boolean <B>isRequestRunning</B>()</PRE>
335<DL>
336<DD>Returns if the work thread is currently running a request.
337<P>
338<DD><DL>
339</DL>
340</DD>
341<DD><DL>
342
343<DT><B>Returns:</B><DD>true if a request is currently running</DL>
344</DD>
345</DL>
346<HR>
347
348<A NAME="isAborted()"><!-- --></A><H3>
349isAborted</H3>
350<PRE>
351public boolean <B>isAborted</B>()</PRE>
352<DL>
353<DD><DL>
354<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/gjt/sp/util/ThreadAbortMonitor.html#isAborted()">isAborted</A></CODE> in interface <CODE><A HREF="../../../../org/gjt/sp/util/ThreadAbortMonitor.html" title="interface in org.gjt.sp.util">ThreadAbortMonitor</A></CODE></DL>
355</DD>
356<DD><DL>
357</DL>
358</DD>
359</DL>
360<HR>
361
362<A NAME="getStatus()"><!-- --></A><H3>
363getStatus</H3>
364<PRE>
365public java.lang.String <B>getStatus</B>()</PRE>
366<DL>
367<DD>Returns the status text.
368<P>
369<DD><DL>
370</DL>
371</DD>
372<DD><DL>
373
374<DT><B>Returns:</B><DD>the status label</DL>
375</DD>
376</DL>
377<HR>
378
379<A NAME="setStatus(java.lang.String)"><!-- --></A><H3>
380setStatus</H3>
381<PRE>
382public void <B>setStatus</B>(java.lang.String&nbsp;status)</PRE>
383<DL>
384<DD>Sets the status text.
385<P>
386<DD><DL>
387</DL>
388</DD>
389<DD><DL>
390<DT><B>Parameters:</B><DD><CODE>status</CODE> - the new status of the thread<DT><B>Since:</B></DT>
391  <DD>jEdit 2.6pre1</DD>
392</DL>
393</DD>
394</DL>
395<HR>
396
397<A NAME="getProgressValue()"><!-- --></A><H3>
398getProgressValue</H3>
399<PRE>
400public int <B>getProgressValue</B>()</PRE>
401<DL>
402<DD>Returns the progress value.
403<P>
404<DD><DL>
405</DL>
406</DD>
407<DD><DL>
408
409<DT><B>Returns:</B><DD>the progress value</DL>
410</DD>
411</DL>
412<HR>
413
414<A NAME="setProgressValue(int)"><!-- --></A><H3>
415setProgressValue</H3>
416<PRE>
417public void <B>setProgressValue</B>(int&nbsp;progressValue)</PRE>
418<DL>
419<DD>Sets the progress value.
420<P>
421<DD><DL>
422</DL>
423</DD>
424<DD><DL>
425<DT><B>Parameters:</B><DD><CODE>progressValue</CODE> - the new progress value<DT><B>Since:</B></DT>
426  <DD>jEdit 2.6pre1</DD>
427</DL>
428</DD>
429</DL>
430<HR>
431
432<A NAME="getProgressMaximum()"><!-- --></A><H3>
433getProgressMaximum</H3>
434<PRE>
435public int <B>getProgressMaximum</B>()</PRE>
436<DL>
437<DD>Returns the progress maximum.
438<P>
439<DD><DL>
440</DL>
441</DD>
442<DD><DL>
443
444<DT><B>Returns:</B><DD>the maximum value of the progression</DL>
445</DD>
446</DL>
447<HR>
448
449<A NAME="setProgressMaximum(int)"><!-- --></A><H3>
450setProgressMaximum</H3>
451<PRE>
452public void <B>setProgressMaximum</B>(int&nbsp;progressMaximum)</PRE>
453<DL>
454<DD>Sets the maximum progress value.
455<P>
456<DD><DL>
457</DL>
458</DD>
459<DD><DL>
460<DT><B>Parameters:</B><DD><CODE>progressMaximum</CODE> - the maximum value of the progression<DT><B>Since:</B></DT>
461  <DD>jEdit 2.6pre1</DD>
462</DL>
463</DD>
464</DL>
465<HR>
466
467<A NAME="abortCurrentRequest()"><!-- --></A><H3>
468abortCurrentRequest</H3>
469<PRE>
470public void <B>abortCurrentRequest</B>()</PRE>
471<DL>
472<DD>Aborts the currently running request, if allowed.
473<P>
474<DD><DL>
475</DL>
476</DD>
477<DD><DL>
478<DT><B>Since:</B></DT>
479  <DD>jEdit 2.6pre1</DD>
480</DL>
481</DD>
482</DL>
483<HR>
484
485<A NAME="run()"><!-- --></A><H3>
486run</H3>
487<PRE>
488public void <B>run</B>()</PRE>
489<DL>
490<DD><DL>
491<DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE><DT><B>Overrides:</B><DD><CODE>run</CODE> in class <CODE>java.lang.Thread</CODE></DL>
492</DD>
493<DD><DL>
494</DL>
495</DD>
496</DL>
497<!-- ========= END OF CLASS DATA ========= -->
498<HR>
499
500
501<!-- ======= START OF BOTTOM NAVBAR ====== -->
502<A NAME="navbar_bottom"><!-- --></A>
503<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
504<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
505<TR>
506<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
507<A NAME="navbar_bottom_firstrow"><!-- --></A>
508<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
509  <TR ALIGN="center" VALIGN="top">
510  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
511  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
512  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
513  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/WorkThread.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
514  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
515  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
516  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
517  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
518  </TR>
519</TABLE>
520</TD>
521<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
522</EM>
523</TD>
524</TR>
525
526<TR>
527<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
528&nbsp;<A HREF="../../../../org/gjt/sp/util/WorkRequest.html" title="class in org.gjt.sp.util"><B>PREV CLASS</B></A>&nbsp;
529&nbsp;<A HREF="../../../../org/gjt/sp/util/WorkThread.Abort.html" title="class in org.gjt.sp.util"><B>NEXT CLASS</B></A></FONT></TD>
530<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
531  <A HREF="../../../../index.html?org/gjt/sp/util/WorkThread.html" target="_top"><B>FRAMES</B></A>  &nbsp;
532&nbsp;<A HREF="WorkThread.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
533&nbsp;
534<NOSCRIPT>
535  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
536</NOSCRIPT>
537
538
539</FONT></TD>
540</TR>
541<TR>
542<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
543  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.lang.Thread">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
544<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
545DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
546</TR>
547</TABLE>
548<A NAME="skip-navbar_bottom"></A>
549<!-- ======== END OF BOTTOM NAVBAR ======= -->
550
551<HR>
552
553</BODY>
554</HTML>