Class ContextMenuSkin
java.lang.Object
javafx.scene.control.skin.ContextMenuSkin
- All Implemented Interfaces:
Skin<ContextMenu>
public class ContextMenuSkin
extends Object
implements Skin<ContextMenu> Default Skin implementation for ContextMenu. Several controls use ContextMenu in order to display items in a drop down. This class mostly deals mostly with show / hide logic - the actual content of the context menu is contained within the
root node.- Since:
- 9
- See Also:
ContextMenu
Constructor Summary
| Constructor | Description |
|---|---|
ContextMenuSkin(ContextMenu control) | Creates a new ContextMenuSkin instance. |
Method Summary
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface javafx.scene.control.Skin
dispose, getNode, getSkinnable
Constructor Details
ContextMenuSkin
public ContextMenuSkin(ContextMenu control)
Creates a new ContextMenuSkin instance.
- Parameters:
-
control- The control that this skin should be installed onto.
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.