styledMenu
fun styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null): Menu
Create a styled Menu.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
fun MenuItemManager.styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null): Menu
fun MenuManager.styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null): Menu
Add a styled Menu to this manager.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxMenu.() -> Unit): Menu
Create a styled Menu 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.styledMenu(text: String = "", graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: KtfxMenu.() -> Unit): Menu
inline fun MenuManager.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 manager.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.