case class CodeCompletionPopup(autoSuggest: AutoSuggest, listRenderer: SuggestionListRenderer = ...) extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CodeCompletionPopup
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CodeCompletionPopup(autoSuggest: AutoSuggest, listRenderer: SuggestionListRenderer = ...)
Value Members
-
def
autoCompleteSuggestion(eA: JTextComponent, autoSuggestDocumentListener: AutoSuggestDocumentListener): Unit
Removes the currently typed token and replaces it with the selected element from the list of suggestions
- val autoSuggest: AutoSuggest
-
def
displayPopup(): Unit
Makes the suggestion box initially and displays it.
Makes the suggestion box initially and displays it. Should only be called when the user presses the shortcut to enable the suggestion. To update the suggestions list call showPopUp()
- val dlm: DefaultListModel[String]
- var editorArea: Option[JTextComponent]
-
def
fireUpdatePopup(docEventOption: Option[DocumentEvent]): Unit
Should be called to update the suggestion box
- def getTokenTillPosition(source: String, position: Int): Option[Token]
- def init(editorArea: JTextComponent, autoSuggestDocumentListener: AutoSuggestDocumentListener): Unit
- var isPopupEnabled: Boolean
- var lastSuggested: String
- val listRenderer: SuggestionListRenderer
-
def
placeWindowOnScreen(eA: JTextComponent, position: Int): Unit
Sets the location at which the window will be displayed
- val scrollPane: JScrollPane
- val suggestionDisplaylist: JList[String]
-
def
updatePopup(position: Int): Unit
Updates the list of the suggestion box and makes it visible.
- val window: JDialog