java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QUntypedPropertyBinding
io.qt.core.QPropertyBinding<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public final class QPropertyBinding<T> extends QUntypedPropertyBinding
Java wrapper for Qt class QPropertyBinding
For primitive-typed implementations see:
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description QPropertyBinding()
Creates anull
-QPropertyBinding
.QPropertyBinding(QObject.QComputedProperty<T> property)
Creates a newQPropertyBinding
as copy of the property's available binding.QPropertyBinding(QObject.QProperty<T> property)
Creates a newQPropertyBinding
as copy of the property's available binding.QPropertyBinding(QProperty<T> property)
Creates a newQPropertyBinding
as copy of the property's available binding.QPropertyBinding(QPropertyBinding<T> other)
Creates a new genericQPropertyBinding
as copy of the given binding.QPropertyBinding(QtUtilities.Supplier<T> f)
Creates a newQPropertyBinding
with the given functorf
. -
Method Summary
Modifier and Type Method Description static QPropertyBinding<@QtPrimitiveType Boolean>
fromBinding(QBooleanPropertyBinding binding)
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.static QPropertyBinding<@QtPrimitiveType Byte>
fromBinding(QBytePropertyBinding binding)
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.static QPropertyBinding<@QtPrimitiveType Character>
fromBinding(QCharPropertyBinding binding)
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.static QPropertyBinding<@QtPrimitiveType Double>
fromBinding(QDoublePropertyBinding binding)
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.static QPropertyBinding<@QtPrimitiveType Float>
fromBinding(QFloatPropertyBinding binding)
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.static QPropertyBinding<@QtPrimitiveType Integer>
fromBinding(QIntPropertyBinding binding)
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.static QPropertyBinding<@QtPrimitiveType Long>
fromBinding(QLongPropertyBinding binding)
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.static QPropertyBinding<@QtPrimitiveType Short>
fromBinding(QShortPropertyBinding binding)
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.
-
Constructor Details
-
QPropertyBinding
Creates a newQPropertyBinding
with the given functorf
.- Parameters:
t
-
-
QPropertyBinding
Creates a newQPropertyBinding
as copy of the property's available binding.- Parameters:
property
-
-
QPropertyBinding
Creates a newQPropertyBinding
as copy of the property's available binding.- Parameters:
property
-
-
QPropertyBinding
Creates a newQPropertyBinding
as copy of the property's available binding.- Parameters:
property
-
-
QPropertyBinding
Creates a new genericQPropertyBinding
as copy of the given binding.- Parameters:
binding
-
-
QPropertyBinding
public QPropertyBinding()Creates anull
-QPropertyBinding
.- Parameters:
binding
-- See Also:
QUntypedPropertyBinding.isNull()
-
-
Method Details
-
fromBinding
public static QPropertyBinding<@QtPrimitiveType Boolean> fromBinding(QBooleanPropertyBinding binding)Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.- Parameters:
binding
-- Returns:
- binding copy
-
fromBinding
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.- Parameters:
binding
-- Returns:
- binding copy
-
fromBinding
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.- Parameters:
binding
-- Returns:
- binding copy
-
fromBinding
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.- Parameters:
binding
-- Returns:
- binding copy
-
fromBinding
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.- Parameters:
binding
-- Returns:
- binding copy
-
fromBinding
Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.- Parameters:
binding
-- Returns:
- binding copy
-
fromBinding
public static QPropertyBinding<@QtPrimitiveType Double> fromBinding(QDoublePropertyBinding binding)Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.- Parameters:
binding
-- Returns:
- binding copy
-
fromBinding
public static QPropertyBinding<@QtPrimitiveType Character> fromBinding(QCharPropertyBinding binding)Creates a new genericQPropertyBinding
as copy of the given primitive-typed binding.- Parameters:
binding
-- Returns:
- binding copy
-