*/
package com.vaadin.event;
-import java.io.Serializable;
import java.lang.reflect.Method;
import com.vaadin.ui.Component;
* @since 8.1
*/
@FunctionalInterface
- public interface CollapseListener<T> extends Serializable {
+ public interface CollapseListener<T> extends SerializableEventListener {
public static final Method COLLAPSE_METHOD = ReflectTools.findMethod(
CollapseListener.class, "itemCollapse", CollapseEvent.class);
*/
package com.vaadin.event;
-import java.io.Serializable;
import java.lang.reflect.Method;
import com.vaadin.ui.Component;
* @since 8.1
*/
@FunctionalInterface
- public interface ExpandListener<T> extends Serializable {
+ public interface ExpandListener<T> extends SerializableEventListener {
public static final Method EXPAND_METHOD = ReflectTools.findMethod(
ExpandListener.class, "itemExpand", ExpandEvent.class);