io.qt.datavis.QLogValue3DAxisFormatter Maven / Gradle / Ivy
Show all versions of qtjambi-datavisualization Show documentation
package io.qt.datavis;
import io.qt.*;
/**
* Formatting rules for a logarithmic value axis
* Java wrapper for Qt class QLogValue3DAxisFormatter
*/
public class QLogValue3DAxisFormatter extends io.qt.datavis.QValue3DAxisFormatter
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QLogValue3DAxisFormatter.class);
/**
* See QLogValue3DAxisFormatter:: autoSubGridChanged(bool)
*/
@QtPropertyNotify(name="autoSubGrid")
public final @NonNull Signal1 autoSubGridChanged = new Signal1<>();
/**
* See QLogValue3DAxisFormatter:: baseChanged(qreal)
*/
@QtPropertyNotify(name="base")
public final @NonNull Signal1 baseChanged = new Signal1<>();
/**
* See QLogValue3DAxisFormatter:: showEdgeLabelsChanged(bool)
*/
@QtPropertyNotify(name="showEdgeLabels")
public final @NonNull Signal1 showEdgeLabelsChanged = new Signal1<>();
/**
* See QLogValue3DAxisFormatter:: QLogValue3DAxisFormatter(QObject*)
* @param parent
*/
public QLogValue3DAxisFormatter(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QLogValue3DAxisFormatter instance, io.qt.core.QObject parent);
/**
* See QLogValue3DAxisFormatter:: autoSubGrid()const
* @return
*/
@QtPropertyReader(name="autoSubGrid")
@QtUninvokable
public final boolean autoSubGrid(){
return autoSubGrid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean autoSubGrid_native_constfct(long __this__nativeId);
/**
* See QLogValue3DAxisFormatter:: base()const
* @return
*/
@QtPropertyReader(name="base")
@QtUninvokable
public final double base(){
return base_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double base_native_constfct(long __this__nativeId);
/**
* See QLogValue3DAxisFormatter:: setAutoSubGrid(bool)
* @param enabled
*/
@QtPropertyWriter(name="autoSubGrid")
@QtUninvokable
public final void setAutoSubGrid(boolean enabled){
setAutoSubGrid_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@QtUninvokable
private native void setAutoSubGrid_native_bool(long __this__nativeId, boolean enabled);
/**
* See QLogValue3DAxisFormatter:: setBase(qreal)
* @param base
*/
@QtPropertyWriter(name="base")
@QtUninvokable
public final void setBase(double base){
setBase_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), base);
}
@QtUninvokable
private native void setBase_native_qreal(long __this__nativeId, double base);
/**
* See QLogValue3DAxisFormatter:: setShowEdgeLabels(bool)
* @param enabled
*/
@QtPropertyWriter(name="showEdgeLabels")
@QtUninvokable
public final void setShowEdgeLabels(boolean enabled){
setShowEdgeLabels_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@QtUninvokable
private native void setShowEdgeLabels_native_bool(long __this__nativeId, boolean enabled);
/**
* See QLogValue3DAxisFormatter:: showEdgeLabels()const
* @return
*/
@QtPropertyReader(name="showEdgeLabels")
@QtUninvokable
public final boolean showEdgeLabels(){
return showEdgeLabels_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean showEdgeLabels_native_constfct(long __this__nativeId);
/**
* See QValue3DAxisFormatter:: createNewInstance()const
* @return
*/
@QtUninvokable
@Override
protected io.qt.datavis.@Nullable QValue3DAxisFormatter createNewInstance(){
return createNewInstance_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.QValue3DAxisFormatter createNewInstance_native_constfct(long __this__nativeId);
/**
* See QValue3DAxisFormatter:: populateCopy(QValue3DAxisFormatter&)const
* @param copy
*/
@QtUninvokable
@Override
protected void populateCopy(io.qt.datavis.@StrictNonNull QValue3DAxisFormatter copy){
java.util.Objects.requireNonNull(copy, "Argument 'copy': null not expected.");
populateCopy_native_ref_QValue3DAxisFormatter_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(copy));
}
@QtUninvokable
private native void populateCopy_native_ref_QValue3DAxisFormatter_constfct(long __this__nativeId, long copy);
/**
* See QValue3DAxisFormatter:: positionAt(float)const
* @param value
* @return
*/
@QtUninvokable
@Override
protected float positionAt(float value){
return positionAt_native_float_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@QtUninvokable
private native float positionAt_native_float_constfct(long __this__nativeId, float value);
/**
* See QValue3DAxisFormatter:: recalculate()
*/
@QtUninvokable
@Override
protected void recalculate(){
recalculate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void recalculate_native(long __this__nativeId);
/**
* See QValue3DAxisFormatter:: valueAt(float)const
* @param position
* @return
*/
@QtUninvokable
@Override
protected float valueAt(float position){
return valueAt_native_float_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), position);
}
@QtUninvokable
private native float valueAt_native_float_constfct(long __this__nativeId, float position);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QLogValue3DAxisFormatter(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QLogValue3DAxisFormatter(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QLogValue3DAxisFormatter instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QLogValue3DAxisFormatter(io.qt.core.QObject)}
* with parent = null
.
*/
public QLogValue3DAxisFormatter() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #autoSubGrid()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getAutoSubGrid() {
return autoSubGrid();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #base()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getBase() {
return base();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #showEdgeLabels()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getShowEdgeLabels() {
return showEdgeLabels();
}
}