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