- Enclosing class:
- CompletionPopup
public static interface CompletionPopup.Candidates
Candidates of completion.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
getSize()
Returns the number of candidates.boolean
isValid()
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
Returns a component to render a cell for the index in the popup. -
getDescription
Returns a description text shown when the index is selected in the popup, or null if no description is available.
-