类 AbstractLanguageSupport

  • 所有已实现的接口:
    LanguageSupport
    直接已知子类:
    JythonLanguageSupport

    public abstract class AbstractLanguageSupport
    extends java.lang.Object
    implements LanguageSupport
    A base class for language support implementations.
    版本:
    1.0
    作者:
    Robert Futrell
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected org.fife.ui.autocomplete.AutoCompletion createAutoCompletion​(org.fife.ui.autocomplete.CompletionProvider p)
      Creates an auto-completion instance pre-configured and usable by most LanguageSupports.
      protected javax.swing.ListCellRenderer createDefaultCompletionCellRenderer()
      Creates the default cell renderer to use when none is specified.
      int getAutoActivationDelay()
      Returns the delay between when the user types a character and when the code completion popup should automatically appear (if applicable).
      protected org.fife.ui.autocomplete.AutoCompletion getAutoCompletionFor​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
      Returns the auto completion instance used by a text area.
      javax.swing.ListCellRenderer getDefaultCompletionCellRenderer()
      Returns the default list cell renderer to install for all text areas with this language support installed.
      boolean getShowDescWindow()
      REturns whether the description window is also shown when the completion list is displayed, for editors of this language.
      protected java.util.Set<org.fife.ui.rsyntaxtextarea.RSyntaxTextArea> getTextAreas()
      Returns the text areas with this language support currently installed.
      protected void installImpl​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea, org.fife.ui.autocomplete.AutoCompletion ac)
      Registers an auto-completion instance.
      boolean isAutoActivationEnabled()
      Returns whether auto-activation is enabled (that is, whether the completion popup will automatically appear after a delay when the user types an appropriate character).
      boolean isAutoCompleteEnabled()
      Returns whether auto-completion is enabled for this language.
      boolean isParameterAssistanceEnabled()
      Returns whether parameter assistance is enabled for editors of this language.
      void setAutoActivationDelay​(int ms)
      Sets the delay between when the user types a character and when the code completion popup should automatically appear (if applicable).
      void setAutoActivationEnabled​(boolean enabled)
      Toggles whether auto-activation is enabled.
      void setAutoCompleteEnabled​(boolean enabled)
      Toggles whether auto-completion is enabled for this language.
      void setDefaultCompletionCellRenderer​(javax.swing.ListCellRenderer r)
      Sets the default list cell renderer to install for all text areas with this language support installed.
      void setParameterAssistanceEnabled​(boolean enabled)
      Toggles whether parameter assistance is enabled for editors of this language.
      void setShowDescWindow​(boolean show)
      Toggles whether the description window should also be shown when the completion list is displayed, for editors of this language.
      protected void uninstallImpl​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
      Unregisters an textArea.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • AbstractLanguageSupport

        protected AbstractLanguageSupport()
        Constructor.