MenuItemContainer

interface MenuItemContainer : Container<MenuItem>

Container of MenuItem.

See also

ContextMenu
Menu
MenuButton
SplitMenuButton

Inheritors

Functions

Link copied to clipboard
abstract fun <T : MenuItem> addChild(child: T): T

Allows child to be added dynamically with Kotlin DSL in the context of this manager.

Link copied to clipboard
inline fun MenuItemContainer.checkMenuItem(text: String? = null, graphic: Node? = null): CheckMenuItem

Add a CheckMenuItem to this container.

inline fun MenuItemContainer.checkMenuItem(text: String? = null, graphic: Node? = null, configuration: CheckMenuItem.() -> Unit): CheckMenuItem

Add a CheckMenuItem with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.customMenuItem(content: Node? = null, hideOnClick: Boolean = true): CustomMenuItem

Add a CustomMenuItem to this container.

inline fun MenuItemContainer.customMenuItem(content: Node? = null, hideOnClick: Boolean = true, configuration: CustomMenuItem.() -> Unit): CustomMenuItem

Add a CustomMenuItem with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.menu(text: String = "", graphic: Node? = null): Menu

Add a Menu to this container.

inline fun MenuItemContainer.menu(text: String = "", graphic: Node? = null, configuration: KtfxMenu.() -> Unit): Menu

Add a Menu with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.menuItem(text: String? = null, graphic: Node? = null): MenuItem

Add a MenuItem to this container.

inline fun MenuItemContainer.menuItem(text: String? = null, graphic: Node? = null, configuration: MenuItem.() -> Unit): MenuItem

Add a MenuItem with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.radioMenuItem(text: String? = null, graphic: Node? = null): RadioMenuItem

Add a RadioMenuItem to this container.

inline fun MenuItemContainer.radioMenuItem(text: String? = null, graphic: Node? = null, configuration: RadioMenuItem.() -> Unit): RadioMenuItem

Add a RadioMenuItem with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.separatorMenuItem(): SeparatorMenuItem

Add a SeparatorMenuItem to this container.

inline fun MenuItemContainer.separatorMenuItem(configuration: SeparatorMenuItem.() -> Unit): SeparatorMenuItem

Add a SeparatorMenuItem with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.styledCheckMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): CheckMenuItem

Add a styled CheckMenuItem to this container.

inline fun MenuItemContainer.styledCheckMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: CheckMenuItem.() -> Unit): CheckMenuItem

Add a styled CheckMenuItem with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.styledCustomMenuItem(content: Node? = null, hideOnClick: Boolean = true, vararg styleClass: String, id: String? = null): CustomMenuItem

Add a styled CustomMenuItem to this container.

inline fun MenuItemContainer.styledCustomMenuItem(content: Node? = null, hideOnClick: Boolean = true, vararg styleClass: String, id: String? = null, configuration: CustomMenuItem.() -> Unit): CustomMenuItem

Add a styled CustomMenuItem with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null): Menu

Add a styled Menu to this container.

inline fun MenuItemContainer.styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxMenu.() -> Unit): Menu

Add a styled Menu with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.styledMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): MenuItem

Add a styled MenuItem to this container.

inline fun MenuItemContainer.styledMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: MenuItem.() -> Unit): MenuItem

Add a styled MenuItem with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.styledRadioMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): RadioMenuItem

Add a styled RadioMenuItem to this container.

inline fun MenuItemContainer.styledRadioMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: RadioMenuItem.() -> Unit): RadioMenuItem

Add a styled RadioMenuItem with configuration block to this container.

Link copied to clipboard
inline fun MenuItemContainer.styledSeparatorMenuItem(vararg styleClass: String, id: String? = null): SeparatorMenuItem

Add a styled SeparatorMenuItem to this container.

inline fun MenuItemContainer.styledSeparatorMenuItem(vararg styleClass: String, id: String? = null, configuration: SeparatorMenuItem.() -> Unit): SeparatorMenuItem

Add a styled SeparatorMenuItem with configuration block to this container.