## Uses of Class
javafx.scene.control.ContextMenu

- Packages that use ContextMenu
  Package | Description
  --- | ---
  javafx.scene.control | The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts.

- - ### Uses of ContextMenu in javafx.scene.control

    Methods in javafx.scene.control that return ContextMenu
    Modifier and Type | Method and Description
    --- | ---
    `ContextMenu` | TableColumnBase.`getContextMenu()` Gets the value of the property contextMenu.
    `ContextMenu` | Tab.`getContextMenu()` The context menu associated with the tab.
    `ContextMenu` | Control.`getContextMenu()` Gets the value of the property contextMenu.
    `ContextMenu` | MenuItem.`getParentPopup()` Gets the value of the property parentPopup.

    Methods in javafx.scene.control that return types with arguments of type ContextMenu
    Modifier and Type | Method and Description
    --- | ---
    `ObjectProperty<ContextMenu>` | TableColumnBase.`contextMenuProperty()` This menu will be shown whenever the user right clicks within the header area of this TableColumnBase.
    `ObjectProperty<ContextMenu>` | Tab.`contextMenuProperty()` The context menu associated with the tab.
    `ObjectProperty<ContextMenu>` | Control.`contextMenuProperty()` The ContextMenu to show for this control.
    `ReadOnlyObjectProperty<ContextMenu>` | MenuItem.`parentPopupProperty()` This is the `ContextMenu` in which this `MenuItem` exists.

    Methods in javafx.scene.control with parameters of type ContextMenu
    Modifier and Type | Method and Description
    --- | ---
    `void` | TableColumnBase.`setContextMenu(ContextMenu value)` Sets the value of the property contextMenu.
    `void` | Tab.`setContextMenu(ContextMenu value)` Specifies the context menu to show when the user right-clicks on the tab.
    `void` | Control.`setContextMenu(ContextMenu value)` Sets the value of the property contextMenu.
    `protected void` | MenuItem.`setParentPopup(ContextMenu value)` Sets the value of the property parentPopup.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.