use of de.gishmo.gwt.example.mvp4g2.springboot.client.widgets.TextField in project mvp4g2-examples by mvp4g.
the class DetailView method createView.
public void createView() {
container = div().add(div().style("width: 100%;").add(div().css("headline").textContent("Details")).add(detailFirstName = new TextField("Firstname")).add(detailName = new TextField("Name")).add(detailStreet = new TextField("Street")).add(detailZip = new TextField("Zip")).add(detailCity = new TextField("City")).add(div().css("buttonBar").add(button().css("button").textContent("Save").on(click, event -> {
updateDetailForm();
getPresenter().doUpdate(person);
})).add(button().css("button").textContent("Revert").on(click, event -> {
getPresenter().doRevert();
})))).asElement();
}
use of de.gishmo.gwt.example.mvp4g2.springboot.client.widgets.TextField in project mvp4g2-examples by mvp4g.
the class DetailView method createView.
public void createView() {
container = div().add(div().style("width: 100%;").add(div().css("headline").textContent("Details")).add(detailFirstName = new TextField("Firstname")).add(detailName = new TextField("Name")).add(detailStreet = new TextField("Street")).add(detailZip = new TextField("Zip")).add(detailCity = new TextField("City")).add(div().css("buttonBar").add(button().css("button").textContent("Save").on(click, event -> {
updateDetailForm();
getPresenter().doUpdate(person);
})).add(button().css("button").textContent("Revert").on(click, event -> {
getPresenter().doRevert();
})))).asElement();
}
use of de.gishmo.gwt.example.mvp4g2.springboot.client.widgets.TextField in project mvp4g2-examples by mvp4g.
the class SearchView method createView.
public void createView() {
container = div().add(div().style("width: 100%;").add(div().css("headline").textContent("Search Parameter (search for: 'S' or 'D')")).add(searchName = new TextField("Name")).add(searchCity = new TextField("City")).add(div().css("buttonBar").add(button().css("button").textContent("Search").on(click, event -> getPresenter().doClickSearchButton(searchName.getText(), searchCity.getText()))).add(button().css("button").textContent("Reset").on(click, event -> {
searchName.setText("");
searchCity.setText("");
})).asElement())).asElement();
}
use of de.gishmo.gwt.example.mvp4g2.springboot.client.widgets.TextField in project mvp4g2-examples by mvp4g.
the class SearchView method createView.
public void createView() {
container = div().add(div().style("width: 100%;").add(div().css("headline").textContent("Search Parameter (search for: 'S' or 'D')")).add(searchName = new TextField("Name")).add(searchCity = new TextField("City")).add(div().css("buttonBar").add(button().css("button").textContent("Search").on(click, event -> getPresenter().doClickSearchButton(searchName.getText(), searchCity.getText()))).add(button().css("button").textContent("Reset").on(click, event -> {
searchName.setText("");
searchCity.setText("");
})).asElement())).asElement();
}
Aggregations