Uses of Interface
org.fife.ui.autocomplete.Completion
-
Uses of Completion in org.fife.ui.autocomplete
Subinterfaces of Completion in org.fife.ui.autocompleteModifier and TypeInterfaceDescriptioninterfaceA completion option that takes parameters, such as a function or method.Classes in org.fife.ui.autocomplete that implement CompletionModifier and TypeClassDescriptionclassBase class for possible completions.classA straightforwardCompletionimplementation.classA completion choice representing a function.classA completion representing a tag in markup, such as HTML or XML.classA completion where the input text is shorthand for (really, just different from) the actual text to be inserted.classA completion made up of a template with arbitrary parameters that the user can tab through and fill in.classA completion for a variable (or constant) in a programming language.Subclasses with type arguments of type Completion in org.fife.ui.autocompleteModifier and TypeClassDescriptionprivate classThe actual list of completion choices in this popup window.(package private) classA list model implementation that allows the bulk addition of elements.Subinterfaces with type arguments of type Completion in org.fife.ui.autocompleteClasses in org.fife.ui.autocomplete that implement interfaces with type arguments of type CompletionModifier and TypeClassDescriptionclassCompares twoCompletions by their relevance before sorting them lexicographically.Fields in org.fife.ui.autocomplete declared as CompletionModifier and TypeFieldDescriptionprivate CompletionAutoCompleteDescWindow.HistoryEntry.completionprivate CompletionAutoCompleteDescWindow.TimerAction.completionprivate CompletionAutoCompletePopupWindow.lastSelectionA hack to work around the fact that we clear our completion model (and our selection) when hiding the completion window.Fields in org.fife.ui.autocomplete with type parameters of type CompletionModifier and TypeFieldDescriptionprivate List<List<Completion>> ParameterizedCompletionChoicesWindow.choicesListListA list of lists of choices for each parameter.protected List<Completion> AbstractCompletionProvider.completionsThe completions this provider is aware of.private List<Completion> CompletionXMLParser.completionsThe completions found after parsing the XML.private final List<Completion> CompletionListModel.delegateContainer for items in this model.private List<Completion> DefaultCompletionProvider.lastParameterizedCompletionsAtUsed to speed upDefaultCompletionProvider.getCompletionsAt(JTextComponent, Point), since this may be called multiple times in succession (this is usually called byJTextComponent.getToolTipText(), and if the user wiggles the mouse while a tool tip is displayed, this method gets repeatedly called.private JList<Completion> ParameterizedCompletionChoicesWindow.listThe list of completion choices.private DefaultListModel<Completion> ParameterizedCompletionChoicesWindow.modelThe currently displayed completion choices.private static final Comparator<Completion> CompletionProviderBase.SORT_BY_RELEVANCE_COMPARATORComparator used to sort completions by their relevance before sorting them lexicographically.private static final Comparator<Completion> ParameterizedCompletionChoicesWindow.SORT_BY_RELEVANCE_COMPARATORComparator used to sort completions by their relevance before sorting them lexicographically.Methods in org.fife.ui.autocomplete that return CompletionModifier and TypeMethodDescriptionCompletionListModel.getElementAt(int index) AutoCompletePopupWindow.getSelection()Returns the selected value, ornullif nothing is selected.Methods in org.fife.ui.autocomplete that return types with arguments of type CompletionModifier and TypeMethodDescriptionAbstractCompletionProvider.getCompletionByInputText(String inputText) Returns a list ofCompletions in this provider with the specified input text.CompletionProvider.getCompletions(JTextComponent comp) Gets the possible completions for the text component at the current caret position.CompletionProviderBase.getCompletions(JTextComponent comp) CompletionXMLParser.getCompletions()Returns the completions found after parsing the XML.CompletionProvider.getCompletionsAt(JTextComponent comp, Point p) Returns the completions that have been entered at the specified visual location.DefaultCompletionProvider.getCompletionsAt(JTextComponent tc, Point p) LanguageAwareCompletionProvider.getCompletionsAt(JTextComponent tc, Point p) protected List<Completion> AbstractCompletionProvider.getCompletionsImpl(JTextComponent comp) protected abstract List<Completion> CompletionProviderBase.getCompletionsImpl(JTextComponent comp) Does the dirty work of creating a list of completions.protected List<Completion> LanguageAwareCompletionProvider.getCompletionsImpl(JTextComponent comp) Does the dirty work of creating a list of completions.ParameterChoicesProvider.getParameterChoices(JTextComponent tc, ParameterizedCompletion.Parameter param) Returns a list of choices for a specific parameter.Methods in org.fife.ui.autocomplete with parameters of type CompletionModifier and TypeMethodDescriptionvoidAbstractCompletionProvider.addCompletion(Completion c) Adds a single completion to this provider.protected voidAbstractCompletionProvider.checkProviderAndAdd(Completion c) intSortByRelevanceComparator.compare(Completion c1, Completion c2) intAbstractCompletion.compareTo(Completion c2) intCompletion.compareTo(Completion other) Compares this completion to another one lexicographically, ignoring case.intFunctionCompletion.compareTo(Completion c2) Overridden to compare methods by their comparison strings.protected StringAutoCompletion.getReplacementText(Completion c, Document doc, int start, int len) Returns the text to replace with in the document.protected final voidAutoCompletion.insertCompletion(Completion c) Inserts a completion.protected voidAutoCompletion.insertCompletion(Completion c, boolean typedParamListStartChar) Inserts a completion.protected voidCompletionCellRenderer.prepareForOtherCompletion(JList<?> list, Completion c, int index, boolean selected, boolean hasFocus) Prepares this renderer to display a completion not specifically handled elsewhere.booleanAbstractCompletionProvider.removeCompletion(Completion c) Removes the specified completion from this provider.(package private) voidAutoCompleteDescWindow.TimerAction.setCompletion(Completion c, String anchor, boolean addToHistory) voidAutoCompleteDescWindow.setDescriptionFor(Completion item) Sets the description displayed in this window.protected voidAutoCompleteDescWindow.setDescriptionFor(Completion item, boolean addToHistory) Sets the description displayed in this window.protected voidAutoCompleteDescWindow.setDescriptionFor(Completion item, String anchor, boolean addToHistory) Sets the description displayed in this window.private voidAutoCompleteDescWindow.setDisplayedDesc(Completion completion, String anchor, boolean addToHistory) protected voidCompletionCellRenderer.setIconWithDefault(Completion completion) Sets the icon to display based off of a completion, falling back to the empty icon if the completion has no icon.protected voidCompletionCellRenderer.setIconWithDefault(Completion completion, Icon defaultIcon) Sets the icon to display based off of a completion, falling back to a default icon if the completion has no icon.voidAutoCompleteDescWindow.showSummaryFor(Completion completion, String anchor) Callback for customExternalURLHandlers.voidDescWindowCallback.showSummaryFor(Completion completion, String anchor) Callback allowing a new code completion's description to be displayed in the description window.voidExternalURLHandler.urlClicked(HyperlinkEvent e, Completion c, DescWindowCallback callback) Called when an external URL is clicked in the description window.Method parameters in org.fife.ui.autocomplete with type arguments of type CompletionModifier and TypeMethodDescriptionvoidAbstractCompletionProvider.addCompletions(List<Completion> completions) AddsCompletions to this provider.voidAutoCompletePopupWindow.setCompletions(List<Completion> completions) Sets the completions to display in the choices list.voidCompletionListModel.setContents(Collection<Completion> contents) Sets the contents of this model.Constructors in org.fife.ui.autocomplete with parameters of type CompletionModifierConstructorDescription(package private)HistoryEntry(Completion completion, String summary, String anchor)