java.lang.Object
io.qt.QtObject
io.qt.core.QPropertyObserverBase
io.qt.core.QPropertyObserver
io.qt.core.QPropertyAlias<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Java wrapper for Qt class QPropertyAlias
Use this class to declare a property as alias for another one.
For primitive-typed implementations see:
-
Constructor Summary
ConstructorDescriptionQPropertyAlias
(QBindable<T> bindable) Creates a new alias to the provided binding's underlying property.QPropertyAlias
(QProperty<T> property) Creates a new alias to the provided property.QPropertyAlias
(QPropertyAlias<T> other) Creates a new alias to the provided alias.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. -
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 Short>
fromProperty
(QShortProperty 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.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.core.QPropertyObserverBase
clone
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
Creates a new alias to the provided binding's underlying property.- Parameters:
bindable
-
-
-
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
- See Also:
-
binding
- See Also:
-
takeBinding
- See Also:
-
setBinding
- See Also:
-
hasBinding
- See Also:
-
onValueChanged
- See Also:
-
addNotifier
- See Also:
-
subscribe
- See Also:
-
isValid
Checks if alias is valid.- Returns:
- valid
-