aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2021-09-10 16:12:36 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2021-09-10 16:12:36 +0300
commit00a0bb5a4176c16be3fa61ad33713131a053168f (patch)
tree6c7563e2599c913ecaa6c3702c9eab0fe68cfa47
parent59218601dfb9df39a0664be37cf7f760cde81b2f (diff)
downloadLibGui-00a0bb5a4176c16be3fa61ad33713131a053168f.tar.gz
LibGui-00a0bb5a4176c16be3fa61ad33713131a053168f.tar.bz2
LibGui-00a0bb5a4176c16be3fa61ad33713131a053168f.zip
More JD!
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/data/ObservableView.java6
1 files changed, 6 insertions, 0 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 4bc2b9f..c670c07 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
@@ -4,6 +4,12 @@ import org.jetbrains.annotations.Nullable;
import java.util.function.Supplier;
+/**
+ * A read-only {@linkplain ObservableProperty observable property}.
+ *
+ * @param <T> the contained value type
+ * @since 4.2.0
+ */
public interface ObservableView<T> extends Supplier<T> {
/**
* Adds a change listener to this property view.