Uses of Class
io.github.sosuisen.jfxbuilder.controls.MenuItemBuilder
Packages that use MenuItemBuilder
-
Uses of MenuItemBuilder in io.github.sosuisen.jfxbuilder.controls
Methods in io.github.sosuisen.jfxbuilder.controls that return MenuItemBuilderModifier and TypeMethodDescriptionMenuItemBuilder.accelerator
(KeyCombination value) A builder method that invokes thesetAccelerator
method on the instance being constructed.MenuItemBuilder.acceleratorPropertyApply
(Consumer<ObjectProperty<KeyCombination>> op) Applies a function to theacceleratorProperty
of the instance being constructed.final MenuItemBuilder
MenuItemBuilder.addStyleClass
(String... elements) Calls theaddAll
method on the ObservableList returned by theMenuItem#getStyleClass()
method.final MenuItemBuilder
MenuItemBuilder.addStyleClass
(Collection<? extends String> col) Calls theaddAll
method on the ObservableList returned by theMenuItem#getStyleClass()
method.Applies a function to the MenuItem instance being constructed.static MenuItemBuilder
MenuItemBuilder.create()
Returns an instance of theMenuItemBuilder
.static MenuItemBuilder
Accepts the constructor arguments ofMenuItem(String)
and returns an instance ofMenuItemBuilder
.static MenuItemBuilder
Accepts the constructor arguments ofMenuItem(String, Node)
and returns an instance ofMenuItemBuilder
.MenuItemBuilder.disable
(boolean value) A builder method that invokes thesetDisable
method on the instance being constructed.MenuItemBuilder.disablePropertyApply
(Consumer<BooleanProperty> op) Applies a function to thedisableProperty
of the instance being constructed.A builder method that invokes thesetGraphic
method on the instance being constructed.MenuItemBuilder.graphicPropertyApply
(Consumer<ObjectProperty<Node>> op) Applies a function to thegraphicProperty
of the instance being constructed.A builder method that invokes thesetId
method on the instance being constructed.MenuItemBuilder.idPropertyApply
(Consumer<StringProperty> op) Applies a function to theidProperty
of the instance being constructed.MenuItemBuilder.mnemonicParsing
(boolean value) A builder method that invokes thesetMnemonicParsing
method on the instance being constructed.MenuItemBuilder.mnemonicParsingPropertyApply
(Consumer<BooleanProperty> op) Applies a function to themnemonicParsingProperty
of the instance being constructed.MenuItemBuilder.onAction
(EventHandler<ActionEvent> value) A builder method that invokes thesetOnAction
method on the instance being constructed.MenuItemBuilder.onActionPropertyApply
(Consumer<ObjectProperty<EventHandler<ActionEvent>>> op) Applies a function to theonActionProperty
of the instance being constructed.MenuItemBuilder.onMenuValidation
(EventHandler<Event> value) A builder method that invokes thesetOnMenuValidation
method on the instance being constructed.MenuItemBuilder.onMenuValidationPropertyApply
(Consumer<ObjectProperty<EventHandler<Event>>> op) Applies a function to theonMenuValidationProperty
of the instance being constructed.MenuItemBuilder.parentMenuPropertyApply
(Consumer<ReadOnlyObjectProperty<Menu>> op) Applies a function to theparentMenuProperty
of the instance being constructed.MenuItemBuilder.parentPopupPropertyApply
(Consumer<ReadOnlyObjectProperty<ContextMenu>> op) Applies a function to theparentPopupProperty
of the instance being constructed.A builder method that invokes thesetStyle
method on the instance being constructed.MenuItemBuilder.stylePropertyApply
(Consumer<StringProperty> op) Applies a function to thestyleProperty
of the instance being constructed.A builder method that invokes thesetText
method on the instance being constructed.MenuItemBuilder.textPropertyApply
(Consumer<StringProperty> op) Applies a function to thetextProperty
of the instance being constructed.A builder method that invokes thesetUserData
method on the instance being constructed.MenuItemBuilder.visible
(boolean value) A builder method that invokes thesetVisible
method on the instance being constructed.MenuItemBuilder.visiblePropertyApply
(Consumer<BooleanProperty> op) Applies a function to thevisibleProperty
of the instance being constructed.