Interface PopupPanelCallback

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface PopupPanelCallback
    An application hook that allows associating a custom popup panel with a popup area of the specific command button.
    See Also:
    JCommandButton.setPopupCallback(PopupPanelCallback)
    • Method Detail

      • getPopupPanel

        JPopupPanel getPopupPanel​(JCommandButton commandButton)
        Returns the popup panel to be shown when the popup area of the specified command button is activated.
        Parameters:
        commandButton - Command button.
        Returns:
        The popup panel to be shown when the popup area of the specified command button is activated.