@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") @Deprecated public class MenuItemBuilder<B extends MenuItemBuilder<B>> extends java.lang.Object implements Builder<MenuItem>
MenuItem
Modifier and Type | Field and Description |
---|---|
private int |
__set
Deprecated.
|
private KeyCombination |
accelerator
Deprecated.
|
private boolean |
disable
Deprecated.
|
private Node |
graphic
Deprecated.
|
private java.lang.String |
id
Deprecated.
|
private boolean |
mnemonicParsing
Deprecated.
|
private EventHandler<ActionEvent> |
onAction
Deprecated.
|
private EventHandler<Event> |
onMenuValidation
Deprecated.
|
private java.lang.String |
style
Deprecated.
|
private java.util.Collection<? extends java.lang.String> |
styleClass
Deprecated.
|
private java.lang.String |
text
Deprecated.
|
private java.lang.Object |
userData
Deprecated.
|
private boolean |
visible
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
MenuItemBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private void |
__set(int i)
Deprecated.
|
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(java.lang.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(java.lang.String x)
Deprecated.
Set the value of the
style property for the instance constructed by this builder. |
B |
styleClass(java.util.Collection<? extends java.lang.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(java.lang.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(java.lang.String x)
Deprecated.
Set the value of the
text property for the instance constructed by this builder. |
B |
userData(java.lang.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. |
private int __set
private KeyCombination accelerator
private boolean disable
private Node graphic
private java.lang.String id
private boolean mnemonicParsing
private EventHandler<ActionEvent> onAction
private EventHandler<Event> onMenuValidation
private java.lang.String style
private java.util.Collection<? extends java.lang.String> styleClass
private java.lang.String text
private java.lang.Object userData
private boolean visible
public static MenuItemBuilder<?> create()
private void __set(int i)
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(java.lang.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(java.lang.String x)
style
property for the instance constructed by this builder.public B styleClass(java.util.Collection<? extends java.lang.String> x)
styleClass
property for the instance constructed by this builder.public B styleClass(java.lang.String... x)
styleClass
property for the instance constructed by this builder.public B text(java.lang.String x)
text
property for the instance constructed by this builder.public B userData(java.lang.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.