aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/data/ObservableView.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/data/ObservableView.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/data/ObservableView.java
index c3113b9..4bc2b9f 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/data/ObservableView.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/data/ObservableView.java
@@ -29,9 +29,9 @@ public interface ObservableView<T> extends Supplier<T> {
/**
* Handles a change in an observable property.
*
- * @param property
- * @param from
- * @param to
+ * @param property the changed property or view
+ * @param from the previous value
+ * @param to the new value
*/
void onPropertyChange(ObservableView<? extends T> property, @Nullable T from, @Nullable T to);
}