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