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

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

Introduction

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

Prototype

public static <T> void fire(HasValueChangeHandlers<T> source, T value) 

Source Link

Document

Fires a value change event on all registered handlers in the handler manager.

Usage

From source file:org.opencms.ade.contenteditor.widgetregistry.client.WidgetWrapper.java

License:Open Source License

/**
 * Fires the value change event.<p>
 */
protected void fireChangeEvent() {

    ValueChangeEvent.fire(this, getValue());
}

From source file:org.opencms.ade.galleries.client.CmsGalleryController.java

License:Open Source License

/**
 * Add category to search object.<p>
 * /*  www  . jav a2 s.co  m*/
 * @param categoryPath the id of the category to add
 */
public void addCategory(String categoryPath) {

    m_searchObject.addCategory(categoryPath);
    m_searchObjectChanged = true;
    ValueChangeEvent.fire(this, m_searchObject);
}

From source file:org.opencms.ade.galleries.client.CmsGalleryController.java

License:Open Source License

/**
 * Sets the created until date to the search object.<p>
 * //from w w w.  j a va2  s  .c o m
 * @param end the created until date as long
 */
public void addDateCreatedEnd(long end) {

    m_searchObject.setDateCreatedEnd(end);
    m_searchObjectChanged = true;
    ValueChangeEvent.fire(this, m_searchObject);
}

From source file:org.opencms.ade.galleries.client.CmsGalleryController.java

License:Open Source License

/**
 * Sets the created since date to the search object.<p>
 * //  w  w w.j ava  2  s. c o  m
 * @param start the created since date as long
 */
public void addDateCreatedStart(long start) {

    m_searchObject.setDateCreatedStart(start);
    m_searchObjectChanged = true;
    ValueChangeEvent.fire(this, m_searchObject);
}

From source file:org.opencms.ade.galleries.client.CmsGalleryController.java

License:Open Source License

/**
 * Sets the modified until date to the search object.<p>
 * //from ww w  . j  a v  a 2s.c  om
 * @param end the modified until date as long
 */
public void addDateModifiedEnd(long end) {

    m_searchObject.setDateModifiedEnd(end);
    m_searchObjectChanged = true;
    ValueChangeEvent.fire(this, m_searchObject);
}

From source file:org.opencms.ade.galleries.client.CmsGalleryController.java

License:Open Source License

/**
 * Sets the modified since date to the search object.<p>
 * /*  w  w  w.  j  a va2s  . c o m*/
 * @param start the modified since date as long
 */
public void addDateModifiedStart(long start) {

    m_searchObject.setDateModifiedStart(start);
    m_searchObjectChanged = true;
    ValueChangeEvent.fire(this, m_searchObject);
}

From source file:org.opencms.ade.galleries.client.CmsGalleryController.java

License:Open Source License

/**
 * Adds a folder to the current search object.<p>
 * /*from w w w  .j  a va  2  s. c o  m*/
 * @param folder the folder to add
 */
public void addFolder(String folder) {

    m_searchObject.addFolder(folder);
    m_searchObjectChanged = true;
    ValueChangeEvent.fire(this, m_searchObject);
}

From source file:org.opencms.ade.galleries.client.CmsGalleryController.java

License:Open Source License

/**
 * Add gallery to search object.<p>
 * //from  w  w w .  java  2  s .  c  o m
 * @param galleryPath the id of the gallery to add
 */
public void addGallery(String galleryPath) {

    m_searchObject.addGallery(galleryPath);
    m_searchObjectChanged = true;
    ValueChangeEvent.fire(this, m_searchObject);
}

From source file:org.opencms.ade.galleries.client.CmsGalleryController.java

License:Open Source License

/**
 * Sets the locale to the search object.<p>
 * //from   www .j a v a2 s  .  co  m
 * @param locale the locale to set
 */
public void addLocale(String locale) {

    m_searchObject.setLocale(locale);
    m_searchObjectChanged = true;
    ValueChangeEvent.fire(this, m_searchObject);
}

From source file:org.opencms.ade.galleries.client.CmsGalleryController.java

License:Open Source License

/**
 * Sets the search scope in the search object.<p>
 *
 * @param scope the search scope /*from  w  w w. j av  a2 s .c o m*/
 */
public void addScope(CmsGallerySearchScope scope) {

    m_searchObject.setScope(scope);
    m_searchObjectChanged = true;
    ValueChangeEvent.fire(this, m_searchObject);
}