Search in sources :

Example 1 with TransitionsPage

use of com.gwtmobile.ui.kitchensink.client.transition.TransitionsPage 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;
    }
}
Also used : WidgetsPage(com.gwtmobile.ui.kitchensink.client.widget.WidgetsPage) PanelsPage(com.gwtmobile.ui.kitchensink.client.panel.PanelsPage) TransitionsPage(com.gwtmobile.ui.kitchensink.client.transition.TransitionsPage) CommunicationPage(com.gwtmobile.ui.kitchensink.client.communication.CommunicationPage) UiHandler(com.google.gwt.uibinder.client.UiHandler)

Aggregations

UiHandler (com.google.gwt.uibinder.client.UiHandler)1 CommunicationPage (com.gwtmobile.ui.kitchensink.client.communication.CommunicationPage)1 PanelsPage (com.gwtmobile.ui.kitchensink.client.panel.PanelsPage)1 TransitionsPage (com.gwtmobile.ui.kitchensink.client.transition.TransitionsPage)1 WidgetsPage (com.gwtmobile.ui.kitchensink.client.widget.WidgetsPage)1