@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") @Deprecated public class MenuBuilder<B extends MenuBuilder<B>> extends MenuItemBuilder<B>
Menu
Modifier and Type | Field and Description |
---|---|
private int |
__set
Deprecated.
|
private java.util.Collection<? extends MenuItem> |
items
Deprecated.
|
private EventHandler<Event> |
onHidden
Deprecated.
|
private EventHandler<Event> |
onHiding
Deprecated.
|
private EventHandler<Event> |
onShowing
Deprecated.
|
private EventHandler<Event> |
onShown
Deprecated.
|
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(java.util.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
private int __set
private java.util.Collection<? extends MenuItem> items
private EventHandler<Event> onHidden
private EventHandler<Event> onHiding
private EventHandler<Event> onShowing
private EventHandler<Event> onShown
public static MenuBuilder<?> create()
public void applyTo(Menu x)
public B items(java.util.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>>