All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.v7.client.widget.grid.selection.HasSelectionHandlers Maven / Gradle / Ivy

There is a newer version: 8.27.3
Show newest version
/*
 * Copyright (C) 2000-2023 Vaadin Ltd
 *
 * This program is available under Vaadin Commercial License and Service Terms.
 *
 * See  for the full
 * license.
 */
package com.vaadin.v7.client.widget.grid.selection;

import com.google.gwt.event.shared.HandlerRegistration;

/**
 * Marker interface for widgets that fires selection events.
 *
 * @author Vaadin Ltd
 * @since 7.4
 */
public interface HasSelectionHandlers {

    /**
     * Register a selection change handler.
     * 

* This handler is called whenever a * {@link com.vaadin.ui.components.grid.selection.SelectionModel * SelectionModel} detects a change in selection state. * * @param handler * a {@link SelectionHandler} * @return a handler registration object, which can be used to remove the * handler. */ public HandlerRegistration addSelectionHandler(SelectionHandler handler); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy