Class ModalNavigation


  • public class ModalNavigation
    extends Navigation
    The encapsulation of a point of modal navigation.
    Author:
    Garret Wilson
    • Constructor Detail

      • ModalNavigation

        public ModalNavigation​(java.net.URI oldNavigationURI,
                               java.net.URI newNavigationURI,
                               ModalNavigationListener modalListener)
        Creates an object encapsulating a point of modal navigation.
        Parameters:
        oldNavigationURI - The old point of navigation, with an absolute path.
        newNavigationURI - The new point of navigation, with an absolute path.
        modalListener - The listener to respond to the end of modal interaction.
        Throws:
        java.lang.NullPointerException - if one of the navigation URIs is null, or does not contain a path.
        java.lang.IllegalArgumentException - if one of the given navigation URIs contains a relative path.
    • Method Detail

      • getModalListener

        public ModalNavigationListener getModalListener()
        Returns:
        The listener to respond to the end of modal interaction.