Package org.fife.rsta.ac.js.completion
Interface JSCompletion
- All Superinterfaces:
Comparable<org.fife.ui.autocomplete.Completion>,org.fife.ui.autocomplete.Completion,JSCompletionUI
- All Known Implementing Classes:
JavaScriptInScriptFunctionCompletion,JavaScriptMethodCompletion,JSBeanCompletion,JSClassCompletion,JSConstructorCompletion,JSFieldCompletion,JSFunctionCompletion
-
Field Summary
Fields inherited from interface org.fife.rsta.ac.js.completion.JSCompletionUI
BASIC_COMPLETION_RELEVANCE, BEAN_METHOD_RELEVANCE, DEFAULT_CLASS_RELEVANCE, DEFAULT_FUNCTION_RELEVANCE, DEFAULT_VARIABLE_RELEVANCE, GLOBAL_FUNCTION_RELEVANCE, GLOBAL_VARIABLE_RELEVANCE, LOCAL_VARIABLE_RELEVANCE, STATIC_FIELD_RELEVANCE, TEMPLATE_RELEVANCE -
Method Summary
Modifier and TypeMethodDescriptiongetEnclosingClassName(boolean fullyQualified) Returns the name of the enclosing class.getType(boolean qualified) Methods inherited from interface org.fife.ui.autocomplete.Completion
compareTo, getAlreadyEntered, getIcon, getInputText, getProvider, getRelevance, getReplacementText, getSummary, getToolTipText
-
Method Details
-
getLookupName
String getLookupName()- Returns:
- a logical lookup name that is unique
-
getType
- Returns:
- JavaScript type from Completion qualified
-
getEnclosingClassName
Returns the name of the enclosing class.- Parameters:
fullyQualified- Whether the name returned should be fully qualified.- Returns:
- The class name.
-