Package com.vaadin.navigator
Interface View
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Navigator.EmptyView
public interface View extends Serializable
Interface for all views controlled by the navigator. Each view added to the navigator must implement this interface. Typically, a view is aComponent
.- Since:
- 7.0
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
enter(ViewChangeListener.ViewChangeEvent event)
This view is navigated to.
-
-
-
Method Detail
-
enter
void enter(ViewChangeListener.ViewChangeEvent event)
This view is navigated to. This method is always called before the view is shown on screen.event.getParameters()
may contain extra parameters relevant to the view.- Parameters:
event
- ViewChangeEvent representing the view change that is occurring.event.getNewView()
returnsthis
.
-
-