public abstract class HintUpdateSupply
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
|
HintUpdateSupply(JBList list) |
|
HintUpdateSupply(JBTable table) |
protected |
HintUpdateSupply(javax.swing.JComponent component) |
|
HintUpdateSupply(Tree tree) |
Modifier and Type | Method and Description |
---|---|
protected abstract PsiElement |
getPsiElementForHint(java.lang.Object selectedValue) |
static HintUpdateSupply |
getSupply(javax.swing.JComponent component) |
void |
hideHint() |
static void |
hideHint(javax.swing.JComponent component) |
static void |
installDataContextHintUpdateSupply(javax.swing.JComponent component) |
static void |
installHintUpdateSupply(javax.swing.JComponent component,
Function<java.lang.Object,? extends PsiElement> provider) |
protected void |
installListListener(javax.swing.JList list) |
static void |
installSimpleHintUpdateSupply(javax.swing.JComponent component) |
protected void |
installTableListener(javax.swing.JTable table) |
protected void |
installTreeListener(javax.swing.JTree tree) |
void |
registerHint(JBPopup hint) |
boolean |
shouldUpdateHint() |
void |
updateHint(PsiElement element) |
protected HintUpdateSupply(javax.swing.JComponent component)
public HintUpdateSupply(JBTable table)
public HintUpdateSupply(Tree tree)
public HintUpdateSupply(JBList list)
public static HintUpdateSupply getSupply(javax.swing.JComponent component)
public static void hideHint(javax.swing.JComponent component)
public static void installSimpleHintUpdateSupply(javax.swing.JComponent component)
public static void installDataContextHintUpdateSupply(javax.swing.JComponent component)
public static void installHintUpdateSupply(javax.swing.JComponent component, Function<java.lang.Object,? extends PsiElement> provider)
protected void installTableListener(javax.swing.JTable table)
protected void installTreeListener(javax.swing.JTree tree)
protected void installListListener(javax.swing.JList list)
protected abstract PsiElement getPsiElementForHint(java.lang.Object selectedValue)
public void registerHint(JBPopup hint)
public void hideHint()
public void updateHint(PsiElement element)
public boolean shouldUpdateHint()