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;
import io.qt.*;
/**
* 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 QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull 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:: QPointingDeviceUniqueId(QPointingDeviceUniqueId)
*/
public QPointingDeviceUniqueId(io.qt.gui.@NonNull QPointingDeviceUniqueId other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QPointingDeviceUniqueId instance, io.qt.gui.QPointingDeviceUniqueId other);
/**
* See QPointingDeviceUniqueId:: isValid()const
*/
@QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QPointingDeviceUniqueId:: numericId()const
*/
@QtPropertyReader(name="numericId")
@QtPropertyConstant
@QtUninvokable
public final long numericId(){
return numericId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long numericId_native_constfct(long __this__nativeId);
/**
* See operator==(QPointingDeviceUniqueId, QPointingDeviceUniqueId)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.@NonNull QPointingDeviceUniqueId rhs){
return equals_native_QPointingDeviceUniqueId(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_QPointingDeviceUniqueId(long __this__nativeId, long rhs);
/**
* See QPointingDeviceUniqueId:: fromNumericId(qint64)
*/
public native static io.qt.gui.@NonNull QPointingDeviceUniqueId fromNumericId(long id);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QPointingDeviceUniqueId(QPrivateConstructor p) { super(p); }
/**
* See operator==(QPointingDeviceUniqueId, QPointingDeviceUniqueId)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QPointingDeviceUniqueId) {
return equals((io.qt.gui.QPointingDeviceUniqueId) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QPointingDeviceUniqueId)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QPointingDeviceUniqueId:: QPointingDeviceUniqueId(QPointingDeviceUniqueId)
*/
@QtUninvokable
@Override
public QPointingDeviceUniqueId clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QPointingDeviceUniqueId clone_native(long __this_nativeId);
/**
* @hidden
* Kotlin property getter. In Java use {@link #numericId()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final long getNumericId() {
return numericId();
}
}