io.qt.datavis.QCustom3DLabel Maven / Gradle / Ivy
Show all versions of qtjambi-datavisualization Show documentation
package io.qt.datavis;
import io.qt.*;
/**
* Adds a custom label to a graph
* Java wrapper for Qt class QCustom3DLabel
*/
public class QCustom3DLabel extends io.qt.datavis.QCustom3DItem
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCustom3DLabel.class);
/**
* See QCustom3DLabel:: backgroundColorChanged(QColor)
*/
@QtPropertyNotify(name="backgroundColor")
public final @NonNull Signal1 backgroundColorChanged = new Signal1<>();
/**
* See QCustom3DLabel:: backgroundEnabledChanged(bool)
*/
@QtPropertyNotify(name="backgroundEnabled")
public final @NonNull Signal1 backgroundEnabledChanged = new Signal1<>();
/**
* See QCustom3DLabel:: borderEnabledChanged(bool)
*/
@QtPropertyNotify(name="borderEnabled")
public final @NonNull Signal1 borderEnabledChanged = new Signal1<>();
/**
* See QCustom3DLabel:: facingCameraChanged(bool)
*/
@QtPropertyNotify(name="facingCamera")
public final @NonNull Signal1 facingCameraChanged = new Signal1<>();
/**
* See QCustom3DLabel:: fontChanged(QFont)
*/
@QtPropertyNotify(name="font")
public final @NonNull Signal1 fontChanged = new Signal1<>();
/**
* See QCustom3DLabel:: textChanged(QString)
*/
@QtPropertyNotify(name="text")
public final @NonNull Signal1 textChanged = new Signal1<>();
/**
* See QCustom3DLabel:: textColorChanged(QColor)
*/
@QtPropertyNotify(name="textColor")
public final @NonNull Signal1 textColorChanged = new Signal1<>();
/**
* See QCustom3DLabel:: QCustom3DLabel(QObject*)
* @param parent
*/
public QCustom3DLabel(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QCustom3DLabel instance, io.qt.core.QObject parent);
/**
* See QCustom3DLabel:: QCustom3DLabel(QString, QFont, QVector3D, QVector3D, QQuaternion, QObject*)
* @param text
* @param font
* @param position
* @param scaling
* @param rotation
* @param parent
*/
public QCustom3DLabel(java.lang.@NonNull String text, io.qt.gui.@NonNull QFont font, io.qt.gui.@NonNull QVector3D position, io.qt.gui.@NonNull QVector3D scaling, io.qt.gui.@NonNull QQuaternion rotation, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, text, font, position, scaling, rotation, parent);
}
private native static void initialize_native(QCustom3DLabel instance, java.lang.String text, io.qt.gui.QFont font, io.qt.gui.QVector3D position, io.qt.gui.QVector3D scaling, io.qt.gui.QQuaternion rotation, io.qt.core.QObject parent);
/**
* See QCustom3DLabel:: backgroundColor()const
* @return
*/
@QtPropertyReader(name="backgroundColor")
@QtUninvokable
public final io.qt.gui.@NonNull QColor backgroundColor(){
return backgroundColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QColor backgroundColor_native_constfct(long __this__nativeId);
/**
* See QCustom3DLabel:: font()const
* @return
*/
@QtPropertyReader(name="font")
@QtUninvokable
public final io.qt.gui.@NonNull QFont font(){
return font_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QFont font_native_constfct(long __this__nativeId);
/**
* See QCustom3DLabel:: isBackgroundEnabled()const
* @return
*/
@QtPropertyReader(name="backgroundEnabled")
@QtUninvokable
public final boolean isBackgroundEnabled(){
return isBackgroundEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isBackgroundEnabled_native_constfct(long __this__nativeId);
/**
* See QCustom3DLabel:: isBorderEnabled()const
* @return
*/
@QtPropertyReader(name="borderEnabled")
@QtUninvokable
public final boolean isBorderEnabled(){
return isBorderEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isBorderEnabled_native_constfct(long __this__nativeId);
/**
* See QCustom3DLabel:: isFacingCamera()const
* @return
*/
@QtPropertyReader(name="facingCamera")
@QtUninvokable
public final boolean isFacingCamera(){
return isFacingCamera_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isFacingCamera_native_constfct(long __this__nativeId);
/**
* See QCustom3DLabel:: setBackgroundColor(QColor)
* @param color
*/
@QtPropertyWriter(name="backgroundColor")
@QtUninvokable
public final void setBackgroundColor(io.qt.gui.@NonNull QColor color){
setBackgroundColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(color));
}
@QtUninvokable
private native void setBackgroundColor_native_cref_QColor(long __this__nativeId, long color);
/**
* See QCustom3DLabel:: setBackgroundEnabled(bool)
* @param enabled
*/
@QtPropertyWriter(name="backgroundEnabled")
@QtUninvokable
public final void setBackgroundEnabled(boolean enabled){
setBackgroundEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@QtUninvokable
private native void setBackgroundEnabled_native_bool(long __this__nativeId, boolean enabled);
/**
* See QCustom3DLabel:: setBorderEnabled(bool)
* @param enabled
*/
@QtPropertyWriter(name="borderEnabled")
@QtUninvokable
public final void setBorderEnabled(boolean enabled){
setBorderEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@QtUninvokable
private native void setBorderEnabled_native_bool(long __this__nativeId, boolean enabled);
/**
* See QCustom3DLabel:: setFacingCamera(bool)
* @param enabled
*/
@QtPropertyWriter(name="facingCamera")
@QtUninvokable
public final void setFacingCamera(boolean enabled){
setFacingCamera_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@QtUninvokable
private native void setFacingCamera_native_bool(long __this__nativeId, boolean enabled);
/**
* See QCustom3DLabel:: setFont(QFont)
* @param font
*/
@QtPropertyWriter(name="font")
@QtUninvokable
public final void setFont(io.qt.gui.@NonNull QFont font){
setFont_native_cref_QFont(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(font));
}
@QtUninvokable
private native void setFont_native_cref_QFont(long __this__nativeId, long font);
/**
* See QCustom3DLabel:: setText(QString)
* @param text
*/
@QtPropertyWriter(name="text")
@QtUninvokable
public final void setText(java.lang.@NonNull String text){
setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@QtUninvokable
private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QCustom3DLabel:: setTextColor(QColor)
* @param color
*/
@QtPropertyWriter(name="textColor")
@QtUninvokable
public final void setTextColor(io.qt.gui.@NonNull QColor color){
setTextColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(color));
}
@QtUninvokable
private native void setTextColor_native_cref_QColor(long __this__nativeId, long color);
/**
* See QCustom3DLabel:: text()const
* @return
*/
@QtPropertyReader(name="text")
@QtUninvokable
public final java.lang.@NonNull String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
* See QCustom3DLabel:: textColor()const
* @return
*/
@QtPropertyReader(name="textColor")
@QtUninvokable
public final io.qt.gui.@NonNull QColor textColor(){
return textColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QColor textColor_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCustom3DLabel(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QCustom3DLabel(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QCustom3DLabel instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QCustom3DLabel(io.qt.core.QObject)}
* with parent = null
.
*/
public QCustom3DLabel() {
this((io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QCustom3DLabel(java.lang.String, io.qt.gui.QFont, io.qt.gui.QVector3D, io.qt.gui.QVector3D, io.qt.gui.QQuaternion, io.qt.core.QObject)}
* with parent = null
.
*/
public QCustom3DLabel(java.lang.@NonNull String text, io.qt.gui.@NonNull QFont font, io.qt.gui.@NonNull QVector3D position, io.qt.gui.@NonNull QVector3D scaling, io.qt.gui.@NonNull QQuaternion rotation) {
this(text, font, position, scaling, rotation, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QCustom3DLabel(java.lang.String, java.lang.String, io.qt.gui.QVector3D, io.qt.gui.QVector3D, io.qt.gui.QQuaternion, io.qt.core.QObject)}
* with parent = null
.
*/
public QCustom3DLabel(java.lang.@NonNull String text, java.lang.@NonNull String font, io.qt.gui.@NonNull QVector3D position, io.qt.gui.@NonNull QVector3D scaling, io.qt.gui.@NonNull QQuaternion rotation) {
this(text, font, position, scaling, rotation, (io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QCustom3DLabel(java.lang.String, io.qt.gui.QFont, io.qt.gui.QVector3D, io.qt.gui.QVector3D, io.qt.gui.QQuaternion, io.qt.core.QObject)}.
*/
public QCustom3DLabel(java.lang.@NonNull String text, java.lang.@NonNull String font, io.qt.gui.@NonNull QVector3D position, io.qt.gui.@NonNull QVector3D scaling, io.qt.gui.@NonNull QQuaternion rotation, io.qt.core.@Nullable QObject parent) {
this(text, new io.qt.gui.QFont(font), position, scaling, rotation, parent);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #backgroundColor()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QColor getBackgroundColor() {
return backgroundColor();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #font()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QFont getFont() {
return font();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isBackgroundEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getBackgroundEnabled() {
return isBackgroundEnabled();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isBorderEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getBorderEnabled() {
return isBorderEnabled();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isFacingCamera()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getFacingCamera() {
return isFacingCamera();
}
/**
* Overloaded function for {@link #setBackgroundColor(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setBackgroundColor(io.qt.core.Qt.@NonNull GlobalColor color) {
setBackgroundColor(new io.qt.gui.QColor(color));
}
/**
* Overloaded function for {@link #setBackgroundColor(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setBackgroundColor(io.qt.gui.@NonNull QRgba64 color) {
setBackgroundColor(new io.qt.gui.QColor(color));
}
/**
* Overloaded function for {@link #setBackgroundColor(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setBackgroundColor(java.lang.@NonNull String color) {
setBackgroundColor(new io.qt.gui.QColor(color));
}
/**
* Overloaded function for {@link #setFont(io.qt.gui.QFont)}.
*/
@QtUninvokable
public final void setFont(java.lang.@NonNull String font) {
setFont(new io.qt.gui.QFont(font));
}
/**
* Overloaded function for {@link #setTextColor(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setTextColor(io.qt.core.Qt.@NonNull GlobalColor color) {
setTextColor(new io.qt.gui.QColor(color));
}
/**
* Overloaded function for {@link #setTextColor(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setTextColor(io.qt.gui.@NonNull QRgba64 color) {
setTextColor(new io.qt.gui.QColor(color));
}
/**
* Overloaded function for {@link #setTextColor(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setTextColor(java.lang.@NonNull String color) {
setTextColor(new io.qt.gui.QColor(color));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #text()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getText() {
return text();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #textColor()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QColor getTextColor() {
return textColor();
}
}