PageRenderTime 69ms CodeModel.GetById 50ms app.highlight 14ms RepoModel.GetById 1ms app.codeStats 0ms

/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
  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>
  7CompletionPopup (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.gui.CompletionPopup class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CompletionPopup.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/CompleteWord.html" title="class in org.gjt.sp.jedit.gui"><B>PREV CLASS</B></A>&nbsp;
 51&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>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../../index.html?org/gjt/sp/jedit/gui/CompletionPopup.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="CompletionPopup.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JWindow">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.jedit.gui</FONT>
 78<BR>
 79Class CompletionPopup</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">java.awt.Component
 83      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">java.awt.Container
 84          <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">java.awt.Window
 85              <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">javax.swing.JWindow
 86                  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.gui.CompletionPopup</B>
 87</PRE>
 88<DL>
 89<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer</DD>
 90</DL>
 91<DL>
 92<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>
 93</DL>
 94<HR>
 95<DL>
 96<DT><PRE>public class <B>CompletionPopup</B><DT>extends javax.swing.JWindow</DL>
 97</PRE>
 98
 99<P>
100Popup window for word completion in text area.
101 This class provides basic UI of completion popup.
102<P>
103
104<P>
105<DL>
106<DT><B>Since:</B></DT>
107  <DD>jEdit 4.3pre11</DD>
108<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.gjt.sp.jedit.gui.CompletionPopup">Serialized Form</A></DL>
109<HR>
110
111<P>
112<!-- ======== NESTED CLASS SUMMARY ======== -->
113
114<A NAME="nested_class_summary"><!-- --></A>
115<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
118<B>Nested Class Summary</B></FONT></TH>
119</TR>
120<TR BGCOLOR="white" CLASS="TableRowColor">
121<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122<CODE>static&nbsp;interface</CODE></FONT></TD>
123<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>
124
125<BR>
126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Candidates of completion.</TD>
127</TR>
128</TABLE>
129&nbsp;<A NAME="nested_classes_inherited_from_class_javax.swing.JWindow"><!-- --></A>
130<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
132<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JWindow</B></TH>
133</TR>
134<TR BGCOLOR="white" CLASS="TableRowColor">
135<TD><CODE>javax.swing.JWindow.AccessibleJWindow</CODE></TD>
136</TR>
137</TABLE>
138&nbsp;
139<A NAME="nested_classes_inherited_from_class_java.awt.Window"><!-- --></A>
140<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
141<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
142<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Window</B></TH>
143</TR>
144<TR BGCOLOR="white" CLASS="TableRowColor">
145<TD><CODE>java.awt.Window.AccessibleAWTWindow</CODE></TD>
146</TR>
147</TABLE>
148&nbsp;
149<A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A>
150<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
152<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Container</B></TH>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD>
156</TR>
157</TABLE>
158&nbsp;
159<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
160<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
161<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
162<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD>
166</TR>
167</TABLE>
168&nbsp;
169<!-- =========== FIELD SUMMARY =========== -->
170
171<A NAME="field_summary"><!-- --></A>
172<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
173<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
174<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
175<B>Field Summary</B></FONT></TH>
176</TR>
177</TABLE>
178&nbsp;<A NAME="fields_inherited_from_class_javax.swing.JWindow"><!-- --></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 class javax.swing.JWindow</B></TH>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD><CODE>accessibleContext, rootPane, rootPaneCheckingEnabled</CODE></TD>
185</TR>
186</TABLE>
187&nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
188<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
189<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
190<TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
191</TR>
192<TR BGCOLOR="white" CLASS="TableRowColor">
193<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
194</TR>
195</TABLE>
196&nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
197<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
198<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
199<TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
203</TR>
204</TABLE>
205&nbsp;
206<!-- ======== CONSTRUCTOR SUMMARY ======== -->
207
208<A NAME="constructor_summary"><!-- --></A>
209<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
210<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
211<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
212<B>Constructor Summary</B></FONT></TH>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<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>
216
217<BR>
218&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a completion popup.</TD>
219</TR>
220<TR BGCOLOR="white" CLASS="TableRowColor">
221<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,
222                java.awt.Point&nbsp;location)</CODE>
223
224<BR>
225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
226</TR>
227</TABLE>
228&nbsp;
229<!-- ========== METHOD SUMMARY =========== -->
230
231<A NAME="method_summary"><!-- --></A>
232<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
233<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
234<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
235<B>Method Summary</B></FONT></TH>
236</TR>
237<TR BGCOLOR="white" CLASS="TableRowColor">
238<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239<CODE>&nbsp;void</CODE></FONT></TD>
240<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#dispose()">dispose</A></B>()</CODE>
241
242<BR>
243&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Quit completion.</TD>
244</TR>
245<TR BGCOLOR="white" CLASS="TableRowColor">
246<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247<CODE>&nbsp;boolean</CODE></FONT></TD>
248<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#doSelectedCompletion()">doSelectedCompletion</A></B>()</CODE>
249
250<BR>
251&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do completion with current selection and quit.</TD>
252</TR>
253<TR BGCOLOR="white" CLASS="TableRowColor">
254<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255<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>
256<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#getCandidates()">getCandidates</A></B>()</CODE>
257
258<BR>
259&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Current candidates of completion.</TD>
260</TR>
261<TR BGCOLOR="white" CLASS="TableRowColor">
262<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263<CODE>&nbsp;int</CODE></FONT></TD>
264<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#getSelectedIndex()">getSelectedIndex</A></B>()</CODE>
265
266<BR>
267&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns index of current selection.</TD>
268</TR>
269<TR BGCOLOR="white" CLASS="TableRowColor">
270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271<CODE>protected &nbsp;void</CODE></FONT></TD>
272<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>
273
274<BR>
275&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle key pressed events.</TD>
276</TR>
277<TR BGCOLOR="white" CLASS="TableRowColor">
278<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279<CODE>protected &nbsp;void</CODE></FONT></TD>
280<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>
281
282<BR>
283&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle key typed events.</TD>
284</TR>
285<TR BGCOLOR="white" CLASS="TableRowColor">
286<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
287<CODE>&nbsp;void</CODE></FONT></TD>
288<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,
289      boolean&nbsp;active)</CODE>
290
291<BR>
292&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start completion.</TD>
293</TR>
294<TR BGCOLOR="white" CLASS="TableRowColor">
295<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296<CODE>&nbsp;void</CODE></FONT></TD>
297<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/gui/CompletionPopup.html#setSelectedIndex(int)">setSelectedIndex</A></B>(int&nbsp;index)</CODE>
298
299<BR>
300&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set selection.</TD>
301</TR>
302</TABLE>
303&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JWindow"><!-- --></A>
304<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
305<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
306<TH ALIGN="left"><B>Methods inherited from class javax.swing.JWindow</B></TH>
307</TR>
308<TR BGCOLOR="white" CLASS="TableRowColor">
309<TD><CODE>addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setGlassPane, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update, windowInit</CODE></TD>
310</TR>
311</TABLE>
312&nbsp;<A NAME="methods_inherited_from_class_java.awt.Window"><!-- --></A>
313<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
314<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
315<TH ALIGN="left"><B>Methods inherited from class java.awt.Window</B></TH>
316</TR>
317<TR BGCOLOR="white" CLASS="TableRowColor">
318<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>
319</TR>
320</TABLE>
321&nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
322<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
323<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
324<TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
325</TR>
326<TR BGCOLOR="white" CLASS="TableRowColor">
327<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>
328</TR>
329</TABLE>
330&nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
331<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
332<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
333<TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
334</TR>
335<TR BGCOLOR="white" CLASS="TableRowColor">
336<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>
337</TR>
338</TABLE>
339&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
340<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
341<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
342<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
343</TR>
344<TR BGCOLOR="white" CLASS="TableRowColor">
345<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
346</TR>
347</TABLE>
348&nbsp;
349<P>
350
351<!-- ========= CONSTRUCTOR DETAIL ======== -->
352
353<A NAME="constructor_detail"><!-- --></A>
354<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
355<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
356<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
357<B>Constructor Detail</B></FONT></TH>
358</TR>
359</TABLE>
360
361<A NAME="CompletionPopup(org.gjt.sp.jedit.View)"><!-- --></A><H3>
362CompletionPopup</H3>
363<PRE>
364public <B>CompletionPopup</B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view)</PRE>
365<DL>
366<DD>Create a completion popup.
367 It is not shown until reset() method is called with valid
368 candidates. All key events for the view are intercepted by
369 this popup untill end of completion.
370<P>
371<DL>
372<DT><B>Since:</B></DT>
373  <DD>jEdit 4.3pre13</DD>
374</DL>
375</DL>
376<HR>
377
378<A NAME="CompletionPopup(org.gjt.sp.jedit.View, java.awt.Point)"><!-- --></A><H3>
379CompletionPopup</H3>
380<PRE>
381public <B>CompletionPopup</B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
382                       java.awt.Point&nbsp;location)</PRE>
383<DL>
384</DL>
385
386<!-- ============ METHOD DETAIL ========== -->
387
388<A NAME="method_detail"><!-- --></A>
389<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
390<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
391<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
392<B>Method Detail</B></FONT></TH>
393</TR>
394</TABLE>
395
396<A NAME="dispose()"><!-- --></A><H3>
397dispose</H3>
398<PRE>
399public void <B>dispose</B>()</PRE>
400<DL>
401<DD>Quit completion.
402<P>
403<DD><DL>
404<DT><B>Overrides:</B><DD><CODE>dispose</CODE> in class <CODE>java.awt.Window</CODE></DL>
405</DD>
406<DD><DL>
407</DL>
408</DD>
409</DL>
410<HR>
411
412<A NAME="reset(org.gjt.sp.jedit.gui.CompletionPopup.Candidates, boolean)"><!-- --></A><H3>
413reset</H3>
414<PRE>
415public 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,
416                  boolean&nbsp;active)</PRE>
417<DL>
418<DD>Start completion.
419<P>
420<DD><DL>
421<DT><B>Parameters:</B><DD><CODE>candidates</CODE> - The candidates of this completion<DD><CODE>active</CODE> - Ser focus to the popup</DL>
422</DD>
423</DL>
424<HR>
425
426<A NAME="getCandidates()"><!-- --></A><H3>
427getCandidates</H3>
428<PRE>
429public <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>
430<DL>
431<DD>Current candidates of completion.
432<P>
433<DD><DL>
434</DL>
435</DD>
436</DL>
437<HR>
438
439<A NAME="getSelectedIndex()"><!-- --></A><H3>
440getSelectedIndex</H3>
441<PRE>
442public int <B>getSelectedIndex</B>()</PRE>
443<DL>
444<DD>Returns index of current selection.
445 Returns -1 if nothing is selected.
446<P>
447<DD><DL>
448</DL>
449</DD>
450</DL>
451<HR>
452
453<A NAME="setSelectedIndex(int)"><!-- --></A><H3>
454setSelectedIndex</H3>
455<PRE>
456public void <B>setSelectedIndex</B>(int&nbsp;index)</PRE>
457<DL>
458<DD>Set selection.
459<P>
460<DD><DL>
461</DL>
462</DD>
463</DL>
464<HR>
465
466<A NAME="doSelectedCompletion()"><!-- --></A><H3>
467doSelectedCompletion</H3>
468<PRE>
469public boolean <B>doSelectedCompletion</B>()</PRE>
470<DL>
471<DD>Do completion with current selection and quit.
472<P>
473<DD><DL>
474</DL>
475</DD>
476</DL>
477<HR>
478
479<A NAME="keyPressed(java.awt.event.KeyEvent)"><!-- --></A><H3>
480keyPressed</H3>
481<PRE>
482protected void <B>keyPressed</B>(java.awt.event.KeyEvent&nbsp;e)</PRE>
483<DL>
484<DD>Handle key pressed events.
485 Override this method to make additional key handing.
486<P>
487<DD><DL>
488</DL>
489</DD>
490</DL>
491<HR>
492
493<A NAME="keyTyped(java.awt.event.KeyEvent)"><!-- --></A><H3>
494keyTyped</H3>
495<PRE>
496protected void <B>keyTyped</B>(java.awt.event.KeyEvent&nbsp;e)</PRE>
497<DL>
498<DD>Handle key typed events.
499 Override this method to make additional key handing.
500<P>
501<DD><DL>
502</DL>
503</DD>
504</DL>
505<!-- ========= END OF CLASS DATA ========= -->
506<HR>
507
508
509<!-- ======= START OF BOTTOM NAVBAR ====== -->
510<A NAME="navbar_bottom"><!-- --></A>
511<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
512<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
513<TR>
514<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
515<A NAME="navbar_bottom_firstrow"><!-- --></A>
516<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
517  <TR ALIGN="center" VALIGN="top">
518  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
519  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
520  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
521  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CompletionPopup.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
522  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
523  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
524  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
525  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
526  </TR>
527</TABLE>
528</TD>
529<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
530</EM>
531</TD>
532</TR>
533
534<TR>
535<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
536&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/gui/CompleteWord.html" title="class in org.gjt.sp.jedit.gui"><B>PREV CLASS</B></A>&nbsp;
537&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>
538<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
539  <A HREF="../../../../../index.html?org/gjt/sp/jedit/gui/CompletionPopup.html" target="_top"><B>FRAMES</B></A>  &nbsp;
540&nbsp;<A HREF="CompletionPopup.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
541&nbsp;
542<NOSCRIPT>
543  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
544</NOSCRIPT>
545
546
547</FONT></TD>
548</TR>
549<TR>
550<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
551  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>
552<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
553DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
554</TR>
555</TABLE>
556<A NAME="skip-navbar_bottom"></A>
557<!-- ======== END OF BOTTOM NAVBAR ======= -->
558
559<HR>
560
561</BODY>
562</HTML>