java.lang.Object
io.qt.QtObject
io.qt.core.QPropertyObserverBase
io.qt.core.QPropertyObserver
io.qt.core.QPropertyAlias<T>
- All Implemented Interfaces:
QtObjectInterface
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.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQPropertyAlias
(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
Modifier and TypeMethodDescriptionbinding()
static QPropertyAlias<@QtPrimitiveType Boolean>
fromAlias
(QBooleanPropertyAlias alias) Creates a new alias to the provided property alias.static QPropertyAlias<@QtPrimitiveType Byte>
fromAlias
(QBytePropertyAlias alias) Creates a new alias to the provided property alias.static QPropertyAlias<@QtPrimitiveType Character>
fromAlias
(QCharPropertyAlias alias) Creates a new alias to the provided property alias.static QPropertyAlias<@QtPrimitiveType Double>
fromAlias
(QDoublePropertyAlias alias) Creates a new alias to the provided property alias.static QPropertyAlias<@QtPrimitiveType Float>
fromAlias
(QFloatPropertyAlias alias) Creates a new alias to the provided property alias.static QPropertyAlias<@QtPrimitiveType Integer>
fromAlias
(QIntPropertyAlias alias) Creates a new alias to the provided property alias.static QPropertyAlias<@QtPrimitiveType Long>
fromAlias
(QLongPropertyAlias alias) Creates a new alias to the provided property alias.static QPropertyAlias<@QtPrimitiveType Short>
fromAlias
(QShortPropertyAlias alias) Creates a new alias to the provided property alias.static QPropertyAlias<@QtPrimitiveType Boolean>
fromProperty
(QBooleanProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Byte>
fromProperty
(QByteProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Character>
fromProperty
(QCharProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Double>
fromProperty
(QDoubleProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Float>
fromProperty
(QFloatProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Integer>
fromProperty
(QIntProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Long>
fromProperty
(QLongProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Boolean>
fromProperty
(QObject.QBooleanProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Byte>
fromProperty
(QObject.QByteProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Character>
fromProperty
(QObject.QCharProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Boolean>
fromProperty
(QObject.QComputedBooleanProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Byte>
fromProperty
(QObject.QComputedByteProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Character>
fromProperty
(QObject.QComputedCharProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Double>
fromProperty
(QObject.QComputedDoubleProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Float>
fromProperty
(QObject.QComputedFloatProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Integer>
fromProperty
(QObject.QComputedIntProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Long>
fromProperty
(QObject.QComputedLongProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Short>
fromProperty
(QObject.QComputedShortProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Double>
fromProperty
(QObject.QDoubleProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Float>
fromProperty
(QObject.QFloatProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Integer>
fromProperty
(QObject.QIntProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Long>
fromProperty
(QObject.QLongProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Short>
fromProperty
(QObject.QShortProperty property) Creates a new alias to the provided property.static QPropertyAlias<@QtPrimitiveType Short>
fromProperty
(QShortProperty property) Creates a new alias to the provided property.final boolean
final boolean
isValid()
Checks if alias is valid.final QPropertyChangeHandler
setBinding
(QPropertyBinding<T> newBinding) final boolean
setBinding
(QUntypedPropertyBinding newBinding) setBinding
(QtUtilities.Supplier<T> functor) void
final QPropertyChangeHandler
value()
Methods inherited from class io.qt.core.QPropertyObserver
aliasedProperty
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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:
-
setValue
- See Also:
-
setBinding
- See Also:
-
setBinding
-
binding
- See Also:
-
takeBinding
- See Also:
-
setBinding
-
hasBinding
- See Also:
-
onValueChanged
- See Also:
-
addNotifier
- See Also:
-
subscribe
- See Also:
-
isValid
Checks if alias is valid.- Returns:
- valid
-