Package com.vaadin.navigator
Class ViewChangeListener.ViewChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.navigator.ViewChangeListener.ViewChangeEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- ViewChangeListener
public static class ViewChangeListener.ViewChangeEvent 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NavigatorgetNavigator()Returns the navigator that triggered this event.ViewgetNewView()Returns the view being activated.ViewgetOldView()Returns the view being deactivated.StringgetParameters()Returns the parameters for the view being activated.StringgetViewName()Returns the view name of the view being activated.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getNavigator
public Navigator getNavigator()
Returns the navigator that triggered this event.- Returns:
- Navigator (not null)
-
getOldView
public View getOldView()
Returns the view being deactivated.- Returns:
- old View
-
getNewView
public View getNewView()
Returns the view being activated.- Returns:
- new View
-
getViewName
public String getViewName()
Returns the view name of the view being activated.- Returns:
- view name of the new View
-
getParameters
public String getParameters()
Returns the parameters for the view being activated.- Returns:
- navigation parameters (potentially bookmarkable) for the new view
-
-