List of usage examples for com.vaadin.ui AbstractComponent addListener
@Override
public Registration addListener(Class<?> eventType, Object target, Method method)
From source file:com.expressui.core.view.field.FormField.java
License:Open Source License
/** * Adds listener for changes in this field's value. * * @param target target object to invoke * @param methodName name of method to invoke */// w ww . j a v a 2 s . c om public void addValueChangeListener(Object target, String methodName) { AbstractComponent component = (AbstractComponent) getField(); component.addListener(Property.ValueChangeEvent.class, target, methodName); }