io.qt.datavis.QBar3DSeries 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 bar graph
* Java wrapper for Qt class QBar3DSeries
*/
public class QBar3DSeries 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(QBar3DSeries.class);
/**
* See QBar3DSeries:: dataProxyChanged(QBarDataProxy*)
*/
@QtPropertyNotify(name="dataProxy")
public final @NonNull Signal1 dataProxyChanged = new Signal1<>();
/**
* See QBar3DSeries:: meshAngleChanged(float)
*/
@QtPropertyNotify(name="meshAngle")
public final @NonNull Signal1 meshAngleChanged = new Signal1<>();
/**
* See QBar3DSeries:: rowColorsChanged(QList<QColor>)
*/
@QtPropertyNotify(name="rowColors")
public final @NonNull Signal1> rowColorsChanged = new Signal1<>();
/**
* See QBar3DSeries:: selectedBarChanged(QPoint)
*/
@QtPropertyNotify(name="selectedBar")
public final @NonNull Signal1 selectedBarChanged = new Signal1<>();
/**
* See QBar3DSeries:: QBar3DSeries(QBarDataProxy*, QObject*)
* @param dataProxy
* @param parent
*/
public QBar3DSeries(io.qt.datavis.@Nullable QBarDataProxy dataProxy, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, dataProxy, parent);
}
private native static void initialize_native(QBar3DSeries instance, io.qt.datavis.QBarDataProxy dataProxy, io.qt.core.QObject parent);
/**
* See QBar3DSeries:: QBar3DSeries(QObject*)
* @param parent
*/
public QBar3DSeries(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QBar3DSeries instance, io.qt.core.QObject parent);
/**
* See QBar3DSeries:: dataProxy()const
* @return
*/
@QtPropertyReader(name="dataProxy")
@QtUninvokable
public final io.qt.datavis.@Nullable QBarDataProxy dataProxy(){
return dataProxy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QBarDataProxy dataProxy_native_constfct(long __this__nativeId);
/**
* See QBar3DSeries:: meshAngle()const
* @return
*/
@QtPropertyReader(name="meshAngle")
@QtUninvokable
public final float meshAngle(){
return meshAngle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float meshAngle_native_constfct(long __this__nativeId);
/**
* See QBar3DSeries:: rowColors()const
* @return
*/
@QtPropertyReader(name="rowColors")
@QtUninvokable
public final io.qt.core.@NonNull QList rowColors(){
return rowColors_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList rowColors_native_constfct(long __this__nativeId);
/**
* See QBar3DSeries:: selectedBar()const
* @return
*/
@QtPropertyReader(name="selectedBar")
@QtUninvokable
public final io.qt.core.@NonNull QPoint selectedBar(){
return selectedBar_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint selectedBar_native_constfct(long __this__nativeId);
/**
* See QBar3DSeries:: setDataProxy(QBarDataProxy*)
* @param proxy
*/
@QtPropertyWriter(name="dataProxy")
@QtUninvokable
public final void setDataProxy(io.qt.datavis.@StrictNonNull QBarDataProxy 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_QBarDataProxy_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(proxy));
}
@QtUninvokable
private native void setDataProxy_native_QBarDataProxy_ptr(long __this__nativeId, long proxy);
/**
* See QBar3DSeries:: setMeshAngle(float)
* @param angle
*/
@QtPropertyWriter(name="meshAngle")
@QtUninvokable
public final void setMeshAngle(float angle){
setMeshAngle_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), angle);
}
@QtUninvokable
private native void setMeshAngle_native_float(long __this__nativeId, float angle);
/**
* See QBar3DSeries:: setRowColors(QList<QColor>)
* @param colors
*/
@QtPropertyWriter(name="rowColors")
@QtUninvokable
public final void setRowColors(java.util.@NonNull Collection extends io.qt.gui.@NonNull QColor> colors){
setRowColors_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), colors);
}
@QtUninvokable
private native void setRowColors_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.gui.QColor> colors);
/**
* See QBar3DSeries:: setSelectedBar(QPoint)
* @param position
*/
@QtPropertyWriter(name="selectedBar")
@QtUninvokable
public final void setSelectedBar(io.qt.core.@NonNull QPoint position){
setSelectedBar_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position));
}
@QtUninvokable
private native void setSelectedBar_native_cref_QPoint(long __this__nativeId, long position);
/**
* See QBar3DSeries:: invalidSelectionPosition()
* @return
*/
public native static io.qt.core.@NonNull QPoint invalidSelectionPosition();
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QBar3DSeries(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QBar3DSeries(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QBar3DSeries instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QBar3DSeries(io.qt.datavis.QBarDataProxy, io.qt.core.QObject)}
* with parent = null
.
*/
public QBar3DSeries(io.qt.datavis.@Nullable QBarDataProxy dataProxy) {
this(dataProxy, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QBar3DSeries(io.qt.core.QObject)}
* with parent = null
.
*/
public QBar3DSeries() {
this((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 QBarDataProxy getDataProxy() {
return dataProxy();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #meshAngle()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getMeshAngle() {
return meshAngle();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #rowColors()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QList getRowColors() {
return rowColors();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #selectedBar()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPoint getSelectedBar() {
return selectedBar();
}
}