Class MenuButtonSkinBase<C extends MenuButton>

java.lang.Object
javafx.scene.control.SkinBase<C>
javafx.scene.control.skin.MenuButtonSkinBase<C>
All Implemented Interfaces:
Skin<C>
Direct Known Subclasses:
MenuButtonSkin, SplitMenuButtonSkin

public class MenuButtonSkinBase<C extends MenuButton>
extends SkinBase<C>
Base class for MenuButtonSkin and SplitMenuButtonSkin. It consists of the label, the arrowButton with its arrow shape, and the popup.
Since:
9
  • Constructor Details

    • MenuButtonSkinBase

      public MenuButtonSkinBase​(C control)
      Creates a new instance of MenuButtonSkinBase, although note that this instance does not handle any behavior / input mappings - this needs to be handled appropriately by subclasses.
      Parameters:
      control - The control that this skin should be installed onto.