com.vaadin.navigator
Interface View

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Navigator.EmptyView

public interface View
extends java.io.Serializable

Interface for all views controlled by the navigator. Each view added to the navigator must implement this interface. Typically, a view is a Component.

Since:
7.0
Author:
Vaadin Ltd

Method Summary
 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() returns this.


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.