Module jEdit

Interface CompletionPopup.Candidates

Enclosing class:
CompletionPopup

public static interface CompletionPopup.Candidates
Candidates of completion.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    complete(int index)
    Do the completion.
    getCellRenderer(JList list, int index, boolean isSelected, boolean cellHasFocus)
    Returns a component to render a cell for the index in the popup.
    getDescription(int index)
    Returns a description text shown when the index is selected in the popup, or null if no description is available.
    int
    Returns the number of candidates.
    boolean
    Returns whether this completion is still valid.
  • Method Details

    • getSize

      int getSize()
      Returns the number of candidates.
    • isValid

      boolean isValid()
      Returns whether this completion is still valid.
    • complete

      void complete(int index)
      Do the completion.
    • getCellRenderer

      Component getCellRenderer(JList list, int index, boolean isSelected, boolean cellHasFocus)
      Returns a component to render a cell for the index in the popup.
    • getDescription

      String getDescription(int index)
      Returns a description text shown when the index is selected in the popup, or null if no description is available.