aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/event/ExpandEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java/com/vaadin/event/ExpandEvent.java')
-rw-r--r--server/src/main/java/com/vaadin/event/ExpandEvent.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/server/src/main/java/com/vaadin/event/ExpandEvent.java b/server/src/main/java/com/vaadin/event/ExpandEvent.java
index ea8193dfe0..61642e683f 100644
--- a/server/src/main/java/com/vaadin/event/ExpandEvent.java
+++ b/server/src/main/java/com/vaadin/event/ExpandEvent.java
@@ -29,7 +29,8 @@ import com.vaadin.util.ReflectTools;
* @param <T>
* the expanded item's type
*/
-public class ExpandEvent<T> extends Component.Event {
+public class ExpandEvent<T> extends Component.Event
+ implements HasUserOriginated {
private final T expandedItem;
@@ -62,13 +63,7 @@ public class ExpandEvent<T> extends Component.Event {
return expandedItem;
}
- /**
- * 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.
- */
+ @Override
public boolean isUserOriginated() {
return userOriginated;
}