List of usage examples for com.google.gwt.event.logical.shared ValueChangeEvent fire
public static <T> void fire(HasValueChangeHandlers<T> source, T value)
From source file:com.alkacon.geranium.client.ui.input.CheckBox.java
License:Open Source License
/** * Helper method for firing a 'value changed' event.<p> */ protected void fireValueChangedEvent() { ValueChangeEvent.fire(this, getFormValue()); }
From source file:com.alkacon.geranium.client.ui.input.DefaultStringModel.java
License:Open Source License
/** * @see com.alkacon.geranium.client.ui.input.I_StringModel#setValue(java.lang.String, boolean) *//*from w w w .j a v a2 s . co m*/ public void setValue(String value, boolean notify) { if (!m_active) { m_active = true; try { boolean changed = !((m_value == value) || ((m_value != null) && m_value.equals(value))); m_value = value; if (notify && changed) { ValueChangeEvent.fire(this, value); } } finally { m_active = false; } } }
From source file:com.alkacon.geranium.client.ui.input.RadioButtonGroup.java
License:Open Source License
/** * Selects a new button and deselects the previously selected one.<p> * // w w w . jav a 2 s . c om * @param button the button which should be selected */ public void selectButton(RadioButton button) { if (m_selectedButton != button) { if (m_selectedButton != null) { m_selectedButton.setChecked(false); } if (!button.isChecked()) { button.setChecked(true); } m_selectedButton = button; if (m_target != null) { ValueChangeEvent.fire(m_target, button.getName()); } } }
From source file:com.alkacon.geranium.client.ui.input.RadioButtonGroupWidget.java
License:Open Source License
/** * Fires a ValueChangedEvent on this widget.<p> * /*from w w w . j av a 2s. c o m*/ * @param newValue the new value of this widget */ void fireValueChangedEvent(String newValue) { ValueChangeEvent.fire(this, newValue); }
From source file:com.alkacon.geranium.client.ui.input.TextBox.java
License:Open Source License
/** * Helper method for firing a 'value changed' event.<p> *//* w w w. j a va 2 s. co m*/ protected void fireValueChangedEvent() { ValueChangeEvent.fire(this, getFormValueAsString()); }
From source file:com.alkacon.opencms.v8.calendar.client.input.CmsSerialDate.java
License:Open Source License
/** * Represents a value change event.<p> */// w w w . j a v a 2 s .c om public void fireValueChange() { CmsDebugLog.getInstance().printLine(getFormValueAsString()); ValueChangeEvent.fire(this, getFormValueAsString()); }
From source file:com.alkacon.opencms.v8.calendar.client.input.serialdate.CmsPatternPanelDaily.java
License:Open Source License
/** * Represents a value change event.<p> */ public void fireValueChange() { ValueChangeEvent.fire(this, getWorkingDay()); }
From source file:com.alkacon.opencms.v8.calendar.client.input.serialdate.CmsPatternPanelMonthly.java
License:Open Source License
/** * Represents a value change event.<p> */ public void fireValueChange() { ValueChangeEvent.fire(this, getWeekDays()); }
From source file:com.alkacon.opencms.v8.calendar.client.widget.CmsSerialDateSelectWidget.java
License:Open Source License
/** * @see org.opencms.ade.contenteditor.client.widgets.CmsSelectWidget#fireChangeEvent() *//*from ww w . j a v a2 s . c o m*/ @Override public void fireChangeEvent() { m_value = m_selectBox.getFormValueAsString(); ValueChangeEvent.fire(this, m_selectBox.getFormValueAsString()); }
From source file:com.alkacon.opencms.v8.calendar.client.widget.CmsSerialDateWidget.java
License:Open Source License
/** * Represents a value change event.<p> * */ public void fireChangeEvent() { ValueChangeEvent.fire(this, m_serialDate.getFormValueAsString()); }