PageRenderTime 58ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 1ms

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

#
HTML | 562 lines | 497 code | 51 blank | 14 comment | 0 complexity | d4271fcc1e3e9846b43f464a0f3bf924 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:53 GMT-08:00 2008 -->
  6. <TITLE>
  7. CompletionPopup (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.gui.CompletionPopup 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/CompletionPopup.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/CompleteWord.html" title="class in org.gjt.sp.jedit.gui"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.Candidates.html" title="interface 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/CompletionPopup.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="CompletionPopup.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_javax.swing.JWindow">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.jedit.gui</FONT>
  66. <BR>
  67. Class CompletionPopup</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">java.awt.Component
  71. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">java.awt.Container
  72. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">java.awt.Window
  73. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">javax.swing.JWindow
  74. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.gui.CompletionPopup</B>
  75. </PRE>
  76. <DL>
  77. <DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer</DD>
  78. </DL>
  79. <DL>
  80. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/gui/CompleteWord.html" title="class in org.gjt.sp.jedit.gui">CompleteWord</A></DD>
  81. </DL>
  82. <HR>
  83. <DL>
  84. <DT><PRE>public class <B>CompletionPopup</B><DT>extends javax.swing.JWindow</DL>
  85. </PRE>
  86. <P>
  87. Popup window for word completion in text area.
  88. This class provides basic UI of completion popup.
  89. <P>
  90. <P>
  91. <DL>
  92. <DT><B>Since:</B></DT>
  93. <DD>jEdit 4.3pre11</DD>
  94. <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.gjt.sp.jedit.gui.CompletionPopup">Serialized Form</A></DL>
  95. <HR>
  96. <P>
  97. <!-- ======== NESTED CLASS SUMMARY ======== -->
  98. <A NAME="nested_class_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>Nested Class 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>static&nbsp;interface</CODE></FONT></TD>
  107. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.Candidates.html" title="interface in org.gjt.sp.jedit.gui">CompletionPopup.Candidates</A></B></CODE>
  108. <BR>
  109. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Candidates of completion.</TD>
  110. </TR>
  111. </TABLE>
  112. &nbsp;<A NAME="nested_classes_inherited_from_class_javax.swing.JWindow"><!-- --></A>
  113. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  114. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  115. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JWindow</B></TH>
  116. </TR>
  117. <TR BGCOLOR="white" CLASS="TableRowColor">
  118. <TD><CODE>javax.swing.JWindow.AccessibleJWindow</CODE></TD>
  119. </TR>
  120. </TABLE>
  121. &nbsp;
  122. <A NAME="nested_classes_inherited_from_class_java.awt.Window"><!-- --></A>
  123. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  124. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  125. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Window</B></TH>
  126. </TR>
  127. <TR BGCOLOR="white" CLASS="TableRowColor">
  128. <TD><CODE>java.awt.Window.AccessibleAWTWindow</CODE></TD>
  129. </TR>
  130. </TABLE>
  131. &nbsp;
  132. <A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A>
  133. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  134. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  135. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Container</B></TH>
  136. </TR>
  137. <TR BGCOLOR="white" CLASS="TableRowColor">
  138. <TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD>
  139. </TR>
  140. </TABLE>
  141. &nbsp;
  142. <A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
  143. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  144. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  145. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
  146. </TR>
  147. <TR BGCOLOR="white" CLASS="TableRowColor">
  148. <TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD>
  149. </TR>
  150. </TABLE>
  151. &nbsp;
  152. <!-- =========== FIELD SUMMARY =========== -->
  153. <A NAME="field_summary"><!-- --></A>
  154. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  155. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  156. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  157. <B>Field Summary</B></FONT></TH>
  158. </TR>
  159. </TABLE>
  160. &nbsp;<A NAME="fields_inherited_from_class_javax.swing.JWindow"><!-- --></A>
  161. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  162. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  163. <TH ALIGN="left"><B>Fields inherited from class javax.swing.JWindow</B></TH>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD><CODE>accessibleContext, rootPane, rootPaneCheckingEnabled</CODE></TD>
  167. </TR>
  168. </TABLE>
  169. &nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
  170. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  171. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  172. <TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
  173. </TR>
  174. <TR BGCOLOR="white" CLASS="TableRowColor">
  175. <TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
  176. </TR>
  177. </TABLE>
  178. &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
  179. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  180. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  181. <TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
  182. </TR>
  183. <TR BGCOLOR="white" CLASS="TableRowColor">
  184. <TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
  185. </TR>
  186. </TABLE>
  187. &nbsp;
  188. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  189. <A NAME="constructor_summary"><!-- --></A>
  190. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  191. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  192. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  193. <B>Constructor Summary</B></FONT></TH>
  194. </TR>
  195. <TR BGCOLOR="white" CLASS="TableRowColor">
  196. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#CompletionPopup(org.gjt.sp.jedit.View)">CompletionPopup</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view)</CODE>
  197. <BR>
  198. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a completion popup.</TD>
  199. </TR>
  200. <TR BGCOLOR="white" CLASS="TableRowColor">
  201. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#CompletionPopup(org.gjt.sp.jedit.View, java.awt.Point)">CompletionPopup</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  202. java.awt.Point&nbsp;location)</CODE>
  203. <BR>
  204. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  205. </TR>
  206. </TABLE>
  207. &nbsp;
  208. <!-- ========== METHOD SUMMARY =========== -->
  209. <A NAME="method_summary"><!-- --></A>
  210. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  211. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  212. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  213. <B>Method Summary</B></FONT></TH>
  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/jedit/gui/CompletionPopup.html#dispose()">dispose</A></B>()</CODE>
  219. <BR>
  220. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Quit completion.</TD>
  221. </TR>
  222. <TR BGCOLOR="white" CLASS="TableRowColor">
  223. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  224. <CODE>&nbsp;boolean</CODE></FONT></TD>
  225. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#doSelectedCompletion()">doSelectedCompletion</A></B>()</CODE>
  226. <BR>
  227. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do completion with current selection and quit.</TD>
  228. </TR>
  229. <TR BGCOLOR="white" CLASS="TableRowColor">
  230. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  231. <CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.Candidates.html" title="interface in org.gjt.sp.jedit.gui">CompletionPopup.Candidates</A></CODE></FONT></TD>
  232. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#getCandidates()">getCandidates</A></B>()</CODE>
  233. <BR>
  234. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Current candidates of completion.</TD>
  235. </TR>
  236. <TR BGCOLOR="white" CLASS="TableRowColor">
  237. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  238. <CODE>&nbsp;int</CODE></FONT></TD>
  239. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#getSelectedIndex()">getSelectedIndex</A></B>()</CODE>
  240. <BR>
  241. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns index of current selection.</TD>
  242. </TR>
  243. <TR BGCOLOR="white" CLASS="TableRowColor">
  244. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  245. <CODE>protected &nbsp;void</CODE></FONT></TD>
  246. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#keyPressed(java.awt.event.KeyEvent)">keyPressed</A></B>(java.awt.event.KeyEvent&nbsp;e)</CODE>
  247. <BR>
  248. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle key pressed events.</TD>
  249. </TR>
  250. <TR BGCOLOR="white" CLASS="TableRowColor">
  251. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  252. <CODE>protected &nbsp;void</CODE></FONT></TD>
  253. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#keyTyped(java.awt.event.KeyEvent)">keyTyped</A></B>(java.awt.event.KeyEvent&nbsp;e)</CODE>
  254. <BR>
  255. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle key typed events.</TD>
  256. </TR>
  257. <TR BGCOLOR="white" CLASS="TableRowColor">
  258. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  259. <CODE>&nbsp;void</CODE></FONT></TD>
  260. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#reset(org.gjt.sp.jedit.gui.CompletionPopup.Candidates, boolean)">reset</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.Candidates.html" title="interface in org.gjt.sp.jedit.gui">CompletionPopup.Candidates</A>&nbsp;candidates,
  261. boolean&nbsp;active)</CODE>
  262. <BR>
  263. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start completion.</TD>
  264. </TR>
  265. <TR BGCOLOR="white" CLASS="TableRowColor">
  266. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  267. <CODE>&nbsp;void</CODE></FONT></TD>
  268. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#setSelectedIndex(int)">setSelectedIndex</A></B>(int&nbsp;index)</CODE>
  269. <BR>
  270. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set selection.</TD>
  271. </TR>
  272. </TABLE>
  273. &nbsp;<A NAME="methods_inherited_from_class_javax.swing.JWindow"><!-- --></A>
  274. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  275. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  276. <TH ALIGN="left"><B>Methods inherited from class javax.swing.JWindow</B></TH>
  277. </TR>
  278. <TR BGCOLOR="white" CLASS="TableRowColor">
  279. <TD><CODE>addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setGlassPane, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update, windowInit</CODE></TD>
  280. </TR>
  281. </TABLE>
  282. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Window"><!-- --></A>
  283. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  284. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  285. <TH ALIGN="left"><B>Methods inherited from class java.awt.Window</B></TH>
  286. </TR>
  287. <TR BGCOLOR="white" CLASS="TableRowColor">
  288. <TD><CODE>addNotify, addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, show, toBack, toFront</CODE></TD>
  289. </TR>
  290. </TABLE>
  291. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
  292. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  293. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  294. <TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
  295. </TR>
  296. <TR BGCOLOR="white" CLASS="TableRowColor">
  297. <TD><CODE>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD>
  298. </TR>
  299. </TABLE>
  300. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
  301. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  302. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  303. <TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
  304. </TR>
  305. <TR BGCOLOR="white" CLASS="TableRowColor">
  306. <TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
  307. </TR>
  308. </TABLE>
  309. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  310. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  311. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  312. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  313. </TR>
  314. <TR BGCOLOR="white" CLASS="TableRowColor">
  315. <TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  316. </TR>
  317. </TABLE>
  318. &nbsp;
  319. <P>
  320. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  321. <A NAME="constructor_detail"><!-- --></A>
  322. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  323. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  324. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  325. <B>Constructor Detail</B></FONT></TH>
  326. </TR>
  327. </TABLE>
  328. <A NAME="CompletionPopup(org.gjt.sp.jedit.View)"><!-- --></A><H3>
  329. CompletionPopup</H3>
  330. <PRE>
  331. public <B>CompletionPopup</B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view)</PRE>
  332. <DL>
  333. <DD>Create a completion popup.
  334. It is not shown until reset() method is called with valid
  335. candidates. All key events for the view are intercepted by
  336. this popup untill end of completion.
  337. <P>
  338. <DL>
  339. <DT><B>Since:</B></DT>
  340. <DD>jEdit 4.3pre13</DD>
  341. </DL>
  342. </DL>
  343. <HR>
  344. <A NAME="CompletionPopup(org.gjt.sp.jedit.View, java.awt.Point)"><!-- --></A><H3>
  345. CompletionPopup</H3>
  346. <PRE>
  347. public <B>CompletionPopup</B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
  348. java.awt.Point&nbsp;location)</PRE>
  349. <DL>
  350. </DL>
  351. <!-- ============ METHOD DETAIL ========== -->
  352. <A NAME="method_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>Method Detail</B></FONT></TH>
  357. </TR>
  358. </TABLE>
  359. <A NAME="dispose()"><!-- --></A><H3>
  360. dispose</H3>
  361. <PRE>
  362. public void <B>dispose</B>()</PRE>
  363. <DL>
  364. <DD>Quit completion.
  365. <P>
  366. <DD><DL>
  367. <DT><B>Overrides:</B><DD><CODE>dispose</CODE> in class <CODE>java.awt.Window</CODE></DL>
  368. </DD>
  369. <DD><DL>
  370. </DL>
  371. </DD>
  372. </DL>
  373. <HR>
  374. <A NAME="reset(org.gjt.sp.jedit.gui.CompletionPopup.Candidates, boolean)"><!-- --></A><H3>
  375. reset</H3>
  376. <PRE>
  377. public void <B>reset</B>(<A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.Candidates.html" title="interface in org.gjt.sp.jedit.gui">CompletionPopup.Candidates</A>&nbsp;candidates,
  378. boolean&nbsp;active)</PRE>
  379. <DL>
  380. <DD>Start completion.
  381. <P>
  382. <DD><DL>
  383. <DT><B>Parameters:</B><DD><CODE>candidates</CODE> - The candidates of this completion<DD><CODE>active</CODE> - Ser focus to the popup</DL>
  384. </DD>
  385. </DL>
  386. <HR>
  387. <A NAME="getCandidates()"><!-- --></A><H3>
  388. getCandidates</H3>
  389. <PRE>
  390. public <A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.Candidates.html" title="interface in org.gjt.sp.jedit.gui">CompletionPopup.Candidates</A> <B>getCandidates</B>()</PRE>
  391. <DL>
  392. <DD>Current candidates of completion.
  393. <P>
  394. <DD><DL>
  395. </DL>
  396. </DD>
  397. </DL>
  398. <HR>
  399. <A NAME="getSelectedIndex()"><!-- --></A><H3>
  400. getSelectedIndex</H3>
  401. <PRE>
  402. public int <B>getSelectedIndex</B>()</PRE>
  403. <DL>
  404. <DD>Returns index of current selection.
  405. Returns -1 if nothing is selected.
  406. <P>
  407. <DD><DL>
  408. </DL>
  409. </DD>
  410. </DL>
  411. <HR>
  412. <A NAME="setSelectedIndex(int)"><!-- --></A><H3>
  413. setSelectedIndex</H3>
  414. <PRE>
  415. public void <B>setSelectedIndex</B>(int&nbsp;index)</PRE>
  416. <DL>
  417. <DD>Set selection.
  418. <P>
  419. <DD><DL>
  420. </DL>
  421. </DD>
  422. </DL>
  423. <HR>
  424. <A NAME="doSelectedCompletion()"><!-- --></A><H3>
  425. doSelectedCompletion</H3>
  426. <PRE>
  427. public boolean <B>doSelectedCompletion</B>()</PRE>
  428. <DL>
  429. <DD>Do completion with current selection and quit.
  430. <P>
  431. <DD><DL>
  432. </DL>
  433. </DD>
  434. </DL>
  435. <HR>
  436. <A NAME="keyPressed(java.awt.event.KeyEvent)"><!-- --></A><H3>
  437. keyPressed</H3>
  438. <PRE>
  439. protected void <B>keyPressed</B>(java.awt.event.KeyEvent&nbsp;e)</PRE>
  440. <DL>
  441. <DD>Handle key pressed events.
  442. Override this method to make additional key handing.
  443. <P>
  444. <DD><DL>
  445. </DL>
  446. </DD>
  447. </DL>
  448. <HR>
  449. <A NAME="keyTyped(java.awt.event.KeyEvent)"><!-- --></A><H3>
  450. keyTyped</H3>
  451. <PRE>
  452. protected void <B>keyTyped</B>(java.awt.event.KeyEvent&nbsp;e)</PRE>
  453. <DL>
  454. <DD>Handle key typed events.
  455. Override this method to make additional key handing.
  456. <P>
  457. <DD><DL>
  458. </DL>
  459. </DD>
  460. </DL>
  461. <!-- ========= END OF CLASS DATA ========= -->
  462. <HR>
  463. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  464. <A NAME="navbar_bottom"><!-- --></A>
  465. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  466. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  467. <TR>
  468. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  469. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  470. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  471. <TR ALIGN="center" VALIGN="top">
  472. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  473. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  474. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  475. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CompletionPopup.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  476. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  477. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  478. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  479. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  480. </TR>
  481. </TABLE>
  482. </TD>
  483. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  484. </EM>
  485. </TD>
  486. </TR>
  487. <TR>
  488. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  489. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/CompleteWord.html" title="class in org.gjt.sp.jedit.gui"><B>PREV CLASS</B></A>&nbsp;
  490. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.Candidates.html" title="interface in org.gjt.sp.jedit.gui"><B>NEXT CLASS</B></A></FONT></TD>
  491. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  492. <A HREF="../../../../../index.html?org/gjt/sp/jedit/gui/CompletionPopup.html" target="_top"><B>FRAMES</B></A> &nbsp;
  493. &nbsp;<A HREF="CompletionPopup.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  494. &nbsp;
  495. <NOSCRIPT>
  496. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  497. </NOSCRIPT>
  498. </FONT></TD>
  499. </TR>
  500. <TR>
  501. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  502. SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JWindow">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  503. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  504. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  505. </TR>
  506. </TABLE>
  507. <A NAME="skip-navbar_bottom"></A>
  508. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  509. <HR>
  510. </BODY>
  511. </HTML>