styledMenuItem
inline fun styledMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): MenuItem
Create a styled MenuItem.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun MenuItemContainer.styledMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): MenuItem
Add a styled MenuItem to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun styledMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: MenuItem.() -> Unit): MenuItem
Create a styled MenuItem with configuration block.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.
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.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.