blob: 7aaf810355a6a85a1562fce8c5869d271a6730ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package com.vaadin.tests.minitutorials.v7b9;
import com.vaadin.navigator.View;
import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent;
import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;
public class CountView extends Panel implements View {
public static final String NAME = "count";
private static int count = 1;
public CountView() {
setContent(new Label("Created: " + count++));
}
public void enter(ViewChangeEvent event) {
}
}
|