Class ScriptIntelliHints

  • All Implemented Interfaces:
    com.jidesoft.hints.IntelliHints

    public class ScriptIntelliHints
    extends com.jidesoft.editor.AbstractCodeEditorIntelliHints
    • Field Summary

      • Fields inherited from interface com.jidesoft.hints.IntelliHints

        CLIENT_PROPERTY_INTELLI_HINTS
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptIntelliHints​(com.jidesoft.editor.CodeEditor codeEditor, java.util.Map<java.lang.String,​java.util.List<ScriptFunctionHint>> hintsMap)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      boolean updateHints​(java.lang.Object o, boolean b)  
      • Methods inherited from class com.jidesoft.editor.AbstractCodeEditorIntelliHints

        addShowHintsKeyStroke, createPopup, getAllShowHintsKeyStrokes, getCaretRectangleForPopup, getCodeEditor, getContext, getDelimiters, getIntelliHints, getPopupDelay, getShowHintsKeyStroke, hideHintsPopup, install, isAutoPopup, isHintsPopupVisible, removeShowHintsKeyStroke, setAutoPopup, setDelimiters, setHintsEnabled, setPopupDelay, showHintsPopup, uninstall
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScriptIntelliHints

        public ScriptIntelliHints​(com.jidesoft.editor.CodeEditor codeEditor,
                                  java.util.Map<java.lang.String,​java.util.List<ScriptFunctionHint>> hintsMap)
    • Method Detail

      • install

        public static ScriptIntelliHints install​(com.jidesoft.editor.CodeEditor codeEditor,
                                                 java.util.Map<java.lang.String,​java.util.List<ScriptFunctionHint>> hintsMap)
      • createHintsComponent

        public javax.swing.JComponent createHintsComponent()
      • getSelectedHint

        public java.lang.Object getSelectedHint()
      • acceptHint

        public void acceptHint​(java.lang.Object hint)
        Specified by:
        acceptHint in interface com.jidesoft.hints.IntelliHints
        Overrides:
        acceptHint in class com.jidesoft.editor.AbstractCodeEditorIntelliHints
      • updateHints

        public boolean updateHints​(java.lang.Object context)
      • updateHints

        public boolean updateHints​(java.lang.Object o,
                                   boolean b)
      • getDelegateKeyStrokes

        public javax.swing.KeyStroke[] getDelegateKeyStrokes()
        Specified by:
        getDelegateKeyStrokes in class com.jidesoft.editor.AbstractCodeEditorIntelliHints
      • getDelegateComponent

        public javax.swing.JComponent getDelegateComponent()
        Specified by:
        getDelegateComponent in class com.jidesoft.editor.AbstractCodeEditorIntelliHints