public class ScriptIntelliHints
extends com.jidesoft.editor.AbstractCodeEditorIntelliHints
Constructor and Description |
---|
ScriptIntelliHints(com.jidesoft.editor.CodeEditor codeEditor,
java.util.Map<java.lang.String,java.util.List<ScriptFunctionHint>> hintsMap) |
Modifier and Type | Method and Description |
---|---|
void |
acceptHint(java.lang.Object hint) |
javax.swing.JComponent |
createHintsComponent() |
javax.swing.JComponent |
getDelegateComponent() |
javax.swing.KeyStroke[] |
getDelegateKeyStrokes() |
java.lang.Object |
getSelectedHint() |
static ScriptIntelliHints |
install(com.jidesoft.editor.CodeEditor codeEditor,
java.util.Map<java.lang.String,java.util.List<ScriptFunctionHint>> hintsMap) |
boolean |
updateHints(java.lang.Object context) |
addShowHintsKeyStroke, createPopup, getAllShowHintsKeyStrokes, getCaretRectangleForPopup, getCodeEditor, getContext, getDelimiters, getIntelliHints, getShowHintsKeyStroke, hideHintsPopup, install, isAutoPopup, isHintsPopupVisible, removeShowHintsKeyStroke, setAutoPopup, setDelimiters, setHintsEnabled, showHintsPopup, uninstall
public ScriptIntelliHints(com.jidesoft.editor.CodeEditor codeEditor, java.util.Map<java.lang.String,java.util.List<ScriptFunctionHint>> hintsMap)
public static ScriptIntelliHints install(com.jidesoft.editor.CodeEditor codeEditor, java.util.Map<java.lang.String,java.util.List<ScriptFunctionHint>> hintsMap)
public javax.swing.JComponent createHintsComponent()
public java.lang.Object getSelectedHint()
public void acceptHint(java.lang.Object hint)
acceptHint
in interface com.jidesoft.hints.IntelliHints
acceptHint
in class com.jidesoft.editor.AbstractCodeEditorIntelliHints
public boolean updateHints(java.lang.Object context)
public javax.swing.KeyStroke[] getDelegateKeyStrokes()
getDelegateKeyStrokes
in class com.jidesoft.editor.AbstractCodeEditorIntelliHints
public javax.swing.JComponent getDelegateComponent()
getDelegateComponent
in class com.jidesoft.editor.AbstractCodeEditorIntelliHints