TabPanel panel = new TabPanel();
LazyPanel.addTabListener(panel);
master.add(panel);
master.add(handler.getWidget());
panel.add(new LazyPanel() {
@Override
public Widget createWidget() {
return simplePicker();
}
}, "simple");
panel.add(new LazyPanel() {
@Override
public Widget createWidget() {
return eventPicker();
}
}, "events");
panel.add(new LazyPanel() {
@Override
public Widget createWidget() {
return stylingPicker();
}
}, "styles");
panel.add(new LazyPanel() {
@Override
public Widget createWidget() {
return dateRange();
}