程序包 | 说明 |
---|---|
com.fr.design.gui.autocomplete |
限定符和类型 | 接口和说明 |
---|---|
interface |
ParameterizedCompletion
A completion option that takes parameters, such as a function or method.
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractCompletion
Base class for possible completions.
|
class |
BasicCompletion
A straightforward
Completion implementation. |
class |
FunctionCompletion
A completion choice representing a function.
|
class |
MarkupTagCompletion
A completion representing a tag in markup, such as HTML or XML.
|
class |
ShorthandCompletion
A completion where the input text is shorthand for (really, just different
than) the actual text to be inserted.
|
class |
TemplateCompletion
A completion made up of a template with arbitrary parameters that the user
can tab through and fill in.
|
class |
VariableCompletion
A completion for a variable (or constant) in a programming language.
|
限定符和类型 | 字段和说明 |
---|---|
protected java.util.List<Completion> |
AbstractCompletionProvider.completions
The completions this provider is aware of.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Completion> |
AbstractCompletionProvider.getCompletionByInputText(java.lang.String inputText)
Returns a list of Completions in this provider with the
specified input text.
|
java.util.List<Completion> |
CompletionXMLParser.getCompletions()
Returns the completions found after parsing the XML.
|
java.util.List<Completion> |
CompletionProviderBase.getCompletions(javax.swing.text.JTextComponent comp)
Gets the possible completions for the text component at the current
caret position.
|
java.util.List<Completion> |
CompletionProvider.getCompletions(javax.swing.text.JTextComponent comp)
Gets the possible completions for the text component at the current
caret position.
|
java.util.List<Completion> |
LanguageAwareCompletionProvider.getCompletionsAt(javax.swing.text.JTextComponent tc,
java.awt.Point p)
Returns the completions that have been entered at the specified visual
location.
|
java.util.List<Completion> |
DefaultCompletionProvider.getCompletionsAt(javax.swing.text.JTextComponent tc,
java.awt.Point p)
Returns the completions that have been entered at the specified visual
location.
|
java.util.List<Completion> |
CompletionProvider.getCompletionsAt(javax.swing.text.JTextComponent comp,
java.awt.Point p)
Returns the completions that have been entered at the specified visual
location.
|
protected java.util.List<Completion> |
LanguageAwareCompletionProvider.getCompletionsImpl(javax.swing.text.JTextComponent comp)
Does the dirty work of creating a list of completions.
|
protected abstract java.util.List<Completion> |
CompletionProviderBase.getCompletionsImpl(javax.swing.text.JTextComponent comp)
Does the dirty work of creating a list of completions.
|
protected java.util.List<Completion> |
AbstractCompletionProvider.getCompletionsImpl(javax.swing.text.JTextComponent comp)
Does the dirty work of creating a list of completions.
|
java.util.List<Completion> |
ParameterChoicesProvider.getParameterChoices(javax.swing.text.JTextComponent tc,
ParameterizedCompletion.Parameter param)
Returns a list of choices for a specific parameter.
|
限定符和类型 | 方法和说明 |
---|---|
void |
AbstractCompletionProvider.addCompletion(Completion c)
Adds a single completion to this provider.
|
protected void |
AbstractCompletionProvider.checkProviderAndAdd(Completion c) |
int |
SortByRelevanceComparator.compare(Completion c1,
Completion c2) |
int |
Completion.compareTo(Completion other)
Compares this completion to another one lexicographically, ignoring
case.
|
int |
AbstractCompletion.compareTo(Completion c2)
Compares this completion to another one lexicographically, ignoring
case.
|
protected java.lang.String |
AutoCompletion.getReplacementText(Completion c,
javax.swing.text.Document doc,
int start,
int len)
Returns the text to replace with in the document.
|
protected void |
AutoCompletion.insertCompletion(Completion c)
Inserts a completion.
|
protected void |
AutoCompletion.insertCompletion(Completion c,
boolean typedParamListStartChar)
Inserts a completion.
|
protected void |
CompletionCellRenderer.prepareForOtherCompletion(javax.swing.JList list,
Completion c,
int index,
boolean selected,
boolean hasFocus)
Prepares this renderer to display a completion not specifically handled
elsewhere.
|
boolean |
AbstractCompletionProvider.removeCompletion(Completion c)
Removes the specified completion from this provider.
|
protected void |
CompletionCellRenderer.setIconWithDefault(Completion completion,
javax.swing.Icon defaultIcon)
Sets the icon to display based off of a completion, falling back to a
default icon if the completion has no icon.
|
void |
DescWindowCallback.showSummaryFor(Completion completion,
java.lang.String anchor)
Callback allowing a new code completion's description to be displayed
in the description window.
|
void |
ExternalURLHandler.urlClicked(javax.swing.event.HyperlinkEvent e,
Completion c,
DescWindowCallback callback)
Called when an external URL is clicked in the description window.
|
限定符和类型 | 方法和说明 |
---|---|
void |
AbstractCompletionProvider.addCompletions(java.util.List<Completion> completions)
Adds
Completion s to this provider. |