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