Errai 3.0.1-SNAPSHOT

org.jboss.errai.ui.nav.client.local.api
Class NavigationControl

java.lang.Object
  extended by org.jboss.errai.ui.nav.client.local.api.NavigationControl

public class NavigationControl
extends Object

Instances of this class are passed to PageHiding methods. If the parameter is present, the page navigation will not be carried out until proceed() is invoked. This is useful for interrupting page navigations and then resuming at a later time (for example, to prompt the user to save their work before transitioning to a new page).


Constructor Summary
NavigationControl(Runnable runnable)
           
 
Method Summary
 void proceed()
          Causes page navigation to proceed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationControl

public NavigationControl(Runnable runnable)
Method Detail

proceed

public void proceed()
Causes page navigation to proceed.


Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.