styledCustomMenuItem

fun styledCustomMenuItem(content: Node? = null, hideOnClick: Boolean = true, vararg styleClass: String, id: String? = null): CustomMenuItem

Create a styled CustomMenuItem.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun MenuItemManager.styledCustomMenuItem(content: Node? = null, hideOnClick: Boolean = true, vararg styleClass: String, id: String? = null): CustomMenuItem

Add a styled CustomMenuItem to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


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

Create a styled CustomMenuItem with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


inline fun MenuItemManager.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 manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.