Class AbstractModalNavigationPanel<R>

    • Constructor Detail

      • AbstractModalNavigationPanel

        public AbstractModalNavigationPanel​(Layout<?> layout)
        Layout constructor.
        Parameters:
        layout - The layout definition for the container.
        Throws:
        java.lang.NullPointerException - if the given layout, is null.
    • Method Detail

      • getResult

        public R getResult()
        Specified by:
        getResult in interface ModalNavigationPanel<R>
        Returns:
        The result of this navigation panel's modal interaction, or null if no result is given.
      • setResult

        public void setResult​(R newResult)
        Description copied from interface: ModalNavigationPanel
        Sets the modal result. This is a bound property that only fires a change event when the new value is different via the equals() method.
        Specified by:
        setResult in interface ModalNavigationPanel<R>
        Parameters:
        newResult - The new result of this navigation panel's modal interaction, or null if no result is given.
        See Also:
        ModalNavigationPanel.RESULT_PROPERTY
      • endModal

        public void endModal​(R result)
        Ends this navigation panel's modal interaction and navigates either to the previous modal navigation or to this navigation panel's referring URI, if any.
        Parameters:
        result - The result of this navigation panel's modal interaction, or null if no result is given.
        See Also:
        setResult(Object), GuiseSession.endModalNavigation(ModalNavigationPanel)