PageRenderTime 52ms CodeModel.GetById 20ms RepoModel.GetById 1ms 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
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:17 GMT-08:00 2008 -->
  6. <TITLE>
  7. WorkThread (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.util.WorkThread class">
  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/WorkThread.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/WorkRequest.html" title="class in org.gjt.sp.util"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../org/gjt/sp/util/WorkThread.Abort.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/WorkThread.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="WorkThread.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;<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>
  55. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  56. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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. Class WorkThread</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Thread
  71. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.util.WorkThread</B>
  72. </PRE>
  73. <DL>
  74. <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>
  75. </DL>
  76. <HR>
  77. <DL>
  78. <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>
  79. </PRE>
  80. <P>
  81. Services work requests in the background.
  82. <P>
  83. <P>
  84. <HR>
  85. <P>
  86. <!-- ======== NESTED CLASS SUMMARY ======== -->
  87. <A NAME="nested_class_summary"><!-- --></A>
  88. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  89. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  90. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  91. <B>Nested Class Summary</B></FONT></TH>
  92. </TR>
  93. <TR BGCOLOR="white" CLASS="TableRowColor">
  94. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  95. <CODE>static&nbsp;class</CODE></FONT></TD>
  96. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.Abort.html" title="class in org.gjt.sp.util">WorkThread.Abort</A></B></CODE>
  97. <BR>
  98. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  99. </TR>
  100. </TABLE>
  101. &nbsp;<A NAME="nested_classes_inherited_from_class_java.lang.Thread"><!-- --></A>
  102. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  103. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  104. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.lang.Thread</B></TH>
  105. </TR>
  106. <TR BGCOLOR="white" CLASS="TableRowColor">
  107. <TD><CODE>java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler</CODE></TD>
  108. </TR>
  109. </TABLE>
  110. &nbsp;
  111. <!-- =========== FIELD SUMMARY =========== -->
  112. <A NAME="field_summary"><!-- --></A>
  113. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  114. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  115. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  116. <B>Field Summary</B></FONT></TH>
  117. </TR>
  118. </TABLE>
  119. &nbsp;<A NAME="fields_inherited_from_class_java.lang.Thread"><!-- --></A>
  120. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  121. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  122. <TH ALIGN="left"><B>Fields inherited from class java.lang.Thread</B></TH>
  123. </TR>
  124. <TR BGCOLOR="white" CLASS="TableRowColor">
  125. <TD><CODE>MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY</CODE></TD>
  126. </TR>
  127. </TABLE>
  128. &nbsp;
  129. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  130. <A NAME="constructor_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>Constructor Summary</B></FONT></TH>
  135. </TR>
  136. <TR BGCOLOR="white" CLASS="TableRowColor">
  137. <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,
  138. java.lang.ThreadGroup&nbsp;group,
  139. java.lang.String&nbsp;name)</CODE>
  140. <BR>
  141. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  142. </TR>
  143. </TABLE>
  144. &nbsp;
  145. <!-- ========== METHOD SUMMARY =========== -->
  146. <A NAME="method_summary"><!-- --></A>
  147. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  148. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  149. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  150. <B>Method Summary</B></FONT></TH>
  151. </TR>
  152. <TR BGCOLOR="white" CLASS="TableRowColor">
  153. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  154. <CODE>&nbsp;void</CODE></FONT></TD>
  155. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#abortCurrentRequest()">abortCurrentRequest</A></B>()</CODE>
  156. <BR>
  157. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aborts the currently running request, if allowed.</TD>
  158. </TR>
  159. <TR BGCOLOR="white" CLASS="TableRowColor">
  160. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  161. <CODE>&nbsp;int</CODE></FONT></TD>
  162. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#getProgressMaximum()">getProgressMaximum</A></B>()</CODE>
  163. <BR>
  164. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the progress maximum.</TD>
  165. </TR>
  166. <TR BGCOLOR="white" CLASS="TableRowColor">
  167. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  168. <CODE>&nbsp;int</CODE></FONT></TD>
  169. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#getProgressValue()">getProgressValue</A></B>()</CODE>
  170. <BR>
  171. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the progress value.</TD>
  172. </TR>
  173. <TR BGCOLOR="white" CLASS="TableRowColor">
  174. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  175. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  176. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#getStatus()">getStatus</A></B>()</CODE>
  177. <BR>
  178. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the status text.</TD>
  179. </TR>
  180. <TR BGCOLOR="white" CLASS="TableRowColor">
  181. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  182. <CODE>&nbsp;boolean</CODE></FONT></TD>
  183. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#isAborted()">isAborted</A></B>()</CODE>
  184. <BR>
  185. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  186. </TR>
  187. <TR BGCOLOR="white" CLASS="TableRowColor">
  188. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  189. <CODE>&nbsp;boolean</CODE></FONT></TD>
  190. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#isRequestRunning()">isRequestRunning</A></B>()</CODE>
  191. <BR>
  192. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if the work thread is currently running a request.</TD>
  193. </TR>
  194. <TR BGCOLOR="white" CLASS="TableRowColor">
  195. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  196. <CODE>&nbsp;void</CODE></FONT></TD>
  197. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#run()">run</A></B>()</CODE>
  198. <BR>
  199. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  200. </TR>
  201. <TR BGCOLOR="white" CLASS="TableRowColor">
  202. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  203. <CODE>&nbsp;void</CODE></FONT></TD>
  204. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#setAbortable(boolean)">setAbortable</A></B>(boolean&nbsp;abortable)</CODE>
  205. <BR>
  206. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets if the current request can be aborted.</TD>
  207. </TR>
  208. <TR BGCOLOR="white" CLASS="TableRowColor">
  209. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  210. <CODE>&nbsp;void</CODE></FONT></TD>
  211. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#setProgressMaximum(int)">setProgressMaximum</A></B>(int&nbsp;progressMaximum)</CODE>
  212. <BR>
  213. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum progress value.</TD>
  214. </TR>
  215. <TR BGCOLOR="white" CLASS="TableRowColor">
  216. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  217. <CODE>&nbsp;void</CODE></FONT></TD>
  218. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#setProgressValue(int)">setProgressValue</A></B>(int&nbsp;progressValue)</CODE>
  219. <BR>
  220. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the progress value.</TD>
  221. </TR>
  222. <TR BGCOLOR="white" CLASS="TableRowColor">
  223. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  224. <CODE>&nbsp;void</CODE></FONT></TD>
  225. <TD><CODE><B><A HREF="../../../../org/gjt/sp/util/WorkThread.html#setStatus(java.lang.String)">setStatus</A></B>(java.lang.String&nbsp;status)</CODE>
  226. <BR>
  227. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the status text.</TD>
  228. </TR>
  229. </TABLE>
  230. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Thread"><!-- --></A>
  231. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  232. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  233. <TH ALIGN="left"><B>Methods inherited from class java.lang.Thread</B></TH>
  234. </TR>
  235. <TR BGCOLOR="white" CLASS="TableRowColor">
  236. <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>
  237. </TR>
  238. </TABLE>
  239. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  240. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  241. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  242. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  243. </TR>
  244. <TR BGCOLOR="white" CLASS="TableRowColor">
  245. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  246. </TR>
  247. </TABLE>
  248. &nbsp;
  249. <P>
  250. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  251. <A NAME="constructor_detail"><!-- --></A>
  252. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  253. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  254. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  255. <B>Constructor Detail</B></FONT></TH>
  256. </TR>
  257. </TABLE>
  258. <A NAME="WorkThread(org.gjt.sp.util.WorkThreadPool, java.lang.ThreadGroup, java.lang.String)"><!-- --></A><H3>
  259. WorkThread</H3>
  260. <PRE>
  261. public <B>WorkThread</B>(<A HREF="../../../../org/gjt/sp/util/WorkThreadPool.html" title="class in org.gjt.sp.util">WorkThreadPool</A>&nbsp;pool,
  262. java.lang.ThreadGroup&nbsp;group,
  263. java.lang.String&nbsp;name)</PRE>
  264. <DL>
  265. </DL>
  266. <!-- ============ METHOD DETAIL ========== -->
  267. <A NAME="method_detail"><!-- --></A>
  268. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  269. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  270. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  271. <B>Method Detail</B></FONT></TH>
  272. </TR>
  273. </TABLE>
  274. <A NAME="setAbortable(boolean)"><!-- --></A><H3>
  275. setAbortable</H3>
  276. <PRE>
  277. public void <B>setAbortable</B>(boolean&nbsp;abortable)</PRE>
  278. <DL>
  279. <DD>Sets if the current request can be aborted.
  280. If set to true and already aborted, the thread will be stopped
  281. <P>
  282. <DD><DL>
  283. </DL>
  284. </DD>
  285. <DD><DL>
  286. <DT><B>Parameters:</B><DD><CODE>abortable</CODE> - true if the WorkThread is abortable<DT><B>Since:</B></DT>
  287. <DD>jEdit 2.6pre1</DD>
  288. </DL>
  289. </DD>
  290. </DL>
  291. <HR>
  292. <A NAME="isRequestRunning()"><!-- --></A><H3>
  293. isRequestRunning</H3>
  294. <PRE>
  295. public boolean <B>isRequestRunning</B>()</PRE>
  296. <DL>
  297. <DD>Returns if the work thread is currently running a request.
  298. <P>
  299. <DD><DL>
  300. </DL>
  301. </DD>
  302. <DD><DL>
  303. <DT><B>Returns:</B><DD>true if a request is currently running</DL>
  304. </DD>
  305. </DL>
  306. <HR>
  307. <A NAME="isAborted()"><!-- --></A><H3>
  308. isAborted</H3>
  309. <PRE>
  310. public boolean <B>isAborted</B>()</PRE>
  311. <DL>
  312. <DD><DL>
  313. <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>
  314. </DD>
  315. <DD><DL>
  316. </DL>
  317. </DD>
  318. </DL>
  319. <HR>
  320. <A NAME="getStatus()"><!-- --></A><H3>
  321. getStatus</H3>
  322. <PRE>
  323. public java.lang.String <B>getStatus</B>()</PRE>
  324. <DL>
  325. <DD>Returns the status text.
  326. <P>
  327. <DD><DL>
  328. </DL>
  329. </DD>
  330. <DD><DL>
  331. <DT><B>Returns:</B><DD>the status label</DL>
  332. </DD>
  333. </DL>
  334. <HR>
  335. <A NAME="setStatus(java.lang.String)"><!-- --></A><H3>
  336. setStatus</H3>
  337. <PRE>
  338. public void <B>setStatus</B>(java.lang.String&nbsp;status)</PRE>
  339. <DL>
  340. <DD>Sets the status text.
  341. <P>
  342. <DD><DL>
  343. </DL>
  344. </DD>
  345. <DD><DL>
  346. <DT><B>Parameters:</B><DD><CODE>status</CODE> - the new status of the thread<DT><B>Since:</B></DT>
  347. <DD>jEdit 2.6pre1</DD>
  348. </DL>
  349. </DD>
  350. </DL>
  351. <HR>
  352. <A NAME="getProgressValue()"><!-- --></A><H3>
  353. getProgressValue</H3>
  354. <PRE>
  355. public int <B>getProgressValue</B>()</PRE>
  356. <DL>
  357. <DD>Returns the progress value.
  358. <P>
  359. <DD><DL>
  360. </DL>
  361. </DD>
  362. <DD><DL>
  363. <DT><B>Returns:</B><DD>the progress value</DL>
  364. </DD>
  365. </DL>
  366. <HR>
  367. <A NAME="setProgressValue(int)"><!-- --></A><H3>
  368. setProgressValue</H3>
  369. <PRE>
  370. public void <B>setProgressValue</B>(int&nbsp;progressValue)</PRE>
  371. <DL>
  372. <DD>Sets the progress value.
  373. <P>
  374. <DD><DL>
  375. </DL>
  376. </DD>
  377. <DD><DL>
  378. <DT><B>Parameters:</B><DD><CODE>progressValue</CODE> - the new progress value<DT><B>Since:</B></DT>
  379. <DD>jEdit 2.6pre1</DD>
  380. </DL>
  381. </DD>
  382. </DL>
  383. <HR>
  384. <A NAME="getProgressMaximum()"><!-- --></A><H3>
  385. getProgressMaximum</H3>
  386. <PRE>
  387. public int <B>getProgressMaximum</B>()</PRE>
  388. <DL>
  389. <DD>Returns the progress maximum.
  390. <P>
  391. <DD><DL>
  392. </DL>
  393. </DD>
  394. <DD><DL>
  395. <DT><B>Returns:</B><DD>the maximum value of the progression</DL>
  396. </DD>
  397. </DL>
  398. <HR>
  399. <A NAME="setProgressMaximum(int)"><!-- --></A><H3>
  400. setProgressMaximum</H3>
  401. <PRE>
  402. public void <B>setProgressMaximum</B>(int&nbsp;progressMaximum)</PRE>
  403. <DL>
  404. <DD>Sets the maximum progress value.
  405. <P>
  406. <DD><DL>
  407. </DL>
  408. </DD>
  409. <DD><DL>
  410. <DT><B>Parameters:</B><DD><CODE>progressMaximum</CODE> - the maximum value of the progression<DT><B>Since:</B></DT>
  411. <DD>jEdit 2.6pre1</DD>
  412. </DL>
  413. </DD>
  414. </DL>
  415. <HR>
  416. <A NAME="abortCurrentRequest()"><!-- --></A><H3>
  417. abortCurrentRequest</H3>
  418. <PRE>
  419. public void <B>abortCurrentRequest</B>()</PRE>
  420. <DL>
  421. <DD>Aborts the currently running request, if allowed.
  422. <P>
  423. <DD><DL>
  424. </DL>
  425. </DD>
  426. <DD><DL>
  427. <DT><B>Since:</B></DT>
  428. <DD>jEdit 2.6pre1</DD>
  429. </DL>
  430. </DD>
  431. </DL>
  432. <HR>
  433. <A NAME="run()"><!-- --></A><H3>
  434. run</H3>
  435. <PRE>
  436. public void <B>run</B>()</PRE>
  437. <DL>
  438. <DD><DL>
  439. <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>
  440. </DD>
  441. <DD><DL>
  442. </DL>
  443. </DD>
  444. </DL>
  445. <!-- ========= END OF CLASS DATA ========= -->
  446. <HR>
  447. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  448. <A NAME="navbar_bottom"><!-- --></A>
  449. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  450. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  451. <TR>
  452. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  453. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  454. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  455. <TR ALIGN="center" VALIGN="top">
  456. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  457. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  458. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  459. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/WorkThread.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  460. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  461. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  462. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  463. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  464. </TR>
  465. </TABLE>
  466. </TD>
  467. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  468. </EM>
  469. </TD>
  470. </TR>
  471. <TR>
  472. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  473. &nbsp;<A HREF="../../../../org/gjt/sp/util/WorkRequest.html" title="class in org.gjt.sp.util"><B>PREV CLASS</B></A>&nbsp;
  474. &nbsp;<A HREF="../../../../org/gjt/sp/util/WorkThread.Abort.html" title="class in org.gjt.sp.util"><B>NEXT CLASS</B></A></FONT></TD>
  475. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  476. <A HREF="../../../../index.html?org/gjt/sp/util/WorkThread.html" target="_top"><B>FRAMES</B></A> &nbsp;
  477. &nbsp;<A HREF="WorkThread.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  478. &nbsp;
  479. <NOSCRIPT>
  480. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  481. </NOSCRIPT>
  482. </FONT></TD>
  483. </TR>
  484. <TR>
  485. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  486. 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>
  487. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  488. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  489. </TR>
  490. </TABLE>
  491. <A NAME="skip-navbar_bottom"></A>
  492. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  493. <HR>
  494. </BODY>
  495. </HTML>