java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QUntypedPropertyBinding
io.qt.core.QPropertyBinding<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Java wrapper for Qt class QPropertyBinding
For primitive-typed implementations see:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionCreates 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<? extends T> f) Creates a newQPropertyBinding
with the given functorf
. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.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.Methods inherited from class io.qt.core.QUntypedPropertyBinding
clone, error, isNull, valueMetaType
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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:
-
-
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
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
-