Package com.github.weisj.jsvg.parser
Class SwingUIFuture<T>
- java.lang.Object
-
- com.github.weisj.jsvg.parser.SwingUIFuture<T>
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull java.util.concurrent.atomic.AtomicReference<javax.swing.SwingWorker<java.lang.Void,java.lang.Void>>
swingWorker
private T
value
-
Constructor Summary
Constructors Constructor Description SwingUIFuture(@NotNull java.util.function.Supplier<T> supplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkIfReady(@NotNull PlatformSupport platformSupport)
T
get()
-
-
-
Field Detail
-
swingWorker
@NotNull private final @NotNull java.util.concurrent.atomic.AtomicReference<javax.swing.SwingWorker<java.lang.Void,java.lang.Void>> swingWorker
-
value
@Nullable private T value
-
-
Constructor Detail
-
SwingUIFuture
public SwingUIFuture(@NotNull @NotNull java.util.function.Supplier<T> supplier)
-
-
Method Detail
-
checkIfReady
public boolean checkIfReady(@NotNull @NotNull PlatformSupport platformSupport)
- Specified by:
checkIfReady
in interfaceUIFuture<T>
-
-