Example usage for com.vaadin.event EventRouter addListener

List of usage examples for com.vaadin.event EventRouter addListener

Introduction

In this page you can find the example usage for com.vaadin.event EventRouter addListener.

Prototype

@Override
    public Registration addListener(Class<?> eventType, Object object, String methodName) 

Source Link

Usage

From source file:ru.codeinside.gses.webui.Flash.java

License:Mozilla Public License

public static void bind(Class<?> eventType, Object target, String methodName) {
    final EventRouter router = router();
    if (router != null) {
        router.addListener(eventType, target, methodName);
    }//from  w w w  .  j av a2s  . co m
}