@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") @Deprecated public class ContextMenuBuilder<B extends ContextMenuBuilder<B>> extends PopupControlBuilder<B>
ContextMenu| Modifier | Constructor and Description |
|---|---|
protected |
ContextMenuBuilder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(ContextMenu x)
Deprecated.
|
ContextMenu |
build()
Deprecated.
Make an instance of
ContextMenu based on the properties set on this builder. |
static ContextMenuBuilder<?> |
create()
Deprecated.
Creates a new instance of ContextMenuBuilder.
|
B |
impl_showRelativeToWindow(boolean x)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
B |
items(Collection<? extends MenuItem> x)
Deprecated.
Add the given items to the List of items in the
items property for the instance constructed by this builder. |
B |
items(MenuItem... x)
Deprecated.
Add the given items to the List of items in the
items 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. |
applyTo, id, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth, skin, style, styleClass, styleClassapplyTo, autoFix, autoHide, consumeAutoHidingEvents, hideOnEscape, onAutoHideapplyTo, eventDispatcher, focused, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, opacity, width, x, ypublic static ContextMenuBuilder<?> create()
public void applyTo(ContextMenu x)
@Deprecated public B impl_showRelativeToWindow(boolean x)
impl_showRelativeToWindow property for the instance constructed by this builder.public B items(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 onAction(EventHandler<ActionEvent> x)
onAction property for the instance constructed by this builder.public ContextMenu build()
ContextMenu based on the properties set on this builder.build in interface Builder<PopupControl>build in class PopupControlBuilder<B extends ContextMenuBuilder<B>>Copyright © 2025. All rights reserved.