HistoryValueChangeHandler<String> class
class HistoryValueChangeHandler<String> implements ValueChangeHandler<String> { PopupPanel _panel; HistoryValueChangeHandler(this._panel); /** * Called when {@link ValueChangeEvent} is fired. * * @param event the {@link ValueChangeEvent} that was fired */ void onValueChange(ValueChangeEvent<String> event) { if (_panel.autoHideOnHistoryEvents) { _panel.hide(); } } }
Implements
Constructors
new HistoryValueChangeHandler(PopupPanel _panel) #
Methods
void onValueChange(ValueChangeEvent<String> event) #
Called when {@link ValueChangeEvent} is fired.
@param event the {@link ValueChangeEvent} that was fired
void onValueChange(ValueChangeEvent<String> event) { if (_panel.autoHideOnHistoryEvents) { _panel.hide(); } }