Interface ParameterizedCompletion

    • Method Detail

      • getDefinitionString

        java.lang.String getDefinitionString()
        Returns the "definition string" for this completion. For example, for the C "printf" function, this would return "int printf(const char *, ...)".
        Returns:
        The definition string.
      • getParamCount

        int getParamCount()
        Returns the number of parameters this completion takes.
        Returns:
        The number of parameters this completion takes.
        See Also:
        getParam(int)
      • getInsertionInfo

        ParameterizedCompletionInsertionInfo getInsertionInfo​(javax.swing.text.JTextComponent tc,
                                                              boolean replaceTabsWithSpaces)
        Returns completion information for this parameterized completion, given the specified text component.
        Parameters:
        tc - The text component.
        replaceTabsWithSpaces - Whether to replace tabs with spaces.
        Returns:
        The completion info.
      • getShowParameterToolTip

        boolean getShowParameterToolTip()
        Returns whether a tool tip displaying assistance for each parameter while it is being edited is appropriate for this completion.
        Returns:
        Whether the tool tip is appropriate to display.