public class LookupActionsStep extends BaseListPopupStep<LookupElementAction> implements ClosableByLeftArrow
Constructor and Description |
---|
LookupActionsStep(java.util.Collection<LookupElementAction> actions,
LookupImpl lookup,
LookupElement lookupElement) |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIconFor(LookupElementAction aValue)
Returns the icon to display for the specified list item.
|
java.lang.String |
getTextFor(LookupElementAction value)
Returns the text to display for the specified list item.
|
PopupStep |
onChosen(LookupElementAction selectedValue,
boolean finalChoice) |
canceled, getBackgroundFor, getDefaultOptionIndex, getForegroundFor, getSeparatorAbove, getTitle, getValues, hasSubstep, init, isSelectable, setDefaultOptionIndex
doFinalStep, getFinalRunnable, getIndexedString, getMnemonicNavigationFilter, getMnemonicPos, getSpeedSearchFilter, isAutoSelectionEnabled, isMnemonicsNavigationEnabled, isSpeedSearchEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSelectedIconFor
public LookupActionsStep(java.util.Collection<LookupElementAction> actions, LookupImpl lookup, LookupElement lookupElement)
public PopupStep onChosen(LookupElementAction selectedValue, boolean finalChoice)
onChosen
in class BaseListPopupStep<LookupElementAction>
public javax.swing.Icon getIconFor(LookupElementAction aValue)
ListPopupStep
getIconFor
in interface ListPopupStep<LookupElementAction>
getIconFor
in class BaseListPopupStep<LookupElementAction>
aValue
- the value for which the icon is requested.public java.lang.String getTextFor(LookupElementAction value)
ListPopupStep
getTextFor
in interface ListPopupStep<LookupElementAction>
getTextFor
in class BaseListPopupStep<LookupElementAction>
value
- the value for which the text is requested.