Class AbstractModalFrame<R>

    • Constructor Detail

      • AbstractModalFrame

        public AbstractModalFrame​(Component component)
        Component constructor.
        Parameters:
        component - The single child component, or null if this frame should have no child component.
    • Method Detail

      • getResult

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

        public void setResult​(R newResult)
        Description copied from interface: ModalFrame
        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 ModalFrame<R>
        Parameters:
        newResult - The new result of this frame's modal interaction, or null if no result is given.
        See Also:
        ModalFrame.RESULT_PROPERTY
      • endModal

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