Spec-Zone .ru
спецификации, руководства, описания, API
|
@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") public class MenuItemBuilder<B extends MenuItemBuilder<B>> extends java.lang.Object implements Builder<MenuItem>
MenuItem
Modifier | Constructor and Description |
---|---|
protected |
MenuItemBuilder() |
Modifier and Type | Method and Description |
---|---|
B |
accelerator(KeyCombination x)
Set the value of the
accelerator property for the instance constructed by this builder. |
void |
applyTo(MenuItem x) |
MenuItem |
build()
Make an instance of
MenuItem based on the properties set on this builder. |
static MenuItemBuilder<?> |
create()
Creates a new instance of MenuItemBuilder.
|
B |
disable(boolean x)
Set the value of the
disable property for the instance constructed by this builder. |
B |
graphic(Node x)
Set the value of the
graphic property for the instance constructed by this builder. |
B |
id(java.lang.String x)
Set the value of the
id property for the instance constructed by this builder. |
B |
mnemonicParsing(boolean x)
Set the value of the
mnemonicParsing property for the instance constructed by this builder. |
B |
onAction(EventHandler<ActionEvent> x)
Set the value of the
onAction property for the instance constructed by this builder. |
B |
onMenuValidation(EventHandler<Event> x)
Set the value of the
onMenuValidation property for the instance constructed by this builder. |
B |
style(java.lang.String x)
Set the value of the
style property for the instance constructed by this builder. |
B |
styleClass(java.util.Collection<? extends java.lang.String> x)
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)
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)
Set the value of the
text property for the instance constructed by this builder. |
B |
userData(java.lang.Object x)
Set the value of the
userData property for the instance constructed by this builder. |
B |
visible(boolean x)
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(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.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to