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