io.qt.datavis.Q3DLight Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-datavisualization Show documentation
Show all versions of qtjambi-datavisualization Show documentation
UI Components for creating stunning 3D data visualizations.
The newest version!
package io.qt.datavis;
import io.qt.*;
/**
* Representation of a light source in 3D space
* Java wrapper for Qt class Q3DLight
* @since This class was introduced in Qt QtDataVisualization 1.0.
*/
public class Q3DLight extends io.qt.datavis.Q3DObject
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(Q3DLight.class);
/**
* See Q3DLight:: autoPositionChanged(bool)
*/
@QtPropertyNotify(name="autoPosition")
public final @NonNull Signal1 autoPositionChanged = new Signal1<>();
/**
* See Q3DLight:: Q3DLight(QObject*)
* @param parent
*/
public Q3DLight(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(Q3DLight instance, io.qt.core.QObject parent);
/**
* See Q3DLight:: isAutoPosition()
* @return
*/
@QtPropertyReader(name="autoPosition")
@QtUninvokable
public final boolean isAutoPosition(){
return isAutoPosition_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isAutoPosition_native(long __this__nativeId);
/**
* See Q3DLight:: setAutoPosition(bool)
* @param enabled
*/
@QtPropertyWriter(name="autoPosition")
@QtUninvokable
public final void setAutoPosition(boolean enabled){
setAutoPosition_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@QtUninvokable
private native void setAutoPosition_native_bool(long __this__nativeId, boolean enabled);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Q3DLight(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected Q3DLight(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(Q3DLight instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #Q3DLight(io.qt.core.QObject)}
* with parent = null
.
*/
public Q3DLight() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isAutoPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getAutoPosition() {
return isAutoPosition();
}
}