public class SearchPopup
extends java.awt.event.ComponentAdapter
implements javax.swing.event.CaretListener
Modifier and Type | Class and Description |
---|---|
static class |
SearchPopup.Type |
Modifier and Type | Field and Description |
---|---|
SearchPopupCallback |
callback |
int |
caretPosition |
java.lang.Object |
data |
javax.swing.JList<java.lang.Object> |
list |
CollectionListModel<java.lang.Object> |
model |
boolean |
skipCaretEvent |
SearchPopup.Type |
type |
Constructor and Description |
---|
SearchPopup(SearchTextField searchTextField,
JBPopupListener listener,
SearchPopup.Type type,
CollectionListModel<java.lang.Object> model,
int caretPosition) |
Modifier and Type | Method and Description |
---|---|
void |
caretUpdate(javax.swing.event.CaretEvent e) |
void |
componentMoved(java.awt.event.ComponentEvent e) |
void |
componentResized(java.awt.event.ComponentEvent e) |
void |
createAndShow(Consumer callback,
ColoredListCellRenderer renderer,
boolean async) |
void |
hide() |
boolean |
isValid() |
void |
update() |
public final SearchPopup.Type type
public final CollectionListModel<java.lang.Object> model
public javax.swing.JList<java.lang.Object> list
public int caretPosition
public SearchPopupCallback callback
public boolean skipCaretEvent
public java.lang.Object data
public SearchPopup(SearchTextField searchTextField, JBPopupListener listener, SearchPopup.Type type, CollectionListModel<java.lang.Object> model, int caretPosition)
public void createAndShow(Consumer callback, ColoredListCellRenderer renderer, boolean async)
public boolean isValid()
public void update()
public void hide()
public void caretUpdate(javax.swing.event.CaretEvent e)
caretUpdate
in interface javax.swing.event.CaretListener
public void componentMoved(java.awt.event.ComponentEvent e)
componentMoved
in interface java.awt.event.ComponentListener
componentMoved
in class java.awt.event.ComponentAdapter
public void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
componentResized
in class java.awt.event.ComponentAdapter