com.vaadin.spring.navigator
Interface ViewActivationListener

All Superinterfaces:
Serializable

public interface ViewActivationListener
extends Serializable

Invoked when a view is activated or deactivated. View activation listeners match Spring scope changes better than ViewChangeListener, and should be used instead of them.

On each view change, there are typically two events fired: first a deactivation event for the old view (if any) and then an activation event for the new view.

Author:
lorenzo

Nested Class Summary
static class ViewActivationListener.ViewActivationEvent
          Event received by the listener for attempted and executed view changes.
 
Method Summary
 void viewActivated(ViewActivationListener.ViewActivationEvent event)
          Invoked when a view is activated or deactivated.
 

Method Detail

viewActivated

void viewActivated(ViewActivationListener.ViewActivationEvent event)
Invoked when a view is activated or deactivated.

Parameters:
event -


Copyright © 2016 Vaadin Ltd. All Rights Reserved.