Search in sources :

Example 1 with RadioButton

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

the class RadioButtonPage method onRadioGroup1SelectionChanged.

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

Example 2 with RadioButton

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

the class RadioButtonPage method onRadioGroup2SelectionChanged.

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

Aggregations

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