io.qt.datavis.QAbstractDataProxy 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.*;
/**
* Base class for all 3D graph proxies
* Java wrapper for Qt class QAbstractDataProxy
*/
public class QAbstractDataProxy extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstractDataProxy.class);
/**
* Java wrapper for Qt enum QAbstractDataProxy::DataType
*/
@QtUnlistedEnum
public enum DataType implements QtEnumerator {
/**
* Representing QAbstractDataProxy:: DataTypeNone
*/
DataTypeNone(0),
/**
* Representing QAbstractDataProxy:: DataTypeBar
*/
DataTypeBar(1),
/**
* Representing QAbstractDataProxy:: DataTypeScatter
*/
DataTypeScatter(2),
/**
* Representing QAbstractDataProxy:: DataTypeSurface
*/
DataTypeSurface(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private DataType(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull DataType resolve(int value) {
switch (value) {
case 0: return DataTypeNone;
case 1: return DataTypeBar;
case 2: return DataTypeScatter;
case 4: return DataTypeSurface;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QAbstractDataProxy:: type()const
* @return
*/
@QtPropertyReader(name="type")
@QtPropertyConstant
@QtUninvokable
public final io.qt.datavis.QAbstractDataProxy.@NonNull DataType type(){
return io.qt.datavis.QAbstractDataProxy.DataType.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int type_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAbstractDataProxy(QPrivateConstructor p) { super(p); }
/**
* @hidden
* Kotlin property getter. In Java use {@link #type()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.QAbstractDataProxy.@NonNull DataType getType() {
return type();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy