
io.qt.gui.QPointingDeviceUniqueId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
/**
* Identifies a unique object, such as a tagged token or stylus, which is used with a pointing device
* Java wrapper for Qt class QPointingDeviceUniqueId
*/
public class QPointingDeviceUniqueId extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QPointingDeviceUniqueId.class);
/**
* See QPointingDeviceUniqueId::QPointingDeviceUniqueId()
*/
public QPointingDeviceUniqueId(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QPointingDeviceUniqueId instance);
/**
* See QPointingDeviceUniqueId::isValid()const
*/
@io.qt.QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QPointingDeviceUniqueId::numericId()const
*/
@io.qt.QtPropertyReader(name="numericId")
@io.qt.QtPropertyConstant
@io.qt.QtUninvokable
public final long numericId(){
return numericId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native long numericId_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.gui.QPointingDeviceUniqueId rhs){
return operator_equal_native_QPointingDeviceUniqueId(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_QPointingDeviceUniqueId(long __this__nativeId, long rhs);
/**
* See QPointingDeviceUniqueId::fromNumericId(qint64)
*/
public native static io.qt.gui.QPointingDeviceUniqueId fromNumericId(long id);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QPointingDeviceUniqueId(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QPointingDeviceUniqueId) {
return operator_equal((io.qt.gui.QPointingDeviceUniqueId) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
public QPointingDeviceUniqueId clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QPointingDeviceUniqueId clone_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy