java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QPropertyObserverBase
io.qt.core.QPropertyObserver
io.qt.core.QDoublePropertyAlias
- All Implemented Interfaces:
QtObjectInterface
public final class QDoublePropertyAlias extends QPropertyObserver
QDoublePropertyAlias is primitive-typed version of QPropertyAlias<Double>.
- See Also:
QPropertyAlias
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QPropertyObserverBase
QPropertyObserverBase.ObserverTag
-
Constructor Summary
Constructors Constructor Description QDoublePropertyAlias(QBindable<@QtPrimitiveType Double> bindable)
Creates a new alias to the provided binding's underlying property.QDoublePropertyAlias(QDoubleBindable bindable)
Creates a new alias to the provided binding's underlying property.QDoublePropertyAlias(QDoubleProperty property)
Creates a new alias to the provided property.QDoublePropertyAlias(QDoublePropertyAlias alias)
Creates a new alias to the provided alias.QDoublePropertyAlias(QObject.QComputedIntProperty property)
Creates a new alias to the provided property.QDoublePropertyAlias(QObject.QComputedProperty<@QtPrimitiveType Double> property)
Creates a new alias to the provided property.QDoublePropertyAlias(QObject.QDoubleProperty property)
Creates a new alias to the provided property.QDoublePropertyAlias(QObject.QProperty<@QtPrimitiveType Double> property)
Creates a new alias to the provided property.QDoublePropertyAlias(QProperty<@QtPrimitiveType Double> property)
Creates a new alias to the provided property.QDoublePropertyAlias(QPropertyAlias<@QtPrimitiveType Double> other)
Creates a new alias to the provided alias. -
Method Summary
Modifier and Type Method Description QDoublePropertyBinding
binding()
boolean
hasBinding()
boolean
isValid()
Checks if alias is valid.QPropertyChangeHandler
onValueChanged(Runnable f)
QDoublePropertyBinding
setBinding(QDoublePropertyBinding newBinding)
QDoublePropertyBinding
setBinding(QPropertyBinding<@QtPrimitiveType Double> newBinding)
boolean
setBinding(QUntypedPropertyBinding newBinding)
QDoublePropertyBinding
setBinding(DoubleSupplier functor)
void
setValue(double newValue)
QPropertyChangeHandler
subscribe(Runnable f)
QDoublePropertyBinding
takeBinding()
double
value()
-
Constructor Details
-
QDoublePropertyAlias
Creates a new alias to the provided alias.- Parameters:
other
-
-
QDoublePropertyAlias
Creates a new alias to the provided property.- Parameters:
property
-
-
QDoublePropertyAlias
Creates a new alias to the provided property.- Parameters:
property
-
-
QDoublePropertyAlias
Creates a new alias to the provided property.- Parameters:
property
-
-
QDoublePropertyAlias
Creates a new alias to the provided property.- Parameters:
property
-
-
QDoublePropertyAlias
Creates a new alias to the provided property.- Parameters:
property
-
-
QDoublePropertyAlias
Creates a new alias to the provided property.- Parameters:
property
-
-
QDoublePropertyAlias
Creates a new alias to the provided alias.- Parameters:
other
-
-
QDoublePropertyAlias
Creates a new alias to the provided binding's underlying property.- Parameters:
other
-
-
QDoublePropertyAlias
Creates a new alias to the provided binding's underlying property.- Parameters:
other
-
-
-
Method Details
-
value
- See Also:
QDoubleProperty.value()
-
setValue
- See Also:
QDoubleProperty.setValue(double)
-
setBinding
-
setBinding
@QtUninvokable public QDoublePropertyBinding setBinding(QPropertyBinding<@QtPrimitiveType Double> newBinding) -
setBinding
-
binding
- See Also:
QDoubleProperty.binding()
-
takeBinding
- See Also:
QDoubleProperty.takeBinding()
-
setBinding
-
hasBinding
- See Also:
QProperty.hasBinding()
-
onValueChanged
- See Also:
QProperty.onValueChanged(Runnable)
-
subscribe
- See Also:
QProperty.subscribe(Runnable)
-
isValid
Checks if alias is valid.- Returns:
- valid
-