Uses of Class
io.github.palexdev.materialfx.controls.MFXContextMenu.Builder
Packages that use MFXContextMenu.Builder
-
Uses of MFXContextMenu.Builder in io.github.palexdev.materialfx.controls
Methods in io.github.palexdev.materialfx.controls that return MFXContextMenu.BuilderModifier and TypeMethodDescriptionMFXContextMenu.Builder.addItem(MFXContextMenuItem item) Adds the giver menu item to the items list.MFXContextMenu.Builder.addItem(MFXContextMenuItem item, EventHandler<ActionEvent> action) Sets the given action on the given item, then adds it to the items list.MFXContextMenu.Builder.addItems(MFXContextMenuItem... items) Adds the given menu items to the items list.MFXContextMenu.Builder.addLineSeparator()Adds the given line which acts as a separator to the items list.MFXContextMenu.Builder.addLineSeparator(Insets insets) Adds the given line which acts as a separator to the items list.MFXContextMenu.Builder.addSeparator(Node node) Adds the given node which acts as a separator to the items list.static MFXContextMenu.BuilderMFXContextMenu.Builder.setPopupStyleableParent(Parent parent) Sets the node that has the necessary stylesheets to customize the popup.MFXContextMenu.Builder.setShowAction(Consumer<MouseEvent> showAction) Sets the action to perform when a valid MouseEvent occurs.MFXContextMenu.Builder.setShowCondition(Function<MouseEvent, Boolean> showCondition) Sets the condition on which the given MouseEvent should trigger theMFXContextMenu.showActionProperty().