Example usage for com.vaadin.v7.data.util MethodProperty fireValueChange

List of usage examples for com.vaadin.v7.data.util MethodProperty fireValueChange

Introduction

In this page you can find the example usage for com.vaadin.v7.data.util MethodProperty fireValueChange.

Prototype

@Override
public void fireValueChange() 

Source Link

Document

Sends a value change event to all registered listeners.

Usage

From source file:de.symeda.sormas.ui.person.PersonGrid.java

License:Open Source License

public void refresh(PersonIndexDto entry) {
    // We avoid updating the whole table through the backend here so we can
    // get a partial update for the grid
    BeanItem<PersonIndexDto> item = getContainer().getItem(entry);
    if (item != null) {
        // Updated product
        @SuppressWarnings("rawtypes")
        MethodProperty p = (MethodProperty) item.getItemProperty(PersonIndexDto.UUID);
        p.fireValueChange();
    } else {/* w  w  w .j a v a2s .  c o  m*/
        // New product
        getContainer().addBean(entry);
    }
}