public static interface CompletionPopup.Candidates
Modifier and Type | Method | Description |
---|---|---|
void |
complete(int index) |
Do the completion.
|
java.awt.Component |
getCellRenderer(javax.swing.JList list,
int index,
boolean isSelected,
boolean cellHasFocus) |
Returns a component to render a cell for the index
in the popup.
|
java.lang.String |
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.
|
int getSize()
boolean isValid()
void complete(int index)
java.awt.Component getCellRenderer(javax.swing.JList list, int index, boolean isSelected, boolean cellHasFocus)
java.lang.String getDescription(int index)