| Modifier | Constructor and Description |
|---|---|
protected |
MenuBarBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(MenuBar x) |
MenuBar |
build()
Make an instance of
MenuBar based on the properties set on this builder. |
static MenuBarBuilder<?> |
create()
Creates a new instance of MenuBarBuilder.
|
B |
menus(java.util.Collection<? extends Menu> x)
Add the given items to the List of items in the
menus property for the instance constructed by this builder. |
B |
menus(Menu... x)
Add the given items to the List of items in the
menus property for the instance constructed by this builder. |
B |
useSystemMenuBar(boolean x)
Set the value of the
useSystemMenuBar property for the instance constructed by this builder. |
applyTo, contextMenu, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth, skin, tooltipapplyTo, stylesheets, stylesheetsapplyTo, blendMode, cache, cacheHint, clip, cursor, depthTest, disable, effect, eventDispatcher, focusTraversable, id, inputMethodRequests, layoutX, layoutY, managed, mouseTransparent, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScroll, onScrollFinished, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoom, onZoomFinished, onZoomStarted, opacity, pickOnBounds, rotate, rotationAxis, scaleX, scaleY, scaleZ, style, styleClass, styleClass, transforms, transforms, translateX, translateY, translateZ, userData, visiblepublic static MenuBarBuilder<?> create()
public void applyTo(MenuBar x)
public B menus(java.util.Collection<? extends Menu> x)
menus property for the instance constructed by this builder.public B menus(Menu... x)
menus property for the instance constructed by this builder.public B useSystemMenuBar(boolean x)
useSystemMenuBar property for the instance constructed by this builder.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.