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

com.vaadin.collaborationengine.ListSubscriber Maven / Gradle / Ivy

/*
 * Copyright (C) 2021 Vaadin Ltd
 *
 * This program is available under Commercial Vaadin Runtime License 1.0
 * (CVRLv1).
 *
 * For the full License, see http://vaadin.com/license/cvrl-1
 */
package com.vaadin.collaborationengine;

/**
 * Event handler that gets notified for changes to collaboration lists. A
 * listener can be registered using
 * {@link CollaborationList#subscribe(ListSubscriber)}.
 *
 * @author Vaadin Ltd
 * @since 3.1
 */
@FunctionalInterface
public interface ListSubscriber {

    /**
     * Handles a list change event.
     *
     * @param event
     *            the list change event, not null
     */
    void onListChange(ListChangeEvent event);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy