Package io.guise.framework
Class Navigation
java.lang.Object
io.guise.framework.Navigation
- Direct Known Subclasses:
ModalNavigation
The encapsulation of a point of navigation.
- Author:
- Garret Wilson
-
Constructor Summary
ConstructorDescriptionNavigation
(URI oldNavigationURI, URI newNavigationURI) Creates an object encapsulating a point of navigation.Navigation
(URI oldNavigationURI, URI newNavigationURI, String viewportID) Creates an object encapsulating a point of navigation. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
Navigation
Creates an object encapsulating a point of navigation.- Parameters:
oldNavigationURI
- The old point of navigation, either absolute or application-relative.newNavigationURI
- The new point of navigation, either absolute or application-relative.- Throws:
NullPointerException
- if one of the navigation URIs isnull
, or does not contain a path.
-
Navigation
Creates an object encapsulating a point of navigation.- Parameters:
oldNavigationURI
- The old point of navigation, either absolute or application-relative.newNavigationURI
- The new point of navigation, either absolute or application-relative.viewportID
- The ID of the viewport in which navigation should occur, ornull
if navigation should occur in the current viewport.- Throws:
NullPointerException
- if one of the navigation URIs isnull
, or does not contain a path.
-
-
Method Details
-
getViewportID
- Returns:
- The ID of the viewport in which navigation should occur, or
null
if navigation should occur in the current viewport..