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