io.qt.datavis.QBarDataItem 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.*;
/**
* Container for resolved data to be added to bar graphs
* Java wrapper for Qt class QBarDataItem
*/
public class QBarDataItem extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QBarDataItem:: QBarDataItem()
*/
public QBarDataItem(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QBarDataItem instance);
/**
* See QBarDataItem:: QBarDataItem(QBarDataItem)
* @param other
*/
public QBarDataItem(io.qt.datavis.@NonNull QBarDataItem other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QBarDataItem instance, io.qt.datavis.QBarDataItem other);
/**
* See QBarDataItem:: QBarDataItem(float)
* @param value
*/
public QBarDataItem(float value){
super((QPrivateConstructor)null);
initialize_native(this, value);
}
private native static void initialize_native(QBarDataItem instance, float value);
/**
* See QBarDataItem:: QBarDataItem(float, float)
* @param value
* @param angle
*/
public QBarDataItem(float value, float angle){
super((QPrivateConstructor)null);
initialize_native(this, value, angle);
}
private native static void initialize_native(QBarDataItem instance, float value, float angle);
/**
* See QBarDataItem:: createExtraData()
*/
@QtUninvokable
protected final void createExtraData(){
createExtraData_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void createExtraData_native(long __this__nativeId);
/**
* See QBarDataItem:: operator=(QBarDataItem)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.datavis.@NonNull QBarDataItem other){
assign_native_cref_QBarDataItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QBarDataItem(long __this__nativeId, long other);
/**
* See operator==(QBarDataItem, QBarDataItem)
* @param b
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.datavis.@NonNull QBarDataItem b){
return equals_native_cref_QBarDataItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(b));
}
@QtUninvokable
private native boolean equals_native_cref_QBarDataItem(long __this__nativeId, long b);
/**
* See QBarDataItem:: rotation()const
* @return
*/
@QtUninvokable
public final float rotation(){
return rotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float rotation_native_constfct(long __this__nativeId);
/**
* See QBarDataItem:: setRotation(float)
* @param angle
*/
@QtUninvokable
public final void setRotation(float angle){
setRotation_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), angle);
}
@QtUninvokable
private native void setRotation_native_float(long __this__nativeId, float angle);
/**
* See QBarDataItem:: setValue(float)
* @param val
*/
@QtUninvokable
public final void setValue(float val){
setValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), val);
}
@QtUninvokable
private native void setValue_native_float(long __this__nativeId, float val);
/**
* See QBarDataItem:: value()const
* @return
*/
@QtUninvokable
public final float value(){
return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float value_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QBarDataItem(QPrivateConstructor p) { super(p); }
/**
* See operator==(QBarDataItem, QBarDataItem)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.datavis.QBarDataItem) {
return equals((io.qt.datavis.QBarDataItem) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QBarDataItem)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QBarDataItem:: QBarDataItem(QBarDataItem)
*/
@QtUninvokable
@Override
public QBarDataItem clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QBarDataItem clone_native(long __this_nativeId);
}