Uses of Class
io.github.sosuisen.jfxbuilder.controls.MenuBuilder
Packages that use MenuBuilder
-
Uses of MenuBuilder in io.github.sosuisen.jfxbuilder.controls
Methods in io.github.sosuisen.jfxbuilder.controls that return MenuBuilderModifier and TypeMethodDescriptionMenuBuilder.accelerator
(KeyCombination value) A builder method that invokes thesetAccelerator
method on the instance being constructed.MenuBuilder.acceleratorPropertyApply
(Consumer<ObjectProperty<KeyCombination>> op) Applies a function to theacceleratorProperty
of the instance being constructed.final MenuBuilder
MenuBuilder.addItems
(Collection<? extends MenuItem> col) Calls theaddAll
method on the ObservableList returned by theMenu#getItems()
method.final MenuBuilder
Calls theaddAll
method on the ObservableList returned by theMenu#getItems()
method.final MenuBuilder
MenuBuilder.addStyleClass
(String... elements) Calls theaddAll
method on the ObservableList returned by theMenu#getStyleClass()
method.final MenuBuilder
MenuBuilder.addStyleClass
(Collection<? extends String> col) Calls theaddAll
method on the ObservableList returned by theMenu#getStyleClass()
method.Applies a function to the Menu instance being constructed.static MenuBuilder
MenuBuilder.create()
Returns an instance of theMenuBuilder
.static MenuBuilder
Accepts the constructor arguments ofMenu(String)
and returns an instance ofMenuBuilder
.static MenuBuilder
Accepts the constructor arguments ofMenu(String, Node)
and returns an instance ofMenuBuilder
.static MenuBuilder
Accepts the constructor arguments ofMenu(String, Node, MenuItem...)
and returns an instance ofMenuBuilder
.MenuBuilder.disable
(boolean value) A builder method that invokes thesetDisable
method on the instance being constructed.MenuBuilder.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.MenuBuilder.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.MenuBuilder.idPropertyApply
(Consumer<StringProperty> op) Applies a function to theidProperty
of the instance being constructed.MenuBuilder.mnemonicParsing
(boolean value) A builder method that invokes thesetMnemonicParsing
method on the instance being constructed.MenuBuilder.mnemonicParsingPropertyApply
(Consumer<BooleanProperty> op) Applies a function to themnemonicParsingProperty
of the instance being constructed.MenuBuilder.onAction
(EventHandler<ActionEvent> value) A builder method that invokes thesetOnAction
method on the instance being constructed.MenuBuilder.onActionPropertyApply
(Consumer<ObjectProperty<EventHandler<ActionEvent>>> op) Applies a function to theonActionProperty
of the instance being constructed.MenuBuilder.onHidden
(EventHandler<Event> value) A builder method that invokes thesetOnHidden
method on the instance being constructed.MenuBuilder.onHiddenPropertyApply
(Consumer<ObjectProperty<EventHandler<Event>>> op) Applies a function to theonHiddenProperty
of the instance being constructed.MenuBuilder.onHiding
(EventHandler<Event> value) A builder method that invokes thesetOnHiding
method on the instance being constructed.MenuBuilder.onHidingPropertyApply
(Consumer<ObjectProperty<EventHandler<Event>>> op) Applies a function to theonHidingProperty
of the instance being constructed.MenuBuilder.onMenuValidation
(EventHandler<Event> value) A builder method that invokes thesetOnMenuValidation
method on the instance being constructed.MenuBuilder.onMenuValidationPropertyApply
(Consumer<ObjectProperty<EventHandler<Event>>> op) Applies a function to theonMenuValidationProperty
of the instance being constructed.MenuBuilder.onShowing
(EventHandler<Event> value) A builder method that invokes thesetOnShowing
method on the instance being constructed.MenuBuilder.onShowingPropertyApply
(Consumer<ObjectProperty<EventHandler<Event>>> op) Applies a function to theonShowingProperty
of the instance being constructed.MenuBuilder.onShown
(EventHandler<Event> value) A builder method that invokes thesetOnShown
method on the instance being constructed.MenuBuilder.onShownPropertyApply
(Consumer<ObjectProperty<EventHandler<Event>>> op) Applies a function to theonShownProperty
of the instance being constructed.MenuBuilder.parentMenuPropertyApply
(Consumer<ReadOnlyObjectProperty<Menu>> op) Applies a function to theparentMenuProperty
of the instance being constructed.MenuBuilder.parentPopupPropertyApply
(Consumer<ReadOnlyObjectProperty<ContextMenu>> op) Applies a function to theparentPopupProperty
of the instance being constructed.MenuBuilder.showingPropertyApply
(Consumer<ReadOnlyBooleanProperty> op) Applies a function to theshowingProperty
of the instance being constructed.A builder method that invokes thesetStyle
method on the instance being constructed.MenuBuilder.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.MenuBuilder.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.MenuBuilder.visible
(boolean value) A builder method that invokes thesetVisible
method on the instance being constructed.MenuBuilder.visiblePropertyApply
(Consumer<BooleanProperty> op) Applies a function to thevisibleProperty
of the instance being constructed.static MenuBuilder
MenuBuilder.withItems
(Collection<? extends MenuItem> col) Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theMenu#getItems()
method.static MenuBuilder
Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theMenu#getItems()
method.