use of com.gwtmobile.ui.kitchensink.client.widget.WidgetsPage in project GwtMobile by dennisjzh.
the class MainPage method onListSelectionChanged.
@UiHandler("list")
void onListSelectionChanged(SelectionChangedEvent e) {
switch(e.getSelection()) {
case 0:
TransitionsPage transitions = new TransitionsPage();
this.goTo(transitions);
break;
case 1:
PanelsPage panels = new PanelsPage();
this.goTo(panels);
break;
case 2:
WidgetsPage widgets = new WidgetsPage();
this.goTo(widgets);
break;
case 3:
CommunicationPage comm = new CommunicationPage();
this.goTo(comm);
break;
}
}
Aggregations