java.lang.Object
omix.util.SynchronousChangeListener
- All Implemented Interfaces:
ChangeListener
public final class SynchronousChangeListener extends Object implements ChangeListener
This class implements the
ChangeListener
in thread-safe manner.- Since:
- Omix 2.0.0
- Author:
- Dr. Peter Droste, Omix Visualization
- See Also:
ThreadAffineUtility.tryInvokeAndWait(io.qt.core.QObject, omix.util.ui.ThrowingRunnable)
-
Constructor Summary
Constructors Constructor Description SynchronousChangeListener(Supplier<QThread> threadSupplier, ChangeListener modelEventListener)
-
Method Summary
Modifier and Type Method Description void
changeOccurred(ChangeEvent event)
-
Constructor Details
-
SynchronousChangeListener
public SynchronousChangeListener(Supplier<QThread> threadSupplier, ChangeListener modelEventListener)
-
-
Method Details
-
changeOccurred
- Specified by:
changeOccurred
in interfaceChangeListener
- Throws:
RuntimeException
-