Package io.guise.framework
Class ModalNavigation
- java.lang.Object
-
- io.guise.framework.Navigation
-
- io.guise.framework.ModalNavigation
-
public class ModalNavigation extends Navigation
The encapsulation of a point of modal navigation.- Author:
- Garret Wilson
-
-
Constructor Summary
Constructors Constructor Description ModalNavigation(java.net.URI oldNavigationURI, java.net.URI newNavigationURI, ModalNavigationListener modalListener)
Creates an object encapsulating a point of modal navigation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModalNavigationListener
getModalListener()
-
Methods inherited from class io.guise.framework.Navigation
getNewNavigationURI, getOldNavigationURI, getViewportID
-
-
-
-
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 isnull
, 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.
-
-