idea-plugin / arrow.meta.ide.dsl.ui.popups / IdeListPopupItem
data class IdeListPopupItem<A>
IdeListPopupItem resembles one item of a ListPopup Default values are from com.intellij.openapi.ui.popup.util.BaseListPopupStep
iconForElement
- wont be used if you specify sameIcon
in arrow.meta.ide.dsl.ui.popups.PopupSyntax.listPopUp
<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()) |
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?
✖