tornadofx / tornadofx / javafx.scene.control.MenuButton

Extensions for javafx.scene.control.MenuButton

checkmenuitem fun MenuButton.checkmenuitem(name: String, keyCombination: KeyCombination? = null, graphic: Node? = null, op: CheckMenuItem.() -> Unit = {}): <ERROR CLASS>
customitem fun MenuButton.customitem(keyCombination: KeyCombination? = null, hideOnClick: Boolean = true, op: CustomMenuItem.() -> Unit = {}): <ERROR CLASS>

Create a CustomMenuItem. You must provide a builder inside the CustomMenuItem or assign to the content property of the item. The item action is configured with the action builder.

item fun MenuButton.item(name: String, keyCombination: KeyCombination? = null, graphic: Node? = null, op: MenuItem.() -> Unit = {}): <ERROR CLASS>
menu fun MenuButton.menu(name: String? = null, keyCombination: KeyCombination? = null, graphic: Node? = null, op: Menu.() -> Unit = {}): <ERROR CLASS>
fun MenuButton.menu(name: String? = null, keyCombination: String, graphic: Node? = null, op: Menu.() -> Unit = {}): <ERROR CLASS>
radiomenuitem fun MenuButton.radiomenuitem(name: String, toggleGroup: ToggleGroup? = null, keyCombination: KeyCombination? = null, graphic: Node? = null, value: Any? = null, op: RadioMenuItem.() -> Unit = {}): <ERROR CLASS>