Example usage for com.google.gwt.visualization.client.events SelectHandler onSelect

List of usage examples for com.google.gwt.visualization.client.events SelectHandler onSelect

Introduction

In this page you can find the example usage for com.google.gwt.visualization.client.events SelectHandler onSelect.

Prototype

public abstract void onSelect(SelectEvent event);

Source Link

Usage

From source file:com.google.gwt.visualization.sample.customvisualization.client.CustomVisualization.java

License:Apache License

public void addSelectHandler(final SelectHandler handler) {
    grid.addClickHandler(new ClickHandler() {
        public void onClick(ClickEvent event) {
            cell = grid.getCellForEvent(event);
            handler.onSelect(new SelectEvent());
        }/*from  w w  w.  j  a v  a2 s . c o  m*/
    });
}