aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/main/java/com/vaadin/event/CollapseEvent.java7
-rw-r--r--server/src/main/java/com/vaadin/event/ExpandEvent.java3
2 files changed, 6 insertions, 4 deletions
diff --git a/server/src/main/java/com/vaadin/event/CollapseEvent.java b/server/src/main/java/com/vaadin/event/CollapseEvent.java
index 78da8d1529..45224496e7 100644
--- a/server/src/main/java/com/vaadin/event/CollapseEvent.java
+++ b/server/src/main/java/com/vaadin/event/CollapseEvent.java
@@ -21,8 +21,9 @@ import com.vaadin.ui.Component;
import com.vaadin.util.ReflectTools;
/**
- * An event that is fired when an item is collapsed. Note that expanded subtrees
- * of the collapsed item will not trigger collapse events.
+ * An event that is fired when an item is collapsed in a listing component that
+ * displays hierarchical data. Note that expanded subtrees of the collapsed item
+ * will not trigger collapse events.
*
* @author Vaadin Ltd
* @since 8.1
@@ -39,7 +40,7 @@ public class CollapseEvent<T> extends Component.Event {
* Construct a collapse event.
*
* @param source
- * the hierarchical this event originated from
+ * the hierarchical component this event originated from
* @param collapsedItem
* the item that was collapsed
* @param userOriginated
diff --git a/server/src/main/java/com/vaadin/event/ExpandEvent.java b/server/src/main/java/com/vaadin/event/ExpandEvent.java
index 5340489ee2..ea8193dfe0 100644
--- a/server/src/main/java/com/vaadin/event/ExpandEvent.java
+++ b/server/src/main/java/com/vaadin/event/ExpandEvent.java
@@ -21,7 +21,8 @@ import com.vaadin.ui.Component;
import com.vaadin.util.ReflectTools;
/**
- * An event that is fired when an item is expanded.
+ * An event that is fired when an item is expanded in a listing component that
+ * displays hierarchical data.
*
* @author Vaadin Ltd
* @since 8.1