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 Details

    • ContextMenuSkin

      public ContextMenuSkin​(ContextMenu control)
      Creates a new ContextMenuSkin instance.
      Parameters:
      control - The control that this skin should be installed onto.