io.qt.datavis.QScatter3DSeries Maven / Gradle / Ivy
Show all versions of qtjambi-datavisualization Show documentation
package io.qt.datavis;
import io.qt.*;
/**
* Represents a data series in a 3D scatter graph
* Java wrapper for Qt class QScatter3DSeries
*/
public class QScatter3DSeries extends io.qt.datavis.QAbstract3DSeries
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QScatter3DSeries.class);
/**
* See QScatter3DSeries:: dataProxyChanged(QScatterDataProxy*)
*/
@QtPropertyNotify(name="dataProxy")
public final @NonNull Signal1 dataProxyChanged = new Signal1<>();
/**
* See QScatter3DSeries:: itemSizeChanged(float)
*/
@QtPropertyNotify(name="itemSize")
public final @NonNull Signal1 itemSizeChanged = new Signal1<>();
/**
* See QScatter3DSeries:: selectedItemChanged(int)
*/
@QtPropertyNotify(name="selectedItem")
public final @NonNull Signal1 selectedItemChanged = new Signal1<>();
/**
* See QScatter3DSeries:: QScatter3DSeries(QObject*)
* @param parent
*/
public QScatter3DSeries(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QScatter3DSeries instance, io.qt.core.QObject parent);
/**
* See QScatter3DSeries:: QScatter3DSeries(QScatterDataProxy*, QObject*)
* @param dataProxy
* @param parent
*/
public QScatter3DSeries(io.qt.datavis.@Nullable QScatterDataProxy dataProxy, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, dataProxy, parent);
}
private native static void initialize_native(QScatter3DSeries instance, io.qt.datavis.QScatterDataProxy dataProxy, io.qt.core.QObject parent);
/**
* See QScatter3DSeries:: dataProxy()const
* @return
*/
@QtPropertyReader(name="dataProxy")
@QtUninvokable
public final io.qt.datavis.@Nullable QScatterDataProxy dataProxy(){
return dataProxy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QScatterDataProxy dataProxy_native_constfct(long __this__nativeId);
/**
* See QScatter3DSeries:: itemSize()const
* @return
*/
@QtPropertyReader(name="itemSize")
@QtUninvokable
public final float itemSize(){
return itemSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float itemSize_native_constfct(long __this__nativeId);
/**
* See QScatter3DSeries:: selectedItem()const
* @return
*/
@QtPropertyReader(name="selectedItem")
@QtUninvokable
public final int selectedItem(){
return selectedItem_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int selectedItem_native_constfct(long __this__nativeId);
/**
* See QScatter3DSeries:: setDataProxy(QScatterDataProxy*)
* @param proxy
*/
@QtPropertyWriter(name="dataProxy")
@QtUninvokable
public final void setDataProxy(io.qt.datavis.@StrictNonNull QScatterDataProxy proxy){
if(proxy!=null){
if(proxy==dataProxy()){
throw new IllegalArgumentException("Proxy is already assigned to this series.");
}else if(proxy.series()!=null){
throw new IllegalArgumentException("Proxy is already assigned to another series.");
}
}
java.util.Objects.requireNonNull(proxy, "Argument 'proxy': null not expected.");
setDataProxy_native_QScatterDataProxy_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(proxy));
}
@QtUninvokable
private native void setDataProxy_native_QScatterDataProxy_ptr(long __this__nativeId, long proxy);
/**
* See QScatter3DSeries:: setItemSize(float)
* @param size
*/
@QtPropertyWriter(name="itemSize")
@QtUninvokable
public final void setItemSize(float size){
setItemSize_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void setItemSize_native_float(long __this__nativeId, float size);
/**
* See QScatter3DSeries:: setSelectedItem(int)
* @param index
*/
@QtPropertyWriter(name="selectedItem")
@QtUninvokable
public final void setSelectedItem(int index){
setSelectedItem_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native void setSelectedItem_native_int(long __this__nativeId, int index);
/**
* See QScatter3DSeries:: invalidSelectionIndex()
* @return
*/
public native static int invalidSelectionIndex();
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QScatter3DSeries(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QScatter3DSeries(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QScatter3DSeries instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QScatter3DSeries(io.qt.core.QObject)}
* with parent = null
.
*/
public QScatter3DSeries() {
this((io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QScatter3DSeries(io.qt.datavis.QScatterDataProxy, io.qt.core.QObject)}
* with parent = null
.
*/
public QScatter3DSeries(io.qt.datavis.@Nullable QScatterDataProxy dataProxy) {
this(dataProxy, (io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #dataProxy()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.@Nullable QScatterDataProxy getDataProxy() {
return dataProxy();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #itemSize()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getItemSize() {
return itemSize();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #selectedItem()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getSelectedItem() {
return selectedItem();
}
}