类 AbstractJythonSourceCompletion

  • 所有已实现的接口:
    Comparable<org.fife.ui.autocomplete.Completion>, org.fife.ui.autocomplete.Completion, JythonSourceCompletion
    直接已知子类:
    FieldCompletion

    public abstract class AbstractJythonSourceCompletion
    extends org.fife.ui.autocomplete.BasicCompletion
    implements JythonSourceCompletion
    Base class for Java source completions.
    版本:
    1.0
    作者:
    Robert Futrell
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      int compareTo​(org.fife.ui.autocomplete.Completion c2)
      Overridden to ensure that two completions don't just have the same text value (ignoring case), but that they're of the same "type" of Completion as well, so, for example, a completion for the "String" class won't clash with a completion for a "string" LocalVar.
      String getAlreadyEntered​(JTextComponent comp)  
      • 从类继承的方法 org.fife.ui.autocomplete.BasicCompletion

        getReplacementText, getShortDescription, getSummary, setShortDescription, setSummary, toString
      • 从类继承的方法 org.fife.ui.autocomplete.AbstractCompletion

        getIcon, getInputText, getProvider, getRelevance, getToolTipText, setIcon, setRelevance
      • 从接口继承的方法 org.fife.ui.autocomplete.Completion

        getIcon, getInputText, getProvider, getRelevance, getReplacementText, getSummary, getToolTipText
    • 构造器详细资料

      • AbstractJythonSourceCompletion

        public AbstractJythonSourceCompletion​(org.fife.ui.autocomplete.CompletionProvider provider,
                                              String replacementText)
    • 方法详细资料

      • compareTo

        public int compareTo​(org.fife.ui.autocomplete.Completion c2)
        Overridden to ensure that two completions don't just have the same text value (ignoring case), but that they're of the same "type" of Completion as well, so, for example, a completion for the "String" class won't clash with a completion for a "string" LocalVar.
        指定者:
        compareTo 在接口中 Comparable<org.fife.ui.autocomplete.Completion>
        指定者:
        compareTo 在接口中 org.fife.ui.autocomplete.Completion
        覆盖:
        compareTo 在类中 org.fife.ui.autocomplete.AbstractCompletion
        参数:
        c2 - Another completion instance.
        返回:
        How this completion compares to the other one.
      • getAlreadyEntered

        public String getAlreadyEntered​(JTextComponent comp)
        指定者:
        getAlreadyEntered 在接口中 org.fife.ui.autocomplete.Completion
        覆盖:
        getAlreadyEntered 在类中 org.fife.ui.autocomplete.AbstractCompletion