java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QPropertyObserverBase
io.qt.core.QPropertyObserver
io.qt.core.QPropertyChangeHandler
- All Implemented Interfaces:
QtObjectInterface
public final class QPropertyChangeHandler extends QPropertyObserver
Java wrapper for Qt class QPropertyChangeHandler
The QPropertyChangeHandler class controls the lifecycle of change callback installed on aQProperty
.
QPropertyChangeHandler is created when registering a callback on a QProperty to listen to changes to the property's value,
using QProperty.onValueChanged(Runnable)
and QProperty.subscribe(Runnable)
.
As long as the change handler is alive i.e. as long as a reference to the QPropertyChangeHandler instance exists, the callback remains installed.-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QPropertyObserverBase
QPropertyObserverBase.ObserverTag
-
Constructor Summary
Constructors Constructor Description QPropertyChangeHandler(Runnable functor)
-
Method Summary