Class AbstractNavigateModalActionListener

    • Constructor Detail

      • AbstractNavigateModalActionListener

        public AbstractNavigateModalActionListener​(java.lang.String navigationPath,
                                                   ModalNavigationListener modalListener)
        Constructs a listener to navigate modally to the provided path.
        Parameters:
        navigationPath - A path that is either relative to the application context path or is absolute.
        modalListener - The listener to respond to the end of modal interaction.
        Throws:
        java.lang.NullPointerException - if the given path and/or modal listener is null.
        java.lang.IllegalArgumentException - if the provided path specifies a URI scheme (i.e. the URI is absolute) and/or authority (in which case AbstractNavigateModalActionListener(URI, ModalNavigationListener) should be used instead).
      • AbstractNavigateModalActionListener

        public AbstractNavigateModalActionListener​(java.net.URI navigationURI,
                                                   ModalNavigationListener modalListener)
        Constructs a listener to navigate modally to the provided URI.
        Parameters:
        navigationURI - The URI for navigation when the action occurs.
        modalListener - The listener to respond to the end of modal interaction.
        Throws:
        java.lang.NullPointerException - if the given navigation URI and/or modal listener is null.
    • Method Detail

      • getModelListener

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