PageRenderTime 48ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/gui/HistoryText.html

#
HTML | 595 lines | 516 code | 67 blank | 12 comment | 0 complexity | 184088360dc778cafdac7058eb92ff1f 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:13:56 GMT-08:00 2008 -->
  6. <TITLE>
  7. HistoryText (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.gui.HistoryText 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/HistoryText.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/jedit/gui/HistoryModelSaver.html" title="interface in org.gjt.sp.jedit.gui"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryTextArea.html" title="class in org.gjt.sp.jedit.gui"><B>NEXT CLASS</B></A></FONT></TD>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. <A HREF="../../../../../index.html?org/gjt/sp/jedit/gui/HistoryText.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="HistoryText.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;<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.jedit.gui</FONT>
  66. <BR>
  67. Class HistoryText</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.gui.HistoryText</B>
  71. </PRE>
  72. <HR>
  73. <DL>
  74. <DT><PRE>public class <B>HistoryText</B><DT>extends java.lang.Object</DL>
  75. </PRE>
  76. <P>
  77. Controller (manager of models) for HistoryTextArea.
  78. <P>
  79. <P>
  80. <HR>
  81. <P>
  82. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  83. <A NAME="constructor_summary"><!-- --></A>
  84. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  85. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  86. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  87. <B>Constructor Summary</B></FONT></TH>
  88. </TR>
  89. <TR BGCOLOR="white" CLASS="TableRowColor">
  90. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#HistoryText(javax.swing.text.JTextComponent, java.lang.String)">HistoryText</A></B>(javax.swing.text.JTextComponent&nbsp;text,
  91. java.lang.String&nbsp;name)</CODE>
  92. <BR>
  93. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  94. </TR>
  95. </TABLE>
  96. &nbsp;
  97. <!-- ========== METHOD SUMMARY =========== -->
  98. <A NAME="method_summary"><!-- --></A>
  99. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  100. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  101. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  102. <B>Method Summary</B></FONT></TH>
  103. </TR>
  104. <TR BGCOLOR="white" CLASS="TableRowColor">
  105. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  106. <CODE>&nbsp;void</CODE></FONT></TD>
  107. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#addCurrentToHistory()">addCurrentToHistory</A></B>()</CODE>
  108. <BR>
  109. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the currently entered item to the history.</TD>
  110. </TR>
  111. <TR BGCOLOR="white" CLASS="TableRowColor">
  112. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  113. <CODE>&nbsp;void</CODE></FONT></TD>
  114. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#doBackwardSearch()">doBackwardSearch</A></B>()</CODE>
  115. <BR>
  116. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  117. </TR>
  118. <TR BGCOLOR="white" CLASS="TableRowColor">
  119. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  120. <CODE>&nbsp;void</CODE></FONT></TD>
  121. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#doForwardSearch()">doForwardSearch</A></B>()</CODE>
  122. <BR>
  123. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  124. </TR>
  125. <TR BGCOLOR="white" CLASS="TableRowColor">
  126. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  127. <CODE>&nbsp;void</CODE></FONT></TD>
  128. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#fireActionPerformed()">fireActionPerformed</A></B>()</CODE>
  129. <BR>
  130. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  131. </TR>
  132. <TR BGCOLOR="white" CLASS="TableRowColor">
  133. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  134. <CODE>&nbsp;javax.swing.text.Document</CODE></FONT></TD>
  135. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#getDocument()">getDocument</A></B>()</CODE>
  136. <BR>
  137. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  138. </TR>
  139. <TR BGCOLOR="white" CLASS="TableRowColor">
  140. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  141. <CODE>&nbsp;int</CODE></FONT></TD>
  142. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#getIndex()">getIndex</A></B>()</CODE>
  143. <BR>
  144. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  145. </TR>
  146. <TR BGCOLOR="white" CLASS="TableRowColor">
  147. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  148. <CODE>&nbsp;int</CODE></FONT></TD>
  149. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#getInputStart()">getInputStart</A></B>()</CODE>
  150. <BR>
  151. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subclasses can override this to provide funky history behavior,
  152. for JTextPanes and such.</TD>
  153. </TR>
  154. <TR BGCOLOR="white" CLASS="TableRowColor">
  155. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  156. <CODE>&nbsp;boolean</CODE></FONT></TD>
  157. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#getInstantPopups()">getInstantPopups</A></B>()</CODE>
  158. <BR>
  159. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if selecting a value from the popup should immediately fire
  160. an ActionEvent.</TD>
  161. </TR>
  162. <TR BGCOLOR="white" CLASS="TableRowColor">
  163. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  164. <CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryModel.html" title="class in org.gjt.sp.jedit.gui">HistoryModel</A></CODE></FONT></TD>
  165. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#getModel()">getModel</A></B>()</CODE>
  166. <BR>
  167. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the underlying history controller.</TD>
  168. </TR>
  169. <TR BGCOLOR="white" CLASS="TableRowColor">
  170. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  171. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  172. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#getText()">getText</A></B>()</CODE>
  173. <BR>
  174. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subclasses can override this to provide funky history behavior,
  175. for JTextPanes and such.</TD>
  176. </TR>
  177. <TR BGCOLOR="white" CLASS="TableRowColor">
  178. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  179. <CODE>&nbsp;void</CODE></FONT></TD>
  180. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#historyNext()">historyNext</A></B>()</CODE>
  181. <BR>
  182. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  183. </TR>
  184. <TR BGCOLOR="white" CLASS="TableRowColor">
  185. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  186. <CODE>&nbsp;void</CODE></FONT></TD>
  187. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#historyPrevious()">historyPrevious</A></B>()</CODE>
  188. <BR>
  189. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  190. </TR>
  191. <TR BGCOLOR="white" CLASS="TableRowColor">
  192. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  193. <CODE>&nbsp;void</CODE></FONT></TD>
  194. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#setIndex(int)">setIndex</A></B>(int&nbsp;index)</CODE>
  195. <BR>
  196. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  197. </TR>
  198. <TR BGCOLOR="white" CLASS="TableRowColor">
  199. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  200. <CODE>&nbsp;void</CODE></FONT></TD>
  201. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#setInstantPopups(boolean)">setInstantPopups</A></B>(boolean&nbsp;instantPopups)</CODE>
  202. <BR>
  203. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets if selecting a value from the popup should immediately fire
  204. an ActionEvent.</TD>
  205. </TR>
  206. <TR BGCOLOR="white" CLASS="TableRowColor">
  207. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  208. <CODE>&nbsp;void</CODE></FONT></TD>
  209. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#setModel(java.lang.String)">setModel</A></B>(java.lang.String&nbsp;name)</CODE>
  210. <BR>
  211. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the history list controller.</TD>
  212. </TR>
  213. <TR BGCOLOR="white" CLASS="TableRowColor">
  214. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  215. <CODE>&nbsp;void</CODE></FONT></TD>
  216. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#setText(java.lang.String)">setText</A></B>(java.lang.String&nbsp;text)</CODE>
  217. <BR>
  218. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subclasses can override this to provide funky history behavior,
  219. for JTextPanes and such.</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/jedit/gui/HistoryText.html#showPopupMenu(boolean)">showPopupMenu</A></B>(boolean&nbsp;search)</CODE>
  225. <BR>
  226. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  227. </TR>
  228. <TR BGCOLOR="white" CLASS="TableRowColor">
  229. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  230. <CODE>&nbsp;void</CODE></FONT></TD>
  231. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryText.html#showPopupMenu(java.lang.String, int, int)">showPopupMenu</A></B>(java.lang.String&nbsp;t,
  232. int&nbsp;x,
  233. int&nbsp;y)</CODE>
  234. <BR>
  235. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  236. </TR>
  237. </TABLE>
  238. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  239. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  240. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  241. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  242. </TR>
  243. <TR BGCOLOR="white" CLASS="TableRowColor">
  244. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  245. </TR>
  246. </TABLE>
  247. &nbsp;
  248. <P>
  249. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  250. <A NAME="constructor_detail"><!-- --></A>
  251. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  252. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  253. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  254. <B>Constructor Detail</B></FONT></TH>
  255. </TR>
  256. </TABLE>
  257. <A NAME="HistoryText(javax.swing.text.JTextComponent, java.lang.String)"><!-- --></A><H3>
  258. HistoryText</H3>
  259. <PRE>
  260. public <B>HistoryText</B>(javax.swing.text.JTextComponent&nbsp;text,
  261. java.lang.String&nbsp;name)</PRE>
  262. <DL>
  263. </DL>
  264. <!-- ============ METHOD DETAIL ========== -->
  265. <A NAME="method_detail"><!-- --></A>
  266. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  267. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  268. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  269. <B>Method Detail</B></FONT></TH>
  270. </TR>
  271. </TABLE>
  272. <A NAME="fireActionPerformed()"><!-- --></A><H3>
  273. fireActionPerformed</H3>
  274. <PRE>
  275. public void <B>fireActionPerformed</B>()</PRE>
  276. <DL>
  277. <DD><DL>
  278. </DL>
  279. </DD>
  280. </DL>
  281. <HR>
  282. <A NAME="getIndex()"><!-- --></A><H3>
  283. getIndex</H3>
  284. <PRE>
  285. public int <B>getIndex</B>()</PRE>
  286. <DL>
  287. <DD><DL>
  288. </DL>
  289. </DD>
  290. </DL>
  291. <HR>
  292. <A NAME="setIndex(int)"><!-- --></A><H3>
  293. setIndex</H3>
  294. <PRE>
  295. public void <B>setIndex</B>(int&nbsp;index)</PRE>
  296. <DL>
  297. <DD><DL>
  298. </DL>
  299. </DD>
  300. </DL>
  301. <HR>
  302. <A NAME="getModel()"><!-- --></A><H3>
  303. getModel</H3>
  304. <PRE>
  305. public <A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryModel.html" title="class in org.gjt.sp.jedit.gui">HistoryModel</A> <B>getModel</B>()</PRE>
  306. <DL>
  307. <DD>Returns the underlying history controller.
  308. <P>
  309. <DD><DL>
  310. <DT><B>Since:</B></DT>
  311. <DD>jEdit 4.3pre1</DD>
  312. </DL>
  313. </DD>
  314. </DL>
  315. <HR>
  316. <A NAME="setModel(java.lang.String)"><!-- --></A><H3>
  317. setModel</H3>
  318. <PRE>
  319. public void <B>setModel</B>(java.lang.String&nbsp;name)</PRE>
  320. <DL>
  321. <DD>Sets the history list controller.
  322. <P>
  323. <DD><DL>
  324. <DT><B>Parameters:</B><DD><CODE>name</CODE> - The model name<DT><B>Since:</B></DT>
  325. <DD>jEdit 4.3pre1</DD>
  326. </DL>
  327. </DD>
  328. </DL>
  329. <HR>
  330. <A NAME="setInstantPopups(boolean)"><!-- --></A><H3>
  331. setInstantPopups</H3>
  332. <PRE>
  333. public void <B>setInstantPopups</B>(boolean&nbsp;instantPopups)</PRE>
  334. <DL>
  335. <DD>Sets if selecting a value from the popup should immediately fire
  336. an ActionEvent.
  337. <P>
  338. <DD><DL>
  339. </DL>
  340. </DD>
  341. </DL>
  342. <HR>
  343. <A NAME="getInstantPopups()"><!-- --></A><H3>
  344. getInstantPopups</H3>
  345. <PRE>
  346. public boolean <B>getInstantPopups</B>()</PRE>
  347. <DL>
  348. <DD>Returns if selecting a value from the popup should immediately fire
  349. an ActionEvent.
  350. <P>
  351. <DD><DL>
  352. </DL>
  353. </DD>
  354. </DL>
  355. <HR>
  356. <A NAME="addCurrentToHistory()"><!-- --></A><H3>
  357. addCurrentToHistory</H3>
  358. <PRE>
  359. public void <B>addCurrentToHistory</B>()</PRE>
  360. <DL>
  361. <DD>Adds the currently entered item to the history.
  362. <P>
  363. <DD><DL>
  364. </DL>
  365. </DD>
  366. </DL>
  367. <HR>
  368. <A NAME="doBackwardSearch()"><!-- --></A><H3>
  369. doBackwardSearch</H3>
  370. <PRE>
  371. public void <B>doBackwardSearch</B>()</PRE>
  372. <DL>
  373. <DD><DL>
  374. </DL>
  375. </DD>
  376. </DL>
  377. <HR>
  378. <A NAME="doForwardSearch()"><!-- --></A><H3>
  379. doForwardSearch</H3>
  380. <PRE>
  381. public void <B>doForwardSearch</B>()</PRE>
  382. <DL>
  383. <DD><DL>
  384. </DL>
  385. </DD>
  386. </DL>
  387. <HR>
  388. <A NAME="historyPrevious()"><!-- --></A><H3>
  389. historyPrevious</H3>
  390. <PRE>
  391. public void <B>historyPrevious</B>()</PRE>
  392. <DL>
  393. <DD><DL>
  394. </DL>
  395. </DD>
  396. </DL>
  397. <HR>
  398. <A NAME="historyNext()"><!-- --></A><H3>
  399. historyNext</H3>
  400. <PRE>
  401. public void <B>historyNext</B>()</PRE>
  402. <DL>
  403. <DD><DL>
  404. </DL>
  405. </DD>
  406. </DL>
  407. <HR>
  408. <A NAME="getDocument()"><!-- --></A><H3>
  409. getDocument</H3>
  410. <PRE>
  411. public javax.swing.text.Document <B>getDocument</B>()</PRE>
  412. <DL>
  413. <DD><DL>
  414. </DL>
  415. </DD>
  416. </DL>
  417. <HR>
  418. <A NAME="getText()"><!-- --></A><H3>
  419. getText</H3>
  420. <PRE>
  421. public java.lang.String <B>getText</B>()</PRE>
  422. <DL>
  423. <DD>Subclasses can override this to provide funky history behavior,
  424. for JTextPanes and such.
  425. <P>
  426. <DD><DL>
  427. </DL>
  428. </DD>
  429. </DL>
  430. <HR>
  431. <A NAME="setText(java.lang.String)"><!-- --></A><H3>
  432. setText</H3>
  433. <PRE>
  434. public void <B>setText</B>(java.lang.String&nbsp;text)</PRE>
  435. <DL>
  436. <DD>Subclasses can override this to provide funky history behavior,
  437. for JTextPanes and such.
  438. <P>
  439. <DD><DL>
  440. </DL>
  441. </DD>
  442. </DL>
  443. <HR>
  444. <A NAME="getInputStart()"><!-- --></A><H3>
  445. getInputStart</H3>
  446. <PRE>
  447. public int <B>getInputStart</B>()</PRE>
  448. <DL>
  449. <DD>Subclasses can override this to provide funky history behavior,
  450. for JTextPanes and such.
  451. <P>
  452. <DD><DL>
  453. </DL>
  454. </DD>
  455. </DL>
  456. <HR>
  457. <A NAME="showPopupMenu(java.lang.String, int, int)"><!-- --></A><H3>
  458. showPopupMenu</H3>
  459. <PRE>
  460. public void <B>showPopupMenu</B>(java.lang.String&nbsp;t,
  461. int&nbsp;x,
  462. int&nbsp;y)</PRE>
  463. <DL>
  464. <DD><DL>
  465. </DL>
  466. </DD>
  467. </DL>
  468. <HR>
  469. <A NAME="showPopupMenu(boolean)"><!-- --></A><H3>
  470. showPopupMenu</H3>
  471. <PRE>
  472. public void <B>showPopupMenu</B>(boolean&nbsp;search)</PRE>
  473. <DL>
  474. <DD><DL>
  475. </DL>
  476. </DD>
  477. </DL>
  478. <!-- ========= END OF CLASS DATA ========= -->
  479. <HR>
  480. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  481. <A NAME="navbar_bottom"><!-- --></A>
  482. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  483. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  484. <TR>
  485. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  486. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  487. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  488. <TR ALIGN="center" VALIGN="top">
  489. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  490. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  491. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  492. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/HistoryText.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  493. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  494. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  495. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  496. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  497. </TR>
  498. </TABLE>
  499. </TD>
  500. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  501. </EM>
  502. </TD>
  503. </TR>
  504. <TR>
  505. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  506. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryModelSaver.html" title="interface in org.gjt.sp.jedit.gui"><B>PREV CLASS</B></A>&nbsp;
  507. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/HistoryTextArea.html" title="class in org.gjt.sp.jedit.gui"><B>NEXT CLASS</B></A></FONT></TD>
  508. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  509. <A HREF="../../../../../index.html?org/gjt/sp/jedit/gui/HistoryText.html" target="_top"><B>FRAMES</B></A> &nbsp;
  510. &nbsp;<A HREF="HistoryText.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  511. &nbsp;
  512. <NOSCRIPT>
  513. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  514. </NOSCRIPT>
  515. </FONT></TD>
  516. </TR>
  517. <TR>
  518. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  519. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  520. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  521. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  522. </TR>
  523. </TABLE>
  524. <A NAME="skip-navbar_bottom"></A>
  525. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  526. <HR>
  527. </BODY>
  528. </HTML>