java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QPropertyObserverBase
io.qt.core.QPropertyObserver
io.qt.core.QPropertyAlias<T>
- All Implemented Interfaces:
QtObjectInterface
public final class QPropertyAlias<T> extends QPropertyObserver
Java wrapper for Qt class QPropertyAlias
Use this class to declare a property as alias for another one.
For primitive-typed implementations see:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QPropertyObserverBase
QPropertyObserverBase.ObserverTag
-
Constructor Summary
Constructors Constructor Description QPropertyAlias(QBindable<T> bindable)
QPropertyAlias(QObject.QComputedProperty<T> property)
Creates a new alias to the provided property.QPropertyAlias(QObject.QProperty<T> property)
Creates a new alias to the provided property.QPropertyAlias(QProperty<T> property)
Creates a new alias to the provided property.QPropertyAlias(QPropertyAlias<T> alias)
Creates a new alias to the provided alias. -
Method Summary
-
Constructor Details
-
QPropertyAlias
Creates a new alias to the provided property.- Parameters:
property
-
-
QPropertyAlias
Creates a new alias to the provided property.- Parameters:
property
-
-
QPropertyAlias
Creates a new alias to the provided property.- Parameters:
property
-
-
QPropertyAlias
Creates a new alias to the provided alias.- Parameters:
other
-
-
QPropertyAlias
-
-
Method Details
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromAlias
Creates a new alias to the provided property alias.- Parameters:
alias
-- Returns:
- new alias
-
fromAlias
Creates a new alias to the provided property alias.- Parameters:
alias
-- Returns:
- new alias
-
fromAlias
Creates a new alias to the provided property alias.- Parameters:
alias
-- Returns:
- new alias
-
fromAlias
Creates a new alias to the provided property alias.- Parameters:
alias
-- Returns:
- new alias
-
fromAlias
Creates a new alias to the provided property alias.- Parameters:
alias
-- Returns:
- new alias
-
fromAlias
Creates a new alias to the provided property alias.- Parameters:
alias
-- Returns:
- new alias
-
fromAlias
Creates a new alias to the provided property alias.- Parameters:
alias
-- Returns:
- new alias
-
fromAlias
Creates a new alias to the provided property alias.- Parameters:
alias
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Boolean> fromProperty(QObject.QBooleanProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Double> fromProperty(QObject.QDoubleProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Character> fromProperty(QObject.QCharProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Boolean> fromProperty(QObject.QComputedBooleanProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Byte> fromProperty(QObject.QComputedByteProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Short> fromProperty(QObject.QComputedShortProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Integer> fromProperty(QObject.QComputedIntProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Long> fromProperty(QObject.QComputedLongProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Float> fromProperty(QObject.QComputedFloatProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Double> fromProperty(QObject.QComputedDoubleProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
fromProperty
public static QPropertyAlias<@QtPrimitiveType Character> fromProperty(QObject.QComputedCharProperty property)Creates a new alias to the provided property.- Parameters:
property
-- Returns:
- new alias
-
value
- See Also:
QProperty.value()
-
setValue
- See Also:
QProperty.setValue(Object)
-
setBinding
- See Also:
QProperty.setBinding(QPropertyBinding)
-
setBinding
-
binding
- See Also:
QProperty.binding()
-
takeBinding
- See Also:
QProperty.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
-