com.guiseframework
Class ModalNavigation

java.lang.Object
  extended by com.guiseframework.Navigation
      extended by com.guiseframework.ModalNavigation

public class ModalNavigation
extends Navigation

The encapsulation of a point of modal navigation.

Author:
Garret Wilson

Constructor Summary
ModalNavigation(java.net.URI oldNavigationURI, java.net.URI newNavigationURI, ModalNavigationListener modalListener)
          Creates an object encapsulating a point of modal navigation.
 
Method Summary
 ModalNavigationListener getModalListener()
           
 
Methods inherited from class com.guiseframework.Navigation
getNewNavigationURI, getOldNavigationURI, getViewportID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.