Example usage for com.google.gwt.event.logical.shared ValueChangeEvent getValue

List of usage examples for com.google.gwt.event.logical.shared ValueChangeEvent getValue

Introduction

In this page you can find the example usage for com.google.gwt.event.logical.shared ValueChangeEvent getValue.

Prototype

public T getValue() 

Source Link

Document

Gets the value.

Usage

From source file:com.github.gwtbootstrap.showcase.client.Datepicker.java

License:Apache License

@UiHandler("language")
public void onCHangeLanguage(ValueChangeEvent<String> e) {
    datePicker.setLanguage(e.getValue());
    datePicker.reconfigure();//from   w  w w .ja  v  a 2 s.  c  o m
}

From source file:com.github.gwtbootstrap.showcase.client.Datepicker.java

License:Apache License

@UiHandler("startDate")
public void onChangeStartDate(ValueChangeEvent<Date> e) {
    if (e.getValue() == null) {
        return;/*from  w  w  w. ja  va2  s  .c o m*/
    }

    datePicker.setStartDate_(e.getValue());
    datePicker.reconfigure();
}

From source file:com.github.gwtbootstrap.showcase.client.Datepicker.java

License:Apache License

@UiHandler("endDate")
public void onChangeEndDate(ValueChangeEvent<Date> e) {
    if (e.getValue() == null) {
        return;/* w ww . j a v  a 2 s .c  om*/
    }

    datePicker.setEndDate_(e.getValue());
    datePicker.reconfigure();
}

From source file:com.github.gwtbootstrap.showcase.client.Datepicker.java

License:Apache License

@UiHandler("viewMode")
public void onChangeViewMode(ValueChangeEvent<ViewMode> e) {
    if (e.getValue() == null) {
        return;// ww  w. j a v a  2  s.  c  om
    }

    datePicker.setStartView(e.getValue());
    datePicker.reconfigure();
}

From source file:com.github.gwtbootstrap.showcase.client.Datepicker.java

License:Apache License

@UiHandler("valueDate")
public void onChangeValueDate(ValueChangeEvent<Date> e) {
    datePicker.setValue(e.getValue());
}

From source file:com.github.gwtbootstrap.showcase.client.Datepicker.java

License:Apache License

@UiHandler("datePicker")
public void onValueChange(ValueChangeEvent<Date> e) {
    addLog("fire value change event   [value:" + e.getValue() + "]");
}

From source file:com.github.gwtbootstrap.showcase.client.Datetimepicker.java

License:Apache License

@UiHandler("autoClose")
public void onClickAutoClose(ValueChangeEvent<Boolean> e) {
    dateTimePicker.setAutoClose(e.getValue());
    dateTimePicker.reconfigure();/*from w  ww.  j av  a2s .co  m*/
}

From source file:com.github.gwtbootstrap.showcase.client.Datetimepicker.java

License:Apache License

@UiHandler("enabled")
public void onClickEnabled(ValueChangeEvent<Boolean> e) {
    dateTimePicker.setEnabled(e.getValue());
}

From source file:com.github.gwtbootstrap.showcase.client.Datetimepicker.java

License:Apache License

@UiHandler("showTodayButton")
public void onClickShowTodayButton(ValueChangeEvent<Boolean> e) {
    dateTimePicker.setShowTodayButton(e.getValue());
    dateTimePicker.reconfigure();/*  w ww. ja v  a  2s.co m*/
}

From source file:com.github.gwtbootstrap.showcase.client.Datetimepicker.java

License:Apache License

@UiHandler("highlightToday")
public void onClickhighlightToday(ValueChangeEvent<Boolean> e) {
    dateTimePicker.setHighlightToday(e.getValue());
    dateTimePicker.reconfigure();//from   w  w w  .j  a v a2  s .  c  o m
}