Interface IUIContextMenuOwner

    • Method Detail

      • onResolved

        default void onResolved​(UIContextMenu contextMenu)
        Context menu reference has been resolved.
        Parameters:
        contextMenu - The context menu instance.
      • onBroken

        default void onBroken​(UIContextMenu contextMenu)
        Context menu reference has been broken.
        Parameters:
        contextMenu - The context menu instance.
      • getContextMenu

        default UIContextMenu getContextMenu()
        Gets the context menu of this component. It can be a shared instance through a reference or a component-contained instance.
        Returns:
        The context menu instance, or null for none.
      • getContainedContextMenu

        default UIContextMenu getContainedContextMenu()
        Gets the component-contained context menu instance of this component.
        Returns:
        The context menu instance, or null for none.
      • getReferencedContextMenu

        default UIContextMenu getReferencedContextMenu()
        Gets the referenced context menu instance of this component.
        Returns:
        The context menu instance, or null for none.
      • isContextMenuSupported

        default boolean isContextMenuSupported()
        Returns if the context menu is supported for this component or not.
        Returns:
        true for support (default), or false if not supported.
      • isMobileContextMenuSupported

        boolean isMobileContextMenuSupported()
        Returns if the component can show the context menu in mobile mode.
        Returns:
        true for mobile support, false for desktop only.