Class Navigation

java.lang.Object
io.guise.framework.Navigation
Direct Known Subclasses:
ModalNavigation

public class Navigation extends Object
The encapsulation of a point of navigation.
Author:
Garret Wilson
  • Constructor Details

    • Navigation

      public Navigation(URI oldNavigationURI, URI newNavigationURI)
      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 is null, or does not contain a path.
    • Navigation

      public Navigation(URI oldNavigationURI, URI newNavigationURI, String viewportID)
      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, or null if navigation should occur in the current viewport.
      Throws:
      NullPointerException - if one of the navigation URIs is null, or does not contain a path.
  • Method Details

    • getOldNavigationURI

      public URI getOldNavigationURI()
      Returns:
      The old point of navigation, either absolute or application-relative.
    • getNewNavigationURI

      public URI getNewNavigationURI()
      Returns:
      The new point of navigation, either absolute or application-relative.
    • getViewportID

      public String getViewportID()
      Returns:
      The ID of the viewport in which navigation should occur, or null if navigation should occur in the current viewport..