idea-plugin / arrow.meta.ide.dsl.ui.popups / IdeListPopupItem

IdeListPopupItem

data class IdeListPopupItem<A>

IdeListPopupItem resembles one item of a ListPopup Default values are from com.intellij.openapi.ui.popup.util.BaseListPopupStep

Parameters

iconForElement - wont be used if you specify sameIcon in arrow.meta.ide.dsl.ui.popups.PopupSyntax.listPopUp

Constructors

<init> IdeListPopupItem resembles one item of a ListPopup Default values are from com.intellij.openapi.ui.popup.util.BaseListPopupStepIdeListPopupItem(element: A, text: (element: A) -> String = { it.toString() }, iconForElement: Icon? = null, forGround: Color? = null, backGround: Color? = null, hasSubStep: Boolean = false, isSelectable: Boolean = true, onChosen: (element: A, finalChoice: Boolean) -> PopupStep<*> = { _, _ -> FINAL_CHOICE }, listSeparator: (A) -> ListSeparator? = Noop.nullable1())

Properties

backGround val backGround: Color?
element val element: A
forGround val forGround: Color?
hasSubStep val hasSubStep: Boolean
iconForElement wont be used if you specify sameIcon in arrow.meta.ide.dsl.ui.popups.PopupSyntax.listPopUpval iconForElement: Icon?
isSelectable val isSelectable: Boolean
listSeparator val listSeparator: (A) -> ListSeparator?
onChosen val onChosen: (element: A, finalChoice: Boolean) -> PopupStep<*>
text val text: (element: A) -> String

Do you like Arrow?

Arrow Org
<