Search in sources :

Example 1 with CheckBox

use of com.gwtmobile.ui.client.widgets.CheckBox in project GwtMobile by dennisjzh.

the class CheckBoxPage method onGroup2SelectionChanged.

@UiHandler("group2")
void onGroup2SelectionChanged(SelectionChangedEvent e) {
    CheckBox radio = (CheckBox) group2.getWidget(e.getSelection());
    Utils.Console("group2 " + e.getSelection() + " " + radio.getText());
}
Also used : CheckBox(com.gwtmobile.ui.client.widgets.CheckBox) UiHandler(com.google.gwt.uibinder.client.UiHandler)

Example 2 with CheckBox

use of com.gwtmobile.ui.client.widgets.CheckBox in project GwtMobile by dennisjzh.

the class CheckBoxPage method onGroup1SelectionChanged.

@UiHandler("group1")
void onGroup1SelectionChanged(SelectionChangedEvent e) {
    CheckBox radio = (CheckBox) group1.getWidget(e.getSelection());
    Utils.Console("group1 " + e.getSelection() + " " + radio.getText());
}
Also used : CheckBox(com.gwtmobile.ui.client.widgets.CheckBox) UiHandler(com.google.gwt.uibinder.client.UiHandler)

Aggregations

UiHandler (com.google.gwt.uibinder.client.UiHandler)2 CheckBox (com.gwtmobile.ui.client.widgets.CheckBox)2