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

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/input/AbstractInputHandler.html

#
HTML | 896 lines | 788 code | 94 blank | 14 comment | 0 complexity | bac8c1e73128a4617497414429801d81 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:02 GMT-08:00 2008 -->
  6. <TITLE>
  7. AbstractInputHandler (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.input.AbstractInputHandler 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/AbstractInputHandler.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;PREV CLASS&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/input/DefaultInputHandlerProvider.html" title="class in org.gjt.sp.jedit.input"><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/input/AbstractInputHandler.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="AbstractInputHandler.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;<A HREF="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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.input</FONT>
  66. <BR>
  67. Class AbstractInputHandler&lt;E extends <A HREF="../../../../../org/gjt/sp/jedit/JEditAbstractEditAction.html" title="class in org.gjt.sp.jedit">JEditAbstractEditAction</A>&gt;</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.input.AbstractInputHandler&lt;E&gt;</B>
  71. </PRE>
  72. <DL>
  73. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/gui/InputHandler.html" title="class in org.gjt.sp.jedit.gui">InputHandler</A>, <A HREF="../../../../../org/gjt/sp/jedit/input/TextAreaInputHandler.html" title="class in org.gjt.sp.jedit.input">TextAreaInputHandler</A></DD>
  74. </DL>
  75. <HR>
  76. <DL>
  77. <DT><PRE>public abstract class <B>AbstractInputHandler&lt;E extends <A HREF="../../../../../org/gjt/sp/jedit/JEditAbstractEditAction.html" title="class in org.gjt.sp.jedit">JEditAbstractEditAction</A>&gt;</B><DT>extends java.lang.Object</DL>
  78. </PRE>
  79. <P>
  80. The abstract input handler manage the keyboard handling.
  81. The entry point is
  82. <A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#processKeyEvent(java.awt.event.KeyEvent, int, boolean)"><CODE>processKeyEvent(java.awt.event.KeyEvent, int, boolean)</CODE></A>
  83. <P>
  84. <P>
  85. <HR>
  86. <P>
  87. <!-- =========== FIELD SUMMARY =========== -->
  88. <A NAME="field_summary"><!-- --></A>
  89. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  90. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  91. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  92. <B>Field Summary</B></FONT></TH>
  93. </TR>
  94. <TR BGCOLOR="white" CLASS="TableRowColor">
  95. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  96. <CODE>protected &nbsp;java.util.Hashtable</CODE></FONT></TD>
  97. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#bindings">bindings</A></B></CODE>
  98. <BR>
  99. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  100. </TR>
  101. <TR BGCOLOR="white" CLASS="TableRowColor">
  102. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  103. <CODE>protected &nbsp;java.util.Hashtable</CODE></FONT></TD>
  104. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#currentBindings">currentBindings</A></B></CODE>
  105. <BR>
  106. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  107. </TR>
  108. <TR BGCOLOR="white" CLASS="TableRowColor">
  109. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  110. <CODE>protected &nbsp;java.awt.event.KeyListener</CODE></FONT></TD>
  111. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#keyEventInterceptor">keyEventInterceptor</A></B></CODE>
  112. <BR>
  113. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This listener will receive keyboard events if it is not null.</TD>
  114. </TR>
  115. <TR BGCOLOR="white" CLASS="TableRowColor">
  116. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  117. <CODE>protected &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html" title="type parameter in AbstractInputHandler">E</A></CODE></FONT></TD>
  118. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#lastAction">lastAction</A></B></CODE>
  119. <BR>
  120. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  121. </TR>
  122. <TR BGCOLOR="white" CLASS="TableRowColor">
  123. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  124. <CODE>protected &nbsp;int</CODE></FONT></TD>
  125. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#lastActionCount">lastActionCount</A></B></CODE>
  126. <BR>
  127. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  131. <CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
  132. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#PREFIX_STR">PREFIX_STR</A></B></CODE>
  133. <BR>
  134. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  135. </TR>
  136. <TR BGCOLOR="white" CLASS="TableRowColor">
  137. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  138. <CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
  139. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#readNextChar">readNextChar</A></B></CODE>
  140. <BR>
  141. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  142. </TR>
  143. <TR BGCOLOR="white" CLASS="TableRowColor">
  144. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  145. <CODE>protected static&nbsp;int</CODE></FONT></TD>
  146. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#REPEAT_COUNT_THRESHOLD">REPEAT_COUNT_THRESHOLD</A></B></CODE>
  147. <BR>
  148. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  149. </TR>
  150. <TR BGCOLOR="white" CLASS="TableRowColor">
  151. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  152. <CODE>protected &nbsp;int</CODE></FONT></TD>
  153. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#repeatCount">repeatCount</A></B></CODE>
  154. <BR>
  155. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  156. </TR>
  157. <TR BGCOLOR="white" CLASS="TableRowColor">
  158. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  159. <CODE>protected &nbsp;boolean</CODE></FONT></TD>
  160. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#shortcutOn">shortcutOn</A></B></CODE>
  161. <BR>
  162. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  163. </TR>
  164. </TABLE>
  165. &nbsp;
  166. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  167. <A NAME="constructor_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>Constructor Summary</B></FONT></TH>
  172. </TR>
  173. <TR BGCOLOR="white" CLASS="TableRowColor">
  174. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#AbstractInputHandler()">AbstractInputHandler</A></B>()</CODE>
  175. <BR>
  176. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  177. </TR>
  178. </TABLE>
  179. &nbsp;
  180. <!-- ========== METHOD SUMMARY =========== -->
  181. <A NAME="method_summary"><!-- --></A>
  182. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  183. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  184. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  185. <B>Method Summary</B></FONT></TH>
  186. </TR>
  187. <TR BGCOLOR="white" CLASS="TableRowColor">
  188. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  189. <CODE>&nbsp;void</CODE></FONT></TD>
  190. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#addKeyBinding(java.lang.String, E)">addKeyBinding</A></B>(java.lang.String&nbsp;keyBinding,
  191. <A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html" title="type parameter in AbstractInputHandler">E</A>&nbsp;action)</CODE>
  192. <BR>
  193. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a key binding to this input handler.</TD>
  194. </TR>
  195. <TR BGCOLOR="white" CLASS="TableRowColor">
  196. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  197. <CODE>&nbsp;void</CODE></FONT></TD>
  198. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#addKeyBinding(java.lang.String, java.lang.Object)">addKeyBinding</A></B>(java.lang.String&nbsp;keyBinding,
  199. java.lang.Object&nbsp;action)</CODE>
  200. <BR>
  201. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a key binding to this input handler.</TD>
  202. </TR>
  203. <TR BGCOLOR="white" CLASS="TableRowColor">
  204. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  205. <CODE>&nbsp;void</CODE></FONT></TD>
  206. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#addKeyBinding(java.lang.String, java.lang.String)">addKeyBinding</A></B>(java.lang.String&nbsp;keyBinding,
  207. java.lang.String&nbsp;action)</CODE>
  208. <BR>
  209. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a key binding to this input handler.</TD>
  210. </TR>
  211. <TR BGCOLOR="white" CLASS="TableRowColor">
  212. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  213. <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
  214. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#getKeyBinding(java.lang.String)">getKeyBinding</A></B>(java.lang.String&nbsp;keyBinding)</CODE>
  215. <BR>
  216. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns either an edit action, or a hashtable if the specified key
  217. is a prefix.</TD>
  218. </TR>
  219. <TR BGCOLOR="white" CLASS="TableRowColor">
  220. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  221. <CODE>&nbsp;java.awt.event.KeyListener</CODE></FONT></TD>
  222. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#getKeyEventInterceptor()">getKeyEventInterceptor</A></B>()</CODE>
  223. <BR>
  224. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  225. </TR>
  226. <TR BGCOLOR="white" CLASS="TableRowColor">
  227. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  228. <CODE>&nbsp;int</CODE></FONT></TD>
  229. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#getLastActionCount()">getLastActionCount</A></B>()</CODE>
  230. <BR>
  231. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of times the last action was executed.</TD>
  232. </TR>
  233. <TR BGCOLOR="white" CLASS="TableRowColor">
  234. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  235. <CODE>abstract &nbsp;boolean</CODE></FONT></TD>
  236. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#handleKey(org.gjt.sp.jedit.gui.KeyEventTranslator.Key, boolean)">handleKey</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/gui/KeyEventTranslator.Key.html" title="class in org.gjt.sp.jedit.gui">KeyEventTranslator.Key</A>&nbsp;keyStroke,
  237. boolean&nbsp;dryRun)</CODE>
  238. <BR>
  239. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles a keystroke.</TD>
  240. </TR>
  241. <TR BGCOLOR="white" CLASS="TableRowColor">
  242. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  243. <CODE>abstract &nbsp;void</CODE></FONT></TD>
  244. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#invokeAction(E)">invokeAction</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html" title="type parameter in AbstractInputHandler">E</A>&nbsp;action)</CODE>
  245. <BR>
  246. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  247. </TR>
  248. <TR BGCOLOR="white" CLASS="TableRowColor">
  249. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  250. <CODE>abstract &nbsp;void</CODE></FONT></TD>
  251. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#invokeAction(java.lang.String)">invokeAction</A></B>(java.lang.String&nbsp;action)</CODE>
  252. <BR>
  253. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  254. </TR>
  255. <TR BGCOLOR="white" CLASS="TableRowColor">
  256. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  257. <CODE>&nbsp;boolean</CODE></FONT></TD>
  258. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#isPrefixActive()">isPrefixActive</A></B>()</CODE>
  259. <BR>
  260. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if a prefix key has been pressed.</TD>
  261. </TR>
  262. <TR BGCOLOR="white" CLASS="TableRowColor">
  263. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  264. <CODE>abstract &nbsp;void</CODE></FONT></TD>
  265. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#processKeyEvent(java.awt.event.KeyEvent, int, boolean)">processKeyEvent</A></B>(java.awt.event.KeyEvent&nbsp;evt,
  266. int&nbsp;from,
  267. boolean&nbsp;global)</CODE>
  268. <BR>
  269. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process a keyboard event.</TD>
  270. </TR>
  271. <TR BGCOLOR="white" CLASS="TableRowColor">
  272. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  273. <CODE>protected &nbsp;void</CODE></FONT></TD>
  274. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#processKeyEventKeyStrokeHandling(java.awt.event.KeyEvent, int, java.lang.String, boolean)">processKeyEventKeyStrokeHandling</A></B>(java.awt.event.KeyEvent&nbsp;evt,
  275. int&nbsp;from,
  276. java.lang.String&nbsp;mode,
  277. boolean&nbsp;global)</CODE>
  278. <BR>
  279. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  280. </TR>
  281. <TR BGCOLOR="white" CLASS="TableRowColor">
  282. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  283. <CODE>&nbsp;void</CODE></FONT></TD>
  284. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#removeAllKeyBindings()">removeAllKeyBindings</A></B>()</CODE>
  285. <BR>
  286. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all key bindings from this input handler.</TD>
  287. </TR>
  288. <TR BGCOLOR="white" CLASS="TableRowColor">
  289. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  290. <CODE>&nbsp;void</CODE></FONT></TD>
  291. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#removeKeyBinding(java.lang.String)">removeKeyBinding</A></B>(java.lang.String&nbsp;keyBinding)</CODE>
  292. <BR>
  293. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a key binding from this input handler.</TD>
  294. </TR>
  295. <TR BGCOLOR="white" CLASS="TableRowColor">
  296. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  297. <CODE>&nbsp;void</CODE></FONT></TD>
  298. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#resetLastActionCount()">resetLastActionCount</A></B>()</CODE>
  299. <BR>
  300. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the last action count.</TD>
  301. </TR>
  302. <TR BGCOLOR="white" CLASS="TableRowColor">
  303. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  304. <CODE>protected &nbsp;void</CODE></FONT></TD>
  305. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#sendShortcutPrefixOff()">sendShortcutPrefixOff</A></B>()</CODE>
  306. <BR>
  307. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If</TD>
  308. </TR>
  309. <TR BGCOLOR="white" CLASS="TableRowColor">
  310. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  311. <CODE>&nbsp;void</CODE></FONT></TD>
  312. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#setBindings(java.util.Hashtable)">setBindings</A></B>(java.util.Hashtable&nbsp;bindings)</CODE>
  313. <BR>
  314. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replace the set of key bindings.</TD>
  315. </TR>
  316. <TR BGCOLOR="white" CLASS="TableRowColor">
  317. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  318. <CODE>&nbsp;void</CODE></FONT></TD>
  319. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#setCurrentBindings(java.util.Hashtable)">setCurrentBindings</A></B>(java.util.Hashtable&nbsp;bindings)</CODE>
  320. <BR>
  321. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  322. </TR>
  323. <TR BGCOLOR="white" CLASS="TableRowColor">
  324. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  325. <CODE>&nbsp;void</CODE></FONT></TD>
  326. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#setKeyEventInterceptor(java.awt.event.KeyListener)">setKeyEventInterceptor</A></B>(java.awt.event.KeyListener&nbsp;keyEventInterceptor)</CODE>
  327. <BR>
  328. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the listener that will handle all key events in this
  329. view.</TD>
  330. </TR>
  331. <TR BGCOLOR="white" CLASS="TableRowColor">
  332. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  333. <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
  334. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html#toString(java.awt.event.KeyEvent)">toString</A></B>(java.awt.event.KeyEvent&nbsp;evt)</CODE>
  335. <BR>
  336. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a String representation of the keyboard event for
  337. debugging purpose.</TD>
  338. </TR>
  339. </TABLE>
  340. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  341. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  342. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  343. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  344. </TR>
  345. <TR BGCOLOR="white" CLASS="TableRowColor">
  346. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  347. </TR>
  348. </TABLE>
  349. &nbsp;
  350. <P>
  351. <!-- ============ FIELD DETAIL =========== -->
  352. <A NAME="field_detail"><!-- --></A>
  353. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  354. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  355. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  356. <B>Field Detail</B></FONT></TH>
  357. </TR>
  358. </TABLE>
  359. <A NAME="lastActionCount"><!-- --></A><H3>
  360. lastActionCount</H3>
  361. <PRE>
  362. protected int <B>lastActionCount</B></PRE>
  363. <DL>
  364. <DL>
  365. </DL>
  366. </DL>
  367. <HR>
  368. <A NAME="keyEventInterceptor"><!-- --></A><H3>
  369. keyEventInterceptor</H3>
  370. <PRE>
  371. protected java.awt.event.KeyListener <B>keyEventInterceptor</B></PRE>
  372. <DL>
  373. <DD>This listener will receive keyboard events if it is not null.
  374. <P>
  375. <DL>
  376. </DL>
  377. </DL>
  378. <HR>
  379. <A NAME="readNextChar"><!-- --></A><H3>
  380. readNextChar</H3>
  381. <PRE>
  382. protected java.lang.String <B>readNextChar</B></PRE>
  383. <DL>
  384. <DL>
  385. </DL>
  386. </DL>
  387. <HR>
  388. <A NAME="repeatCount"><!-- --></A><H3>
  389. repeatCount</H3>
  390. <PRE>
  391. protected int <B>repeatCount</B></PRE>
  392. <DL>
  393. <DL>
  394. </DL>
  395. </DL>
  396. <HR>
  397. <A NAME="lastAction"><!-- --></A><H3>
  398. lastAction</H3>
  399. <PRE>
  400. protected <A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html" title="type parameter in AbstractInputHandler">E</A> extends <A HREF="../../../../../org/gjt/sp/jedit/JEditAbstractEditAction.html" title="class in org.gjt.sp.jedit">JEditAbstractEditAction</A> <B>lastAction</B></PRE>
  401. <DL>
  402. <DL>
  403. </DL>
  404. </DL>
  405. <HR>
  406. <A NAME="REPEAT_COUNT_THRESHOLD"><!-- --></A><H3>
  407. REPEAT_COUNT_THRESHOLD</H3>
  408. <PRE>
  409. protected static final int <B>REPEAT_COUNT_THRESHOLD</B></PRE>
  410. <DL>
  411. <DL>
  412. <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.input.AbstractInputHandler.REPEAT_COUNT_THRESHOLD">Constant Field Values</A></DL>
  413. </DL>
  414. <HR>
  415. <A NAME="PREFIX_STR"><!-- --></A><H3>
  416. PREFIX_STR</H3>
  417. <PRE>
  418. public static java.lang.Object <B>PREFIX_STR</B></PRE>
  419. <DL>
  420. <DL>
  421. </DL>
  422. </DL>
  423. <HR>
  424. <A NAME="shortcutOn"><!-- --></A><H3>
  425. shortcutOn</H3>
  426. <PRE>
  427. protected boolean <B>shortcutOn</B></PRE>
  428. <DL>
  429. <DL>
  430. </DL>
  431. </DL>
  432. <HR>
  433. <A NAME="bindings"><!-- --></A><H3>
  434. bindings</H3>
  435. <PRE>
  436. protected java.util.Hashtable <B>bindings</B></PRE>
  437. <DL>
  438. <DL>
  439. </DL>
  440. </DL>
  441. <HR>
  442. <A NAME="currentBindings"><!-- --></A><H3>
  443. currentBindings</H3>
  444. <PRE>
  445. protected java.util.Hashtable <B>currentBindings</B></PRE>
  446. <DL>
  447. <DL>
  448. </DL>
  449. </DL>
  450. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  451. <A NAME="constructor_detail"><!-- --></A>
  452. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  453. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  454. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  455. <B>Constructor Detail</B></FONT></TH>
  456. </TR>
  457. </TABLE>
  458. <A NAME="AbstractInputHandler()"><!-- --></A><H3>
  459. AbstractInputHandler</H3>
  460. <PRE>
  461. public <B>AbstractInputHandler</B>()</PRE>
  462. <DL>
  463. </DL>
  464. <!-- ============ METHOD DETAIL ========== -->
  465. <A NAME="method_detail"><!-- --></A>
  466. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  467. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  468. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  469. <B>Method Detail</B></FONT></TH>
  470. </TR>
  471. </TABLE>
  472. <A NAME="addKeyBinding(java.lang.String, java.lang.String)"><!-- --></A><H3>
  473. addKeyBinding</H3>
  474. <PRE>
  475. public void <B>addKeyBinding</B>(java.lang.String&nbsp;keyBinding,
  476. java.lang.String&nbsp;action)</PRE>
  477. <DL>
  478. <DD>Adds a key binding to this input handler. The key binding is
  479. a list of white space separated key strokes of the form
  480. <i>[modifiers+]key</i> where modifier is C for Control, A for Alt,
  481. or S for Shift, and key is either a character (a-z) or a field
  482. name in the KeyEvent class prefixed with VK_ (e.g., BACK_SPACE)
  483. <P>
  484. <DD><DL>
  485. <DT><B>Parameters:</B><DD><CODE>keyBinding</CODE> - The key binding<DD><CODE>action</CODE> - The action<DT><B>Since:</B></DT>
  486. <DD>jEdit 4.2pre1</DD>
  487. </DL>
  488. </DD>
  489. </DL>
  490. <HR>
  491. <A NAME="addKeyBinding(java.lang.String,org.gjt.sp.jedit.JEditAbstractEditAction)"><!-- --></A><A NAME="addKeyBinding(java.lang.String, E)"><!-- --></A><H3>
  492. addKeyBinding</H3>
  493. <PRE>
  494. public void <B>addKeyBinding</B>(java.lang.String&nbsp;keyBinding,
  495. <A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html" title="type parameter in AbstractInputHandler">E</A>&nbsp;action)</PRE>
  496. <DL>
  497. <DD>Adds a key binding to this input handler. The key binding is
  498. a list of white space separated key strokes of the form
  499. <i>[modifiers+]key</i> where modifier is C for Control, A for Alt,
  500. or S for Shift, and key is either a character (a-z) or a field
  501. name in the KeyEvent class prefixed with VK_ (e.g., BACK_SPACE)
  502. <P>
  503. <DD><DL>
  504. <DT><B>Parameters:</B><DD><CODE>keyBinding</CODE> - The key binding<DD><CODE>action</CODE> - The action</DL>
  505. </DD>
  506. </DL>
  507. <HR>
  508. <A NAME="addKeyBinding(java.lang.String, java.lang.Object)"><!-- --></A><H3>
  509. addKeyBinding</H3>
  510. <PRE>
  511. public void <B>addKeyBinding</B>(java.lang.String&nbsp;keyBinding,
  512. java.lang.Object&nbsp;action)</PRE>
  513. <DL>
  514. <DD>Adds a key binding to this input handler. The key binding is
  515. a list of white space separated key strokes of the form
  516. <i>[modifiers+]key</i> where modifier is C for Control, A for Alt,
  517. or S for Shift, and key is either a character (a-z) or a field
  518. name in the KeyEvent class prefixed with VK_ (e.g., BACK_SPACE)
  519. <P>
  520. <DD><DL>
  521. <DT><B>Parameters:</B><DD><CODE>keyBinding</CODE> - The key binding<DD><CODE>action</CODE> - The action<DT><B>Since:</B></DT>
  522. <DD>jEdit 4.3pre1</DD>
  523. </DL>
  524. </DD>
  525. </DL>
  526. <HR>
  527. <A NAME="removeKeyBinding(java.lang.String)"><!-- --></A><H3>
  528. removeKeyBinding</H3>
  529. <PRE>
  530. public void <B>removeKeyBinding</B>(java.lang.String&nbsp;keyBinding)</PRE>
  531. <DL>
  532. <DD>Removes a key binding from this input handler. This is not yet
  533. implemented.
  534. <P>
  535. <DD><DL>
  536. <DT><B>Parameters:</B><DD><CODE>keyBinding</CODE> - The key binding</DL>
  537. </DD>
  538. </DL>
  539. <HR>
  540. <A NAME="removeAllKeyBindings()"><!-- --></A><H3>
  541. removeAllKeyBindings</H3>
  542. <PRE>
  543. public void <B>removeAllKeyBindings</B>()</PRE>
  544. <DL>
  545. <DD>Removes all key bindings from this input handler.
  546. <P>
  547. <DD><DL>
  548. </DL>
  549. </DD>
  550. </DL>
  551. <HR>
  552. <A NAME="getKeyBinding(java.lang.String)"><!-- --></A><H3>
  553. getKeyBinding</H3>
  554. <PRE>
  555. public java.lang.Object <B>getKeyBinding</B>(java.lang.String&nbsp;keyBinding)</PRE>
  556. <DL>
  557. <DD>Returns either an edit action, or a hashtable if the specified key
  558. is a prefix.
  559. <P>
  560. <DD><DL>
  561. <DT><B>Parameters:</B><DD><CODE>keyBinding</CODE> - The key binding<DT><B>Since:</B></DT>
  562. <DD>jEdit 3.2pre5</DD>
  563. </DL>
  564. </DD>
  565. </DL>
  566. <HR>
  567. <A NAME="getLastActionCount()"><!-- --></A><H3>
  568. getLastActionCount</H3>
  569. <PRE>
  570. public int <B>getLastActionCount</B>()</PRE>
  571. <DL>
  572. <DD>Returns the number of times the last action was executed.
  573. It can be used with smartHome and smartEnd
  574. <P>
  575. <DD><DL>
  576. <DT><B>Returns:</B><DD>the number of times the last action was executed<DT><B>Since:</B></DT>
  577. <DD>jEdit 2.5pre5</DD>
  578. </DL>
  579. </DD>
  580. </DL>
  581. <HR>
  582. <A NAME="resetLastActionCount()"><!-- --></A><H3>
  583. resetLastActionCount</H3>
  584. <PRE>
  585. public void <B>resetLastActionCount</B>()</PRE>
  586. <DL>
  587. <DD>Resets the last action count. This should be called when an
  588. editing operation that is not an action is invoked, for example
  589. a mouse click.
  590. <P>
  591. <DD><DL>
  592. <DT><B>Since:</B></DT>
  593. <DD>jEdit 4.0pre1</DD>
  594. </DL>
  595. </DD>
  596. </DL>
  597. <HR>
  598. <A NAME="getKeyEventInterceptor()"><!-- --></A><H3>
  599. getKeyEventInterceptor</H3>
  600. <PRE>
  601. public java.awt.event.KeyListener <B>getKeyEventInterceptor</B>()</PRE>
  602. <DL>
  603. <DD><DL>
  604. </DL>
  605. </DD>
  606. </DL>
  607. <HR>
  608. <A NAME="setKeyEventInterceptor(java.awt.event.KeyListener)"><!-- --></A><H3>
  609. setKeyEventInterceptor</H3>
  610. <PRE>
  611. public void <B>setKeyEventInterceptor</B>(java.awt.event.KeyListener&nbsp;keyEventInterceptor)</PRE>
  612. <DL>
  613. <DD>Sets the listener that will handle all key events in this
  614. view. For example, the complete word command uses this so
  615. that all key events are passed to the word list popup while
  616. it is visible.
  617. <P>
  618. <DD><DL>
  619. <DT><B>Parameters:</B><DD><CODE>keyEventInterceptor</CODE> - the KeyListener that will receive the events</DL>
  620. </DD>
  621. </DL>
  622. <HR>
  623. <A NAME="isPrefixActive()"><!-- --></A><H3>
  624. isPrefixActive</H3>
  625. <PRE>
  626. public boolean <B>isPrefixActive</B>()</PRE>
  627. <DL>
  628. <DD>Returns if a prefix key has been pressed.
  629. <P>
  630. <DD><DL>
  631. </DL>
  632. </DD>
  633. </DL>
  634. <HR>
  635. <A NAME="setBindings(java.util.Hashtable)"><!-- --></A><H3>
  636. setBindings</H3>
  637. <PRE>
  638. public void <B>setBindings</B>(java.util.Hashtable&nbsp;bindings)</PRE>
  639. <DL>
  640. <DD>Replace the set of key bindings.
  641. <P>
  642. <DD><DL>
  643. <DT><B>Since:</B></DT>
  644. <DD>jEdit 4.3pre1</DD>
  645. </DL>
  646. </DD>
  647. </DL>
  648. <HR>
  649. <A NAME="setCurrentBindings(java.util.Hashtable)"><!-- --></A><H3>
  650. setCurrentBindings</H3>
  651. <PRE>
  652. public void <B>setCurrentBindings</B>(java.util.Hashtable&nbsp;bindings)</PRE>
  653. <DL>
  654. <DD><DL>
  655. </DL>
  656. </DD>
  657. </DL>
  658. <HR>
  659. <A NAME="handleKey(org.gjt.sp.jedit.gui.KeyEventTranslator.Key, boolean)"><!-- --></A><H3>
  660. handleKey</H3>
  661. <PRE>
  662. public abstract boolean <B>handleKey</B>(<A HREF="../../../../../org/gjt/sp/jedit/gui/KeyEventTranslator.Key.html" title="class in org.gjt.sp.jedit.gui">KeyEventTranslator.Key</A>&nbsp;keyStroke,
  663. boolean&nbsp;dryRun)</PRE>
  664. <DL>
  665. <DD>Handles a keystroke.
  666. <P>
  667. <DD><DL>
  668. <DT><B>Parameters:</B><DD><CODE>keyStroke</CODE> - The key stroke.<DD><CODE>dryRun</CODE> - only calculate the return value, do not have any other effect
  669. <DT><B>Returns:</B><DD>true if the input could be handled.<DT><B>Since:</B></DT>
  670. <DD>jEdit 4.3pre7</DD>
  671. </DL>
  672. </DD>
  673. </DL>
  674. <HR>
  675. <A NAME="processKeyEvent(java.awt.event.KeyEvent, int, boolean)"><!-- --></A><H3>
  676. processKeyEvent</H3>
  677. <PRE>
  678. public abstract void <B>processKeyEvent</B>(java.awt.event.KeyEvent&nbsp;evt,
  679. int&nbsp;from,
  680. boolean&nbsp;global)</PRE>
  681. <DL>
  682. <DD>Process a keyboard event.
  683. This is the entry point of the keyboard handling
  684. <P>
  685. <DD><DL>
  686. <DT><B>Parameters:</B><DD><CODE>evt</CODE> - the keyboard event<DD><CODE>from</CODE> - the source, it can be <A HREF="../../../../../org/gjt/sp/jedit/View.html#VIEW"><CODE>View.VIEW</CODE></A>,
  687. <A HREF="../../../../../org/gjt/sp/jedit/View.html#ACTION_BAR"><CODE>View.ACTION_BAR</CODE></A> or <A HREF="../../../../../org/gjt/sp/jedit/View.html#TEXT_AREA"><CODE>View.TEXT_AREA</CODE></A><DD><CODE>global</CODE> - tell if the event comes from the DefaultKeyboardFocusManager or not</DL>
  688. </DD>
  689. </DL>
  690. <HR>
  691. <A NAME="sendShortcutPrefixOff()"><!-- --></A><H3>
  692. sendShortcutPrefixOff</H3>
  693. <PRE>
  694. protected void <B>sendShortcutPrefixOff</B>()</PRE>
  695. <DL>
  696. <DD>If
  697. <P>
  698. <DD><DL>
  699. </DL>
  700. </DD>
  701. </DL>
  702. <HR>
  703. <A NAME="invokeAction(java.lang.String)"><!-- --></A><H3>
  704. invokeAction</H3>
  705. <PRE>
  706. public abstract void <B>invokeAction</B>(java.lang.String&nbsp;action)</PRE>
  707. <DL>
  708. <DD><DL>
  709. </DL>
  710. </DD>
  711. </DL>
  712. <HR>
  713. <A NAME="invokeAction(org.gjt.sp.jedit.JEditAbstractEditAction)"><!-- --></A><A NAME="invokeAction(E)"><!-- --></A><H3>
  714. invokeAction</H3>
  715. <PRE>
  716. public abstract void <B>invokeAction</B>(<A HREF="../../../../../org/gjt/sp/jedit/input/AbstractInputHandler.html" title="type parameter in AbstractInputHandler">E</A>&nbsp;action)</PRE>
  717. <DL>
  718. <DD><DL>
  719. </DL>
  720. </DD>
  721. </DL>
  722. <HR>
  723. <A NAME="toString(java.awt.event.KeyEvent)"><!-- --></A><H3>
  724. toString</H3>
  725. <PRE>
  726. public static java.lang.String <B>toString</B>(java.awt.event.KeyEvent&nbsp;evt)</PRE>
  727. <DL>
  728. <DD>Return a String representation of the keyboard event for
  729. debugging purpose.
  730. <P>
  731. <DD><DL>
  732. <DT><B>Parameters:</B><DD><CODE>evt</CODE> - the keyboard event
  733. <DT><B>Returns:</B><DD>a String representation for this keyboard event<DT><B>Since:</B></DT>
  734. <DD>jEdit 4.3pre15</DD>
  735. </DL>
  736. </DD>
  737. </DL>
  738. <HR>
  739. <A NAME="processKeyEventKeyStrokeHandling(java.awt.event.KeyEvent, int, java.lang.String, boolean)"><!-- --></A><H3>
  740. processKeyEventKeyStrokeHandling</H3>
  741. <PRE>
  742. protected void <B>processKeyEventKeyStrokeHandling</B>(java.awt.event.KeyEvent&nbsp;evt,
  743. int&nbsp;from,
  744. java.lang.String&nbsp;mode,
  745. boolean&nbsp;global)</PRE>
  746. <DL>
  747. <DD><DL>
  748. <DT><B>Parameters:</B><DD><CODE>evt</CODE> - the keyboard event<DD><CODE>from</CODE> - the source, it can be <A HREF="../../../../../org/gjt/sp/jedit/View.html#VIEW"><CODE>View.VIEW</CODE></A>,
  749. <A HREF="../../../../../org/gjt/sp/jedit/View.html#ACTION_BAR"><CODE>View.ACTION_BAR</CODE></A> or <A HREF="../../../../../org/gjt/sp/jedit/View.html#TEXT_AREA"><CODE>View.TEXT_AREA</CODE></A><DD><CODE>mode</CODE> - the mode is "press" or "type" and is used for debug only<DD><CODE>global</CODE> - tell if the event comes from the DefaultKeyboardFocusManager or not</DL>
  750. </DD>
  751. </DL>
  752. <!-- ========= END OF CLASS DATA ========= -->
  753. <HR>
  754. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  755. <A NAME="navbar_bottom"><!-- --></A>
  756. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  757. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  758. <TR>
  759. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  760. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  761. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  762. <TR ALIGN="center" VALIGN="top">
  763. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  764. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  765. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  766. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractInputHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  767. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  768. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  769. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  770. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  771. </TR>
  772. </TABLE>
  773. </TD>
  774. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  775. </EM>
  776. </TD>
  777. </TR>
  778. <TR>
  779. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  780. &nbsp;PREV CLASS&nbsp;
  781. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/input/DefaultInputHandlerProvider.html" title="class in org.gjt.sp.jedit.input"><B>NEXT CLASS</B></A></FONT></TD>
  782. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  783. <A HREF="../../../../../index.html?org/gjt/sp/jedit/input/AbstractInputHandler.html" target="_top"><B>FRAMES</B></A> &nbsp;
  784. &nbsp;<A HREF="AbstractInputHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  785. &nbsp;
  786. <NOSCRIPT>
  787. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  788. </NOSCRIPT>
  789. </FONT></TD>
  790. </TR>
  791. <TR>
  792. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  793. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  794. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  795. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  796. </TR>
  797. </TABLE>
  798. <A NAME="skip-navbar_bottom"></A>
  799. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  800. <HR>
  801. </BODY>
  802. </HTML>