io.qt.datavis.QAbstract3DAxis Maven / Gradle / Ivy
Show all versions of qtjambi-datavisualization Show documentation
package io.qt.datavis;
import io.qt.*;
/**
* Base class for the axes of a 3D graph
* Java wrapper for Qt class QAbstract3DAxis
*/
public class QAbstract3DAxis 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(QAbstract3DAxis.class);
/**
* Java wrapper for Qt enum QAbstract3DAxis::AxisOrientation
*/
@QtUnlistedEnum
public enum AxisOrientation implements QtEnumerator {
/**
* Representing QAbstract3DAxis:: AxisOrientationNone
*/
AxisOrientationNone(0),
/**
* Representing QAbstract3DAxis:: AxisOrientationX
*/
AxisOrientationX(1),
/**
* Representing QAbstract3DAxis:: AxisOrientationY
*/
AxisOrientationY(2),
/**
* Representing QAbstract3DAxis:: AxisOrientationZ
*/
AxisOrientationZ(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private AxisOrientation(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 AxisOrientation resolve(int value) {
switch (value) {
case 0: return AxisOrientationNone;
case 1: return AxisOrientationX;
case 2: return AxisOrientationY;
case 4: return AxisOrientationZ;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QAbstract3DAxis::AxisType
*/
@QtUnlistedEnum
public enum AxisType implements QtEnumerator {
/**
* Representing QAbstract3DAxis:: AxisTypeNone
*/
AxisTypeNone(0),
/**
* Representing QAbstract3DAxis:: AxisTypeCategory
*/
AxisTypeCategory(1),
/**
* Representing QAbstract3DAxis:: AxisTypeValue
*/
AxisTypeValue(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private AxisType(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 AxisType resolve(int value) {
switch (value) {
case 0: return AxisTypeNone;
case 1: return AxisTypeCategory;
case 2: return AxisTypeValue;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QAbstract3DAxis:: autoAdjustRangeChanged(bool)
*/
@QtPropertyNotify(name="autoAdjustRange")
public final @NonNull Signal1 autoAdjustRangeChanged = new Signal1<>();
/**
* See QAbstract3DAxis:: labelAutoRotationChanged(float)
*/
@QtPropertyNotify(name="labelAutoRotation")
public final @NonNull Signal1 labelAutoRotationChanged = new Signal1<>();
/**
* See QAbstract3DAxis:: labelsChanged()
*/
@QtPropertyNotify(name="labels")
public final @NonNull Signal0 labelsChanged = new Signal0();
/**
* See QAbstract3DAxis:: maxChanged(float)
*/
@QtPropertyNotify(name="max")
public final @NonNull Signal1 maxChanged = new Signal1<>();
/**
* See QAbstract3DAxis:: minChanged(float)
*/
@QtPropertyNotify(name="min")
public final @NonNull Signal1 minChanged = new Signal1<>();
/**
* See QAbstract3DAxis:: orientationChanged(QAbstract3DAxis::AxisOrientation)
*/
@QtPropertyNotify(name="orientation")
public final @NonNull Signal1 orientationChanged = new Signal1<>();
/**
* See QAbstract3DAxis:: rangeChanged(float, float)
*/
public final @NonNull Signal2 rangeChanged = new Signal2<>();
/**
* See QAbstract3DAxis:: titleChanged(QString)
*/
@QtPropertyNotify(name="title")
public final @NonNull Signal1 titleChanged = new Signal1<>();
/**
* See QAbstract3DAxis:: titleFixedChanged(bool)
*/
@QtPropertyNotify(name="titleFixed")
public final @NonNull Signal1 titleFixedChanged = new Signal1<>();
/**
* Whether the axis title is visible in the primary graph view
* See QAbstract3DAxis:: titleVisibilityChanged(bool)
*/
@QtPropertyNotify(name="titleVisible")
public final @NonNull Signal1 titleVisibilityChanged = new Signal1<>();
/**
* See QAbstract3DAxis:: isAutoAdjustRange()const
* @return
*/
@QtPropertyReader(name="autoAdjustRange")
@QtUninvokable
public final boolean isAutoAdjustRange(){
return isAutoAdjustRange_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isAutoAdjustRange_native_constfct(long __this__nativeId);
/**
* See QAbstract3DAxis:: isTitleFixed()const
* @return
*/
@QtPropertyReader(name="titleFixed")
@QtUninvokable
public final boolean isTitleFixed(){
return isTitleFixed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isTitleFixed_native_constfct(long __this__nativeId);
/**
* See QAbstract3DAxis:: isTitleVisible()const
* @return
*/
@QtPropertyReader(name="titleVisible")
@QtUninvokable
public final boolean isTitleVisible(){
return isTitleVisible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isTitleVisible_native_constfct(long __this__nativeId);
/**
* See QAbstract3DAxis:: labelAutoRotation()const
* @return
*/
@QtPropertyReader(name="labelAutoRotation")
@QtUninvokable
public final float labelAutoRotation(){
return labelAutoRotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float labelAutoRotation_native_constfct(long __this__nativeId);
/**
* See QAbstract3DAxis:: labels()const
* @return
*/
@QtPropertyReader(name="labels")
@QtDeclaredFinal
@QtUninvokable
public io.qt.core.@NonNull QStringList labels(){
return labels_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QStringList labels_native_constfct(long __this__nativeId);
/**
* See QAbstract3DAxis:: max()const
* @return
*/
@QtPropertyReader(name="max")
@QtUninvokable
public final float max(){
return max_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float max_native_constfct(long __this__nativeId);
/**
* See QAbstract3DAxis:: min()const
* @return
*/
@QtPropertyReader(name="min")
@QtUninvokable
public final float min(){
return min_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float min_native_constfct(long __this__nativeId);
/**
* See QAbstract3DAxis:: orientation()const
* @return
*/
@QtPropertyReader(name="orientation")
@QtUninvokable
public final io.qt.datavis.QAbstract3DAxis.@NonNull AxisOrientation orientation(){
return io.qt.datavis.QAbstract3DAxis.AxisOrientation.resolve(orientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int orientation_native_constfct(long __this__nativeId);
/**
* See QAbstract3DAxis:: setAutoAdjustRange(bool)
* @param autoAdjust
*/
@QtPropertyWriter(name="autoAdjustRange")
@QtUninvokable
public final void setAutoAdjustRange(boolean autoAdjust){
setAutoAdjustRange_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), autoAdjust);
}
@QtUninvokable
private native void setAutoAdjustRange_native_bool(long __this__nativeId, boolean autoAdjust);
/**
* See QAbstract3DAxis:: setLabelAutoRotation(float)
* @param angle
*/
@QtPropertyWriter(name="labelAutoRotation")
@QtUninvokable
public final void setLabelAutoRotation(float angle){
setLabelAutoRotation_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), angle);
}
@QtUninvokable
private native void setLabelAutoRotation_native_float(long __this__nativeId, float angle);
/**
* See QAbstract3DAxis:: setLabels(QStringList)
* @param labels
*/
@QtPropertyWriter(name="labels")
@QtDeclaredFinal
@QtUninvokable
public void setLabels(java.util.@NonNull Collection labels){
setLabels_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), labels);
}
@QtUninvokable
private native void setLabels_native_cref_QStringList(long __this__nativeId, java.util.Collection labels);
/**
* See QAbstract3DAxis:: setMax(float)
* @param max
*/
@QtPropertyWriter(name="max")
@QtUninvokable
public final void setMax(float max){
setMax_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), max);
}
@QtUninvokable
private native void setMax_native_float(long __this__nativeId, float max);
/**
* See QAbstract3DAxis:: setMin(float)
* @param min
*/
@QtPropertyWriter(name="min")
@QtUninvokable
public final void setMin(float min){
setMin_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), min);
}
@QtUninvokable
private native void setMin_native_float(long __this__nativeId, float min);
/**
* See QAbstract3DAxis:: setRange(float, float)
* @param min
* @param max
*/
@QtUninvokable
public final void setRange(float min, float max){
setRange_native_float_float(QtJambi_LibraryUtilities.internal.nativeId(this), min, max);
}
@QtUninvokable
private native void setRange_native_float_float(long __this__nativeId, float min, float max);
/**
* See QAbstract3DAxis:: setTitle(QString)
* @param title
*/
@QtPropertyWriter(name="title")
@QtUninvokable
public final void setTitle(java.lang.@NonNull String title){
setTitle_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), title);
}
@QtUninvokable
private native void setTitle_native_cref_QString(long __this__nativeId, java.lang.String title);
/**
* See QAbstract3DAxis:: setTitleFixed(bool)
* @param fixed
*/
@QtPropertyWriter(name="titleFixed")
@QtUninvokable
public final void setTitleFixed(boolean fixed){
setTitleFixed_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), fixed);
}
@QtUninvokable
private native void setTitleFixed_native_bool(long __this__nativeId, boolean fixed);
/**
* See QAbstract3DAxis:: setTitleVisible(bool)
* @param visible
*/
@QtPropertyWriter(name="titleVisible")
@QtUninvokable
public final void setTitleVisible(boolean visible){
setTitleVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible);
}
@QtUninvokable
private native void setTitleVisible_native_bool(long __this__nativeId, boolean visible);
/**
* See QAbstract3DAxis:: title()const
* @return
*/
@QtPropertyReader(name="title")
@QtUninvokable
public final java.lang.@NonNull String title(){
return title_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String title_native_constfct(long __this__nativeId);
/**
* See QAbstract3DAxis:: type()const
* @return
*/
@QtPropertyReader(name="type")
@QtPropertyConstant
@QtUninvokable
public final io.qt.datavis.QAbstract3DAxis.@NonNull AxisType type(){
return io.qt.datavis.QAbstract3DAxis.AxisType.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 QAbstract3DAxis(QPrivateConstructor p) { super(p); }
/**
* @hidden
* Kotlin property getter. In Java use {@link #isAutoAdjustRange()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getAutoAdjustRange() {
return isAutoAdjustRange();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isTitleFixed()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getTitleFixed() {
return isTitleFixed();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isTitleVisible()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getTitleVisible() {
return isTitleVisible();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #labelAutoRotation()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getLabelAutoRotation() {
return labelAutoRotation();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #labels()} instead.
*/
@QtPropertyReader(enabled=false)
@QtDeclaredFinal
@QtUninvokable
public final io.qt.core.@NonNull QStringList getLabels() {
return labels();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #max()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getMax() {
return max();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #min()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getMin() {
return min();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #orientation()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.QAbstract3DAxis.@NonNull AxisOrientation getOrientation() {
return orientation();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #title()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getTitle() {
return title();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #type()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.QAbstract3DAxis.@NonNull AxisType getType() {
return type();
}
}