Example usage for com.google.gwt.event.logical.shared ShowRangeEvent fire

List of usage examples for com.google.gwt.event.logical.shared ShowRangeEvent fire

Introduction

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

Prototype

public static <V, S extends HasShowRangeHandlers<V> & HasHandlers> void fire(S source, V start, V end) 

Source Link

Document

Fires a show range event on all registered handlers in the handler manager.

Usage

From source file:net.cbtltd.client.field.datepicker.DatePicker.java

License:Apache License

@Override
public void onLoad() {
    ShowRangeEvent.fire(this, getFirstDate(), getLastDate());
}

From source file:net.cbtltd.client.field.datepicker.DatePicker.java

License:Apache License

/**
 * Refreshes all components of this date picker.
 *///from   ww w  .j ava2 s  . c  om
protected final void refreshAll() {
    highlighted = null;
    getModel().refresh();

    getView().refresh();
    getMonthSelector().refresh();
    if (isAttached()) {
        ShowRangeEvent.fire(this, getFirstDate(), getLastDate());
    }
}

From source file:org.cruxframework.crux.widgets.client.datepicker.GWTOverriddenDatePicker.java

License:Apache License

/**
 * Refreshes all components of this date picker.
 *///from  w ww .j a v  a  2  s  . c  om
protected final void refreshAll() {
    highlighted = null;
    getModel().refresh();

    getView().refresh();
    getMonthSelector().refresh();
    if (isAttached()) {
        ShowRangeEvent.fire(this, getFirstDate(), getLastDate());
    }
    getView().setAriaSelectedCell(value);
}