com.vaadin.spring.navigator
Class ViewActivationListener.ViewActivationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.spring.navigator.ViewActivationListener.ViewActivationEvent
All Implemented Interfaces:
Serializable
Enclosing interface:
ViewActivationListener

public static class ViewActivationListener.ViewActivationEvent
extends EventObject

Event received by the listener for attempted and executed view changes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ViewActivationListener.ViewActivationEvent(Object source, boolean activated, String viewName)
           
 
Method Summary
 String getViewName()
          Returns the view name
 boolean isActivated()
          Returns true is the view is activated, false if it's deactivated
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewActivationListener.ViewActivationEvent

public ViewActivationListener.ViewActivationEvent(Object source,
                                                  boolean activated,
                                                  String viewName)
Method Detail

isActivated

public boolean isActivated()
Returns true is the view is activated, false if it's deactivated

Returns:

getViewName

public String getViewName()
Returns the view name

Returns:


Copyright © 2016 Vaadin Ltd. All Rights Reserved.