io.qt.datavis.Q3DBars Maven / Gradle / Ivy
Show all versions of qtjambi-datavisualization Show documentation
package io.qt.datavis;
import io.qt.*;
/**
* Methods for rendering 3D bar graphs
* Java wrapper for Qt class Q3DBars
* @since This class was introduced in Qt QtDataVisualization 1.0.
*/
public class Q3DBars extends io.qt.datavis.QAbstract3DGraph
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(Q3DBars.class);
/**
* See Q3DBars:: barSeriesMarginChanged(QSizeF)
*/
@QtPropertyNotify(name="barSeriesMargin")
public final @NonNull Signal1 barSeriesMarginChanged = new Signal1<>();
/**
* See Q3DBars:: barSpacingChanged(QSizeF)
*/
@QtPropertyNotify(name="barSpacing")
public final @NonNull Signal1 barSpacingChanged = new Signal1<>();
/**
* See Q3DBars:: barSpacingRelativeChanged(bool)
*/
@QtPropertyNotify(name="barSpacingRelative")
public final @NonNull Signal1 barSpacingRelativeChanged = new Signal1<>();
/**
* See Q3DBars:: barThicknessChanged(float)
*/
@QtPropertyNotify(name="barThickness")
public final @NonNull Signal1 barThicknessChanged = new Signal1<>();
/**
* See Q3DBars:: columnAxisChanged(QCategory3DAxis*)
*/
@QtPropertyNotify(name="columnAxis")
public final @NonNull Signal1 columnAxisChanged = new Signal1<>();
/**
* See Q3DBars:: floorLevelChanged(float)
*/
@QtPropertyNotify(name="floorLevel")
public final @NonNull Signal1 floorLevelChanged = new Signal1<>();
/**
* See Q3DBars:: multiSeriesUniformChanged(bool)
*/
@QtPropertyNotify(name="multiSeriesUniform")
public final @NonNull Signal1 multiSeriesUniformChanged = new Signal1<>();
/**
* See Q3DBars:: primarySeriesChanged(QBar3DSeries*)
*/
@QtPropertyNotify(name="primarySeries")
public final @NonNull Signal1 primarySeriesChanged = new Signal1<>();
/**
* See Q3DBars:: rowAxisChanged(QCategory3DAxis*)
*/
@QtPropertyNotify(name="rowAxis")
public final @NonNull Signal1 rowAxisChanged = new Signal1<>();
/**
* See Q3DBars:: selectedSeriesChanged(QBar3DSeries*)
*/
@QtPropertyNotify(name="selectedSeries")
public final @NonNull Signal1 selectedSeriesChanged = new Signal1<>();
/**
* See Q3DBars:: valueAxisChanged(QValue3DAxis*)
*/
@QtPropertyNotify(name="valueAxis")
public final @NonNull Signal1 valueAxisChanged = new Signal1<>();
/**
* See Q3DBars:: Q3DBars(const QSurfaceFormat*, QWindow*)
* @param format
* @param parent
*/
public Q3DBars(io.qt.gui.@Nullable QSurfaceFormat format, io.qt.gui.@Nullable QWindow parent){
super((QPrivateConstructor)null);
initialize_native(this, format, parent);
}
private native static void initialize_native(Q3DBars instance, io.qt.gui.QSurfaceFormat format, io.qt.gui.QWindow parent);
/**
* See Q3DBars:: addAxis(QAbstract3DAxis*)
* @param axis
*/
@QtUninvokable
public final void addAxis(io.qt.datavis.@Nullable QAbstract3DAxis axis){
addAxis_native_QAbstract3DAxis_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(axis));
}
@QtUninvokable
private native void addAxis_native_QAbstract3DAxis_ptr(long __this__nativeId, long axis);
/**
* See Q3DBars:: addSeries(QBar3DSeries*)
* @param series
*/
@QtUninvokable
public final void addSeries(io.qt.datavis.@Nullable QBar3DSeries series){
addSeries_native_QBar3DSeries_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(series));
}
@QtUninvokable
private native void addSeries_native_QBar3DSeries_ptr(long __this__nativeId, long series);
/**
*
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QList axes(){
return axes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList axes_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: barSeriesMargin()const
* @return
*/
@QtPropertyReader(name="barSeriesMargin")
@QtUninvokable
public final io.qt.core.@NonNull QSizeF barSeriesMargin(){
return barSeriesMargin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSizeF barSeriesMargin_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: barSpacing()const
* @return
*/
@QtPropertyReader(name="barSpacing")
@QtUninvokable
public final io.qt.core.@NonNull QSizeF barSpacing(){
return barSpacing_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSizeF barSpacing_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: barThickness()const
* @return
*/
@QtPropertyReader(name="barThickness")
@QtUninvokable
public final float barThickness(){
return barThickness_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float barThickness_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: columnAxis()const
* @return
*/
@QtPropertyReader(name="columnAxis")
@QtUninvokable
public final io.qt.datavis.@Nullable QCategory3DAxis columnAxis(){
return columnAxis_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QCategory3DAxis columnAxis_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: floorLevel()const
* @return
*/
@QtPropertyReader(name="floorLevel")
@QtUninvokable
public final float floorLevel(){
return floorLevel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float floorLevel_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: insertSeries(int, QBar3DSeries*)
* @param index
* @param series
*/
@QtUninvokable
public final void insertSeries(int index, io.qt.datavis.@Nullable QBar3DSeries series){
insertSeries_native_int_QBar3DSeries_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(series));
}
@QtUninvokable
private native void insertSeries_native_int_QBar3DSeries_ptr(long __this__nativeId, int index, long series);
/**
* See Q3DBars:: isBarSpacingRelative()const
* @return
*/
@QtPropertyReader(name="barSpacingRelative")
@QtUninvokable
public final boolean isBarSpacingRelative(){
return isBarSpacingRelative_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isBarSpacingRelative_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: isMultiSeriesUniform()const
* @return
*/
@QtPropertyReader(name="multiSeriesUniform")
@QtUninvokable
public final boolean isMultiSeriesUniform(){
return isMultiSeriesUniform_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isMultiSeriesUniform_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: primarySeries()const
* @return
*/
@QtPropertyReader(name="primarySeries")
@QtUninvokable
public final io.qt.datavis.@Nullable QBar3DSeries primarySeries(){
return primarySeries_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QBar3DSeries primarySeries_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: releaseAxis(QAbstract3DAxis*)
* @param axis
*/
@QtUninvokable
public final void releaseAxis(io.qt.datavis.@Nullable QAbstract3DAxis axis){
releaseAxis_native_QAbstract3DAxis_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(axis));
}
@QtUninvokable
private native void releaseAxis_native_QAbstract3DAxis_ptr(long __this__nativeId, long axis);
/**
* See Q3DBars:: removeSeries(QBar3DSeries*)
* @param series
*/
@QtUninvokable
public final void removeSeries(io.qt.datavis.@Nullable QBar3DSeries series){
removeSeries_native_QBar3DSeries_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(series));
}
@QtUninvokable
private native void removeSeries_native_QBar3DSeries_ptr(long __this__nativeId, long series);
/**
*
* @return
*/
@QtPropertyReader(name="rowAxis")
@QtUninvokable
public final io.qt.datavis.@Nullable QCategory3DAxis rowAxis(){
return rowAxis_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QCategory3DAxis rowAxis_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: selectedSeries()const
* @return
*/
@QtPropertyReader(name="selectedSeries")
@QtUninvokable
public final io.qt.datavis.@Nullable QBar3DSeries selectedSeries(){
return selectedSeries_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QBar3DSeries selectedSeries_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: seriesList()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QList seriesList(){
return seriesList_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList seriesList_native_constfct(long __this__nativeId);
/**
* See Q3DBars:: setBarSeriesMargin(QSizeF)
* @param margin
*/
@QtPropertyWriter(name="barSeriesMargin")
@QtUninvokable
public final void setBarSeriesMargin(io.qt.core.@NonNull QSizeF margin){
setBarSeriesMargin_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margin));
}
@QtUninvokable
private native void setBarSeriesMargin_native_cref_QSizeF(long __this__nativeId, long margin);
/**
* See Q3DBars:: setBarSpacing(QSizeF)
* @param spacing
*/
@QtPropertyWriter(name="barSpacing")
@QtUninvokable
public final void setBarSpacing(io.qt.core.@NonNull QSizeF spacing){
setBarSpacing_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(spacing));
}
@QtUninvokable
private native void setBarSpacing_native_cref_QSizeF(long __this__nativeId, long spacing);
/**
* See Q3DBars:: setBarSpacingRelative(bool)
* @param relative
*/
@QtPropertyWriter(name="barSpacingRelative")
@QtUninvokable
public final void setBarSpacingRelative(boolean relative){
setBarSpacingRelative_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), relative);
}
@QtUninvokable
private native void setBarSpacingRelative_native_bool(long __this__nativeId, boolean relative);
/**
* See Q3DBars:: setBarThickness(float)
* @param thicknessRatio
*/
@QtPropertyWriter(name="barThickness")
@QtUninvokable
public final void setBarThickness(float thicknessRatio){
setBarThickness_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), thicknessRatio);
}
@QtUninvokable
private native void setBarThickness_native_float(long __this__nativeId, float thicknessRatio);
/**
* See Q3DBars:: setColumnAxis(QCategory3DAxis*)
* @param axis
*/
@QtPropertyWriter(name="columnAxis")
@QtUninvokable
public final void setColumnAxis(io.qt.datavis.@Nullable QCategory3DAxis axis){
setColumnAxis_native_QCategory3DAxis_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(axis));
}
@QtUninvokable
private native void setColumnAxis_native_QCategory3DAxis_ptr(long __this__nativeId, long axis);
/**
* See Q3DBars:: setFloorLevel(float)
* @param level
*/
@QtPropertyWriter(name="floorLevel")
@QtUninvokable
public final void setFloorLevel(float level){
setFloorLevel_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), level);
}
@QtUninvokable
private native void setFloorLevel_native_float(long __this__nativeId, float level);
/**
* See Q3DBars:: setMultiSeriesUniform(bool)
* @param uniform
*/
@QtPropertyWriter(name="multiSeriesUniform")
@QtUninvokable
public final void setMultiSeriesUniform(boolean uniform){
setMultiSeriesUniform_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), uniform);
}
@QtUninvokable
private native void setMultiSeriesUniform_native_bool(long __this__nativeId, boolean uniform);
/**
* See Q3DBars:: setPrimarySeries(QBar3DSeries*)
* @param series
*/
@QtPropertyWriter(name="primarySeries")
@QtUninvokable
public final void setPrimarySeries(io.qt.datavis.@Nullable QBar3DSeries series){
setPrimarySeries_native_QBar3DSeries_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(series));
}
@QtUninvokable
private native void setPrimarySeries_native_QBar3DSeries_ptr(long __this__nativeId, long series);
/**
* See Q3DBars:: setRowAxis(QCategory3DAxis*)
* @param axis
*/
@QtPropertyWriter(name="rowAxis")
@QtUninvokable
public final void setRowAxis(io.qt.datavis.@Nullable QCategory3DAxis axis){
setRowAxis_native_QCategory3DAxis_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(axis));
}
@QtUninvokable
private native void setRowAxis_native_QCategory3DAxis_ptr(long __this__nativeId, long axis);
/**
* See Q3DBars:: setValueAxis(QValue3DAxis*)
* @param axis
*/
@QtPropertyWriter(name="valueAxis")
@QtUninvokable
public final void setValueAxis(io.qt.datavis.@Nullable QValue3DAxis axis){
setValueAxis_native_QValue3DAxis_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(axis));
}
@QtUninvokable
private native void setValueAxis_native_QValue3DAxis_ptr(long __this__nativeId, long axis);
/**
*
* @return
*/
@QtPropertyReader(name="valueAxis")
@QtUninvokable
public final io.qt.datavis.@Nullable QValue3DAxis valueAxis(){
return valueAxis_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QValue3DAxis valueAxis_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Q3DBars(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected Q3DBars(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(Q3DBars instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #Q3DBars(io.qt.gui.QSurfaceFormat, io.qt.gui.QWindow)}
* with parent = null
.
*/
public Q3DBars(io.qt.gui.@Nullable QSurfaceFormat format) {
this(format, (io.qt.gui.QWindow)null);
}
/**
* Overloaded constructor for {@link #Q3DBars(io.qt.gui.QSurfaceFormat, io.qt.gui.QWindow)}
* with:
* format = null
* parent = null
*
*/
public Q3DBars() {
this((io.qt.gui.QSurfaceFormat)null, (io.qt.gui.QWindow)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #barSeriesMargin()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSizeF getBarSeriesMargin() {
return barSeriesMargin();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #barSpacing()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSizeF getBarSpacing() {
return barSpacing();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #barThickness()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getBarThickness() {
return barThickness();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #columnAxis()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.@Nullable QCategory3DAxis getColumnAxis() {
return columnAxis();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #floorLevel()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getFloorLevel() {
return floorLevel();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isBarSpacingRelative()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getBarSpacingRelative() {
return isBarSpacingRelative();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isMultiSeriesUniform()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getMultiSeriesUniform() {
return isMultiSeriesUniform();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #primarySeries()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.@Nullable QBar3DSeries getPrimarySeries() {
return primarySeries();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #rowAxis()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.@Nullable QCategory3DAxis getRowAxis() {
return rowAxis();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #selectedSeries()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.@Nullable QBar3DSeries getSelectedSeries() {
return selectedSeries();
}
/**
* Overloaded function for {@link #setBarSeriesMargin(io.qt.core.QSizeF)}.
*/
@QtUninvokable
public final void setBarSeriesMargin(io.qt.core.@NonNull QSize margin) {
setBarSeriesMargin(new io.qt.core.QSizeF(margin));
}
/**
* Overloaded function for {@link #setBarSpacing(io.qt.core.QSizeF)}.
*/
@QtUninvokable
public final void setBarSpacing(io.qt.core.@NonNull QSize spacing) {
setBarSpacing(new io.qt.core.QSizeF(spacing));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #valueAxis()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.@Nullable QValue3DAxis getValueAxis() {
return valueAxis();
}
}