Tutorial by Examples

public class SimpleLoginView extends CustomComponent implements View, Button.ClickListener { public static final String NAME = "login"; private final TextField user; private final PasswordField password; private final Button loginButton; public SimpleLoginView() { setS...
public class SimpleLoginUI extends UI { @Override protected void init(VaadinRequest request) { // // Create a new instance of the navigator. The navigator will attach // itself automatically to this view. // new Navigator(this, this); // // The initial log ...
public class SimpleLoginMainView extends CustomComponent implements View { public static final String NAME = ""; Label text = new Label(); Button logout = new Button("Logout", new Button.ClickListener() { @Override public void buttonClick(ClickEvent event) { ...

Page 1 of 1