blob: a2ff67f6d96298d866ae0ccbb7fe0c98e53e8610 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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++));
}
@Override
public void enter(ViewChangeEvent event) {
}
}
|