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

com.vaadin.event.HasUserOriginated Maven / Gradle / Ivy

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

import java.io.Serializable;

/**
 * Marker for events which provides information of the event origin.
 *
 * @since 8.1
 */
public interface HasUserOriginated extends Serializable {
    /**
     * Returns whether this event was triggered by user interaction, on the
     * client side, or programmatically, on the server side.
     *
     * @return {@code true} if this event originates from the client,
     *         {@code false} otherwise.
     */
    public boolean isUserOriginated();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy