@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") @Deprecated public class MenuBuilder<B extends MenuBuilder<B>> extends MenuItemBuilder<B>
Menu
Modifier | Constructor and Description |
---|---|
protected |
MenuBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
applyTo(Menu x)
Deprecated.
|
Menu |
build()
Deprecated.
Make an instance of
Menu based on the properties set on this builder. |
static MenuBuilder<?> |
create()
Deprecated.
Creates a new instance of MenuBuilder.
|
B |
items(Collection<? extends MenuItem> x)
Deprecated.
Add the given items to the List of items in the
items property for the instance constructed by this builder. |
B |
items(MenuItem... x)
Deprecated.
Add the given items to the List of items in the
items property for the instance constructed by this builder. |
B |
onHidden(EventHandler<Event> x)
Deprecated.
Set the value of the
onHidden property for the instance constructed by this builder. |
B |
onHiding(EventHandler<Event> x)
Deprecated.
Set the value of the
onHiding property for the instance constructed by this builder. |
B |
onShowing(EventHandler<Event> x)
Deprecated.
Set the value of the
onShowing property for the instance constructed by this builder. |
B |
onShown(EventHandler<Event> x)
Deprecated.
Set the value of the
onShown property for the instance constructed by this builder. |
accelerator, applyTo, disable, graphic, id, mnemonicParsing, onAction, onMenuValidation, style, styleClass, styleClass, text, userData, visible
public static MenuBuilder<?> create()
public void applyTo(Menu x)
public B items(Collection<? extends MenuItem> x)
items
property for the instance constructed by this builder.public B items(MenuItem... x)
items
property for the instance constructed by this builder.public B onHidden(EventHandler<Event> x)
onHidden
property for the instance constructed by this builder.public B onHiding(EventHandler<Event> x)
onHiding
property for the instance constructed by this builder.public B onShowing(EventHandler<Event> x)
onShowing
property for the instance constructed by this builder.public B onShown(EventHandler<Event> x)
onShown
property for the instance constructed by this builder.public Menu build()
Menu
based on the properties set on this builder.build
in interface Builder<MenuItem>
build
in class MenuItemBuilder<B extends MenuBuilder<B>>
Copyright © 2020. All rights reserved.