Browse Source

Improve CollapseEvent and ExpandEvent javadocs

tags/8.1.0.alpha8
Aleksi Hietanen 7 years ago
parent
commit
760959a5d2

+ 4
- 3
server/src/main/java/com/vaadin/event/CollapseEvent.java View File

@@ -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

+ 2
- 1
server/src/main/java/com/vaadin/event/ExpandEvent.java View File

@@ -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

Loading…
Cancel
Save