io.qt.sensors.QOutputRange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-sensors Show documentation
Show all versions of qtjambi-sensors Show documentation
Provides access to sensor hardware and motion gesture recognition.
package io.qt.sensors;
import io.qt.*;
/**
* Holds the specifics of an output range
* Java wrapper for Qt class qoutputrange
*/
public class QOutputRange extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See qoutputrange:: qoutputrange()
*/
public QOutputRange(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QOutputRange instance);
/**
* See qoutputrange:: qoutputrange(qoutputrange)
*/
public QOutputRange(io.qt.sensors.@NonNull QOutputRange other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QOutputRange instance, io.qt.sensors.QOutputRange other);
/**
* See qoutputrange:: qoutputrange{qreal, qreal, qreal}
*/
public QOutputRange(double minimum, double maximum, double accuracy){
super((QPrivateConstructor)null);
initialize_native(this, minimum, maximum, accuracy);
}
private native static void initialize_native(QOutputRange instance, double minimum, double maximum, double accuracy);
/**
*
*/
@QtUninvokable
public final void setAccuracy(double accuracy){
setAccuracy_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), accuracy);
}
@QtUninvokable
private native void setAccuracy_native_qreal(long __this__nativeId, double accuracy);
/**
*
*/
@QtUninvokable
public final double accuracy(){
return accuracy_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double accuracy_native(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void setMaximum(double maximum){
setMaximum_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), maximum);
}
@QtUninvokable
private native void setMaximum_native_qreal(long __this__nativeId, double maximum);
/**
*
*/
@QtUninvokable
public final double maximum(){
return maximum_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double maximum_native(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void setMinimum(double minimum){
setMinimum_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), minimum);
}
@QtUninvokable
private native void setMinimum_native_qreal(long __this__nativeId, double minimum);
/**
*
*/
@QtUninvokable
public final double minimum(){
return minimum_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double minimum_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QOutputRange(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See qoutputrange:: qoutputrange(qoutputrange)
*/
@QtUninvokable
@Override
public QOutputRange clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QOutputRange clone_native(long __this_nativeId);
/**
* @hidden
* Kotlin property getter. In Java use {@link #accuracy()} instead.
*/
@QtUninvokable
public final double getAccuracy() {
return accuracy();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #maximum()} instead.
*/
@QtUninvokable
public final double getMaximum() {
return maximum();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #minimum()} instead.
*/
@QtUninvokable
public final double getMinimum() {
return minimum();
}
}