aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2021-09-10 16:11:14 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2021-09-10 16:11:14 +0300
commit59218601dfb9df39a0664be37cf7f760cde81b2f (patch)
treeef07a6b564571538245720d40c094204ec2c932d
parentdbd7a02d71a0a4ee5e2ee064cd494d7fa9de4795 (diff)
downloadLibGui-59218601dfb9df39a0664be37cf7f760cde81b2f.tar.gz
LibGui-59218601dfb9df39a0664be37cf7f760cde81b2f.tar.bz2
LibGui-59218601dfb9df39a0664be37cf7f760cde81b2f.zip
Fix ObservableView.ChangeListener javadoc
-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);
}