public abstract class SearchPopupController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SearchPopup |
myPopup |
protected PluginSearchTextField |
myTextField |
Constructor and Description |
---|
SearchPopupController(PluginSearchTextField searchTextField) |
Modifier and Type | Method and Description |
---|---|
protected void |
createPopup(SearchPopup.Type type,
CollectionListModel<java.lang.Object> model,
int caretPosition) |
protected abstract java.util.List<java.lang.String> |
getAttributes() |
protected abstract java.util.List<java.lang.String> |
getValues(java.lang.String attribute) |
protected void |
handleEnter() |
boolean |
handleEnter(java.awt.event.KeyEvent event) |
protected void |
handlePopupListFirstSelection() |
void |
handleShowPopup() |
boolean |
handleUpDown(java.awt.event.KeyEvent event) |
void |
hidePopup() |
boolean |
isPopupShow() |
void |
showAttributesPopup(java.lang.String namePrefix,
int caretPosition) |
protected abstract void |
showPopupForQuery() |
protected final PluginSearchTextField myTextField
protected SearchPopup myPopup
public SearchPopupController(PluginSearchTextField searchTextField)
public void handleShowPopup()
public void showAttributesPopup(java.lang.String namePrefix, int caretPosition)
protected void createPopup(SearchPopup.Type type, CollectionListModel<java.lang.Object> model, int caretPosition)
protected abstract java.util.List<java.lang.String> getAttributes()
protected abstract java.util.List<java.lang.String> getValues(java.lang.String attribute)
protected abstract void showPopupForQuery()
public boolean isPopupShow()
public void hidePopup()
public boolean handleEnter(java.awt.event.KeyEvent event)
protected void handleEnter()
public boolean handleUpDown(java.awt.event.KeyEvent event)
protected void handlePopupListFirstSelection()