io.qt.datavis.QBarDataProxy Maven / Gradle / Ivy
Show all versions of qtjambi-datavisualization Show documentation
package io.qt.datavis;
import io.qt.*;
/**
* The data proxy for a 3D bars graph
* Java wrapper for Qt class QBarDataProxy
*/
public class QBarDataProxy extends io.qt.datavis.QAbstractDataProxy
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QBarDataProxy.class);
/**
* See QBarDataProxy:: arrayReset()
*/
public final @NonNull Signal0 arrayReset = new Signal0();
/**
* See QBarDataProxy:: columnLabelsChanged()
*/
@QtPropertyNotify(name="columnLabels")
public final @NonNull Signal0 columnLabelsChanged = new Signal0();
/**
* See QBarDataProxy:: itemChanged(int, int)
*/
public final @NonNull Signal2 itemChanged = new Signal2<>();
/**
* See QBarDataProxy:: rowCountChanged(int)
*/
@QtPropertyNotify(name="rowCount")
public final @NonNull Signal1 rowCountChanged = new Signal1<>();
/**
* See QBarDataProxy:: rowLabelsChanged()
*/
@QtPropertyNotify(name="rowLabels")
public final @NonNull Signal0 rowLabelsChanged = new Signal0();
/**
* See QBarDataProxy:: rowsAdded(int, int)
*/
public final @NonNull Signal2 rowsAdded = new Signal2<>();
/**
* See QBarDataProxy:: rowsChanged(int, int)
*/
public final @NonNull Signal2 rowsChanged = new Signal2<>();
/**
* See QBarDataProxy:: rowsInserted(int, int)
*/
public final @NonNull Signal2 rowsInserted = new Signal2<>();
/**
* See QBarDataProxy:: rowsRemoved(int, int)
*/
public final @NonNull Signal2 rowsRemoved = new Signal2<>();
/**
* See QBarDataProxy:: seriesChanged(QBar3DSeries*)
*/
@QtPropertyNotify(name="series")
public final @NonNull Signal1 seriesChanged = new Signal1<>();
/**
* See QBarDataProxy:: QBarDataProxy(QObject*)
* @param parent
*/
public QBarDataProxy(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QBarDataProxy instance, io.qt.core.QObject parent);
/**
* See QBarDataProxy:: addRow(QBarDataRow*)
* @param row
* @return
*/
@QtUninvokable
public final int addRow(io.qt.datavis.@Nullable QBarDataRow row){
return addRow_native_QBarDataRow_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(row));
}
@QtUninvokable
private native int addRow_native_QBarDataRow_ptr(long __this__nativeId, long row);
/**
* See QBarDataProxy:: addRow(QBarDataRow*, QString)
* @param row
* @param label
* @return
*/
@QtUninvokable
public final int addRow(io.qt.datavis.@Nullable QBarDataRow row, java.lang.@NonNull String label){
return addRow_native_QBarDataRow_ptr_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(row), label);
}
@QtUninvokable
private native int addRow_native_QBarDataRow_ptr_cref_QString(long __this__nativeId, long row, java.lang.String label);
/**
* See QBarDataProxy:: addRows(QBarDataArray)
* @param rows
* @return
*/
@QtUninvokable
public final int addRows(io.qt.datavis.@NonNull QBarDataArray rows){
return addRows_native_cref_QBarDataArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rows));
}
@QtUninvokable
private native int addRows_native_cref_QBarDataArray(long __this__nativeId, long rows);
/**
* See QBarDataProxy:: addRows(QBarDataArray, QStringList)
* @param rows
* @param labels
* @return
*/
@QtUninvokable
public final int addRows(io.qt.datavis.@NonNull QBarDataArray rows, java.util.@NonNull Collection labels){
return addRows_native_cref_QBarDataArray_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rows), labels);
}
@QtUninvokable
private native int addRows_native_cref_QBarDataArray_cref_QStringList(long __this__nativeId, long rows, java.util.Collection labels);
/**
* See QBarDataProxy:: array()const
* @return
*/
@QtUninvokable
public final io.qt.datavis.@Nullable QBarDataArray array(){
return array_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QBarDataArray array_native_constfct(long __this__nativeId);
/**
* See QBarDataProxy:: columnLabels()const
* @return
*/
@QtPropertyReader(name="columnLabels")
@QtUninvokable
public final io.qt.core.@NonNull QStringList columnLabels(){
return columnLabels_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList columnLabels_native_constfct(long __this__nativeId);
/**
* See QBarDataProxy:: insertRow(int, QBarDataRow*)
* @param rowIndex
* @param row
*/
@QtUninvokable
public final void insertRow(int rowIndex, io.qt.datavis.@Nullable QBarDataRow row){
insertRow_native_int_QBarDataRow_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, QtJambi_LibraryUtilities.internal.checkedNativeId(row));
}
@QtUninvokable
private native void insertRow_native_int_QBarDataRow_ptr(long __this__nativeId, int rowIndex, long row);
/**
* See QBarDataProxy:: insertRow(int, QBarDataRow*, QString)
* @param rowIndex
* @param row
* @param label
*/
@QtUninvokable
public final void insertRow(int rowIndex, io.qt.datavis.@Nullable QBarDataRow row, java.lang.@NonNull String label){
insertRow_native_int_QBarDataRow_ptr_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, QtJambi_LibraryUtilities.internal.checkedNativeId(row), label);
}
@QtUninvokable
private native void insertRow_native_int_QBarDataRow_ptr_cref_QString(long __this__nativeId, int rowIndex, long row, java.lang.String label);
/**
* See QBarDataProxy:: insertRows(int, QBarDataArray)
* @param rowIndex
* @param rows
*/
@QtUninvokable
public final void insertRows(int rowIndex, io.qt.datavis.@NonNull QBarDataArray rows){
insertRows_native_int_cref_QBarDataArray(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, QtJambi_LibraryUtilities.internal.checkedNativeId(rows));
}
@QtUninvokable
private native void insertRows_native_int_cref_QBarDataArray(long __this__nativeId, int rowIndex, long rows);
/**
* See QBarDataProxy:: insertRows(int, QBarDataArray, QStringList)
* @param rowIndex
* @param rows
* @param labels
*/
@QtUninvokable
public final void insertRows(int rowIndex, io.qt.datavis.@NonNull QBarDataArray rows, java.util.@NonNull Collection labels){
insertRows_native_int_cref_QBarDataArray_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, QtJambi_LibraryUtilities.internal.checkedNativeId(rows), labels);
}
@QtUninvokable
private native void insertRows_native_int_cref_QBarDataArray_cref_QStringList(long __this__nativeId, int rowIndex, long rows, java.util.Collection labels);
/**
* See QBarDataProxy:: itemAt(QPoint)const
* @param position
* @return
*/
@QtUninvokable
public final io.qt.datavis.@Nullable QBarDataItem itemAt(io.qt.core.@NonNull QPoint position){
return itemAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position));
}
@QtUninvokable
private native io.qt.datavis.QBarDataItem itemAt_native_cref_QPoint_constfct(long __this__nativeId, long position);
/**
* See QBarDataProxy:: itemAt(int, int)const
* @param rowIndex
* @param columnIndex
* @return
*/
@QtUninvokable
public final io.qt.datavis.@Nullable QBarDataItem itemAt(int rowIndex, int columnIndex){
return itemAt_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, columnIndex);
}
@QtUninvokable
private native io.qt.datavis.QBarDataItem itemAt_native_int_int_constfct(long __this__nativeId, int rowIndex, int columnIndex);
/**
* See QBarDataProxy:: removeRows(int, int, bool)
* @param rowIndex
* @param removeCount
* @param removeLabels
*/
@QtUninvokable
public final void removeRows(int rowIndex, int removeCount, boolean removeLabels){
removeRows_native_int_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, removeCount, removeLabels);
}
@QtUninvokable
private native void removeRows_native_int_int_bool(long __this__nativeId, int rowIndex, int removeCount, boolean removeLabels);
/**
* See QBarDataProxy:: resetArray()
*/
@QtUninvokable
public final void resetArray(){
resetArray_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void resetArray_native(long __this__nativeId);
/**
* See QBarDataProxy:: resetArray(QBarDataArray*)
* @param newArray
*/
@QtUninvokable
public final void resetArray(io.qt.datavis.@Nullable QBarDataArray newArray){
QtJambi_LibraryUtilities.internal.invalidateObject(__rcArray);
resetArray_native_QBarDataArray_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newArray));
QtJambi_LibraryUtilities.internal.setCppOwnership(newArray);
__rcArray = newArray;
QtJambi_LibraryUtilities.internal.registerDependentObject(__rcArray, this);
}
@QtUninvokable
private native void resetArray_native_QBarDataArray_ptr(long __this__nativeId, long newArray);
/**
* See QBarDataProxy:: resetArray(QBarDataArray*, QStringList, QStringList)
* @param newArray
* @param rowLabels
* @param columnLabels
*/
@QtUninvokable
public final void resetArray(io.qt.datavis.@Nullable QBarDataArray newArray, java.util.@NonNull Collection rowLabels, java.util.@NonNull Collection columnLabels){
QtJambi_LibraryUtilities.internal.invalidateObject(__rcArray);
resetArray_native_QBarDataArray_ptr_cref_QStringList_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newArray), rowLabels, columnLabels);
QtJambi_LibraryUtilities.internal.setCppOwnership(newArray);
__rcArray = newArray;
QtJambi_LibraryUtilities.internal.registerDependentObject(__rcArray, this);
}
@QtUninvokable
private native void resetArray_native_QBarDataArray_ptr_cref_QStringList_cref_QStringList(long __this__nativeId, long newArray, java.util.Collection rowLabels, java.util.Collection columnLabels);
/**
* See QBarDataProxy:: rowAt(int)const
* @param rowIndex
* @return
*/
@QtUninvokable
public final io.qt.datavis.@Nullable QBarDataRow rowAt(int rowIndex){
return rowAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex);
}
@QtUninvokable
private native io.qt.datavis.QBarDataRow rowAt_native_int_constfct(long __this__nativeId, int rowIndex);
/**
* See QBarDataProxy:: rowCount()const
* @return
*/
@QtPropertyReader(name="rowCount")
@QtUninvokable
public final int rowCount(){
return rowCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int rowCount_native_constfct(long __this__nativeId);
/**
* See QBarDataProxy:: rowLabels()const
* @return
*/
@QtPropertyReader(name="rowLabels")
@QtUninvokable
public final io.qt.core.@NonNull QStringList rowLabels(){
return rowLabels_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList rowLabels_native_constfct(long __this__nativeId);
/**
* See QBarDataProxy:: series()const
* @return
*/
@QtPropertyReader(name="series")
@QtUninvokable
public final io.qt.datavis.@Nullable QBar3DSeries series(){
return series_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QBar3DSeries series_native_constfct(long __this__nativeId);
/**
* See QBarDataProxy:: setColumnLabels(QStringList)
* @param labels
*/
@QtPropertyWriter(name="columnLabels")
@QtUninvokable
public final void setColumnLabels(java.util.@NonNull Collection labels){
setColumnLabels_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), labels);
}
@QtUninvokable
private native void setColumnLabels_native_cref_QStringList(long __this__nativeId, java.util.Collection labels);
/**
* See QBarDataProxy:: setItem(QPoint, QBarDataItem)
* @param position
* @param item
*/
@QtUninvokable
public final void setItem(io.qt.core.@NonNull QPoint position, io.qt.datavis.@NonNull QBarDataItem item){
setItem_native_cref_QPoint_cref_QBarDataItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position), QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native void setItem_native_cref_QPoint_cref_QBarDataItem(long __this__nativeId, long position, long item);
/**
* See QBarDataProxy:: setItem(int, int, QBarDataItem)
* @param rowIndex
* @param columnIndex
* @param item
*/
@QtUninvokable
public final void setItem(int rowIndex, int columnIndex, io.qt.datavis.@NonNull QBarDataItem item){
setItem_native_int_int_cref_QBarDataItem(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, columnIndex, QtJambi_LibraryUtilities.internal.checkedNativeId(item));
}
@QtUninvokable
private native void setItem_native_int_int_cref_QBarDataItem(long __this__nativeId, int rowIndex, int columnIndex, long item);
/**
* See QBarDataProxy:: setRow(int, QBarDataRow*)
* @param rowIndex
* @param row
*/
@QtUninvokable
public final void setRow(int rowIndex, io.qt.datavis.@Nullable QBarDataRow row){
setRow_native_int_QBarDataRow_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, QtJambi_LibraryUtilities.internal.checkedNativeId(row));
}
@QtUninvokable
private native void setRow_native_int_QBarDataRow_ptr(long __this__nativeId, int rowIndex, long row);
/**
* See QBarDataProxy:: setRow(int, QBarDataRow*, QString)
* @param rowIndex
* @param row
* @param label
*/
@QtUninvokable
public final void setRow(int rowIndex, io.qt.datavis.@Nullable QBarDataRow row, java.lang.@NonNull String label){
setRow_native_int_QBarDataRow_ptr_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, QtJambi_LibraryUtilities.internal.checkedNativeId(row), label);
}
@QtUninvokable
private native void setRow_native_int_QBarDataRow_ptr_cref_QString(long __this__nativeId, int rowIndex, long row, java.lang.String label);
/**
* See QBarDataProxy:: setRowLabels(QStringList)
* @param labels
*/
@QtPropertyWriter(name="rowLabels")
@QtUninvokable
public final void setRowLabels(java.util.@NonNull Collection labels){
setRowLabels_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), labels);
}
@QtUninvokable
private native void setRowLabels_native_cref_QStringList(long __this__nativeId, java.util.Collection labels);
/**
* See QBarDataProxy:: setRows(int, QBarDataArray)
* @param rowIndex
* @param rows
*/
@QtUninvokable
public final void setRows(int rowIndex, io.qt.datavis.@NonNull QBarDataArray rows){
setRows_native_int_cref_QBarDataArray(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, QtJambi_LibraryUtilities.internal.checkedNativeId(rows));
}
@QtUninvokable
private native void setRows_native_int_cref_QBarDataArray(long __this__nativeId, int rowIndex, long rows);
/**
* See QBarDataProxy:: setRows(int, QBarDataArray, QStringList)
* @param rowIndex
* @param rows
* @param labels
*/
@QtUninvokable
public final void setRows(int rowIndex, io.qt.datavis.@NonNull QBarDataArray rows, java.util.@NonNull Collection labels){
setRows_native_int_cref_QBarDataArray_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), rowIndex, QtJambi_LibraryUtilities.internal.checkedNativeId(rows), labels);
}
@QtUninvokable
private native void setRows_native_int_cref_QBarDataArray_cref_QStringList(long __this__nativeId, int rowIndex, long rows, java.util.Collection labels);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QBarDataProxy(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QBarDataProxy(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QBarDataProxy instance, QDeclarativeConstructor constructor);
private QBarDataArray __rcArray;
/**
* Overloaded constructor for {@link #QBarDataProxy(io.qt.core.QObject)}
* with parent = null
.
*/
public QBarDataProxy() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #columnLabels()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QStringList getColumnLabels() {
return columnLabels();
}
/**
* Overloaded function for {@link #removeRows(int, int, boolean)}
* with removeLabels = true
.
*/
@QtUninvokable
public final void removeRows(int rowIndex, int removeCount) {
removeRows(rowIndex, removeCount, (boolean)true);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #rowCount()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getRowCount() {
return rowCount();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #rowLabels()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QStringList getRowLabels() {
return rowLabels();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #series()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.@Nullable QBar3DSeries getSeries() {
return series();
}
}