All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.uic.ui4.DomBrush Maven / Gradle / Ivy

The newest version!
package io.qt.uic.ui4;

import io.qt.*;


/**
 * 

Java wrapper for Qt class DomBrush

* @hidden */ public class DomBrush extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum DomBrush::Kind

* @hidden */ public enum Kind implements QtEnumerator { /** *

Representing DomBrush::Unknown

*/ Unknown(0), /** *

Representing DomBrush::Color

*/ Color(1), /** *

Representing DomBrush::Texture

*/ Texture(2), /** *

Representing DomBrush::Gradient

*/ Gradient(3); static { QtJambi_LibraryUtilities.initialize(); } private Kind(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 Kind resolve(int value) { switch (value) { case 0: return Unknown; case 1: return Color; case 2: return Texture; case 3: return Gradient; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See DomBrush::DomBrush()

*/ public DomBrush(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(DomBrush instance); /** *

See DomBrush::attributeBrushStyle()const

* @return */ @QtUninvokable public final java.lang.@NonNull String attributeBrushStyle(){ return attributeBrushStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String attributeBrushStyle_native_constfct(long __this__nativeId); /** *

See DomBrush::clearAttributeBrushStyle()

*/ @QtUninvokable public final void clearAttributeBrushStyle(){ clearAttributeBrushStyle_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearAttributeBrushStyle_native(long __this__nativeId); /** *

See DomBrush::elementColor()const

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomColor elementColor(){ return elementColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomColor elementColor_native_constfct(long __this__nativeId); /** *

See DomBrush::elementGradient()const

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomGradient elementGradient(){ return elementGradient_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomGradient elementGradient_native_constfct(long __this__nativeId); /** *

See DomBrush::elementTexture()const

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomProperty elementTexture(){ return elementTexture_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomProperty elementTexture_native_constfct(long __this__nativeId); /** *

See DomBrush::hasAttributeBrushStyle()const

* @return */ @QtUninvokable public final boolean hasAttributeBrushStyle(){ return hasAttributeBrushStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasAttributeBrushStyle_native_constfct(long __this__nativeId); /** *

See DomBrush::kind()const

* @return */ @QtUninvokable public final io.qt.uic.ui4.DomBrush.@NonNull Kind kind(){ return io.qt.uic.ui4.DomBrush.Kind.resolve(kind_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int kind_native_constfct(long __this__nativeId); /** *

See DomBrush::read(QXmlStreamReader&)

* @param reader */ @QtUninvokable public final void read(io.qt.core.@StrictNonNull QXmlStreamReader reader){ java.util.Objects.requireNonNull(reader, "Argument 'reader': null not expected."); read_native_ref_QXmlStreamReader(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(reader)); } @QtUninvokable private native void read_native_ref_QXmlStreamReader(long __this__nativeId, long reader); /** *

See DomBrush::setAttributeBrushStyle(QString)

* @param a */ @QtUninvokable public final void setAttributeBrushStyle(java.lang.@NonNull String a){ setAttributeBrushStyle_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), a); } @QtUninvokable private native void setAttributeBrushStyle_native_cref_QString(long __this__nativeId, java.lang.String a); /** *

See DomBrush::setElementColor(DomColor*)

* @param a */ @QtUninvokable public final void setElementColor(io.qt.uic.ui4.@Nullable DomColor a){ setElementColor_native_DomColor_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @QtUninvokable private native void setElementColor_native_DomColor_ptr(long __this__nativeId, long a); /** *

See DomBrush::setElementGradient(DomGradient*)

* @param a */ @QtUninvokable public final void setElementGradient(io.qt.uic.ui4.@Nullable DomGradient a){ setElementGradient_native_DomGradient_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @QtUninvokable private native void setElementGradient_native_DomGradient_ptr(long __this__nativeId, long a); /** *

See DomBrush::setElementTexture(DomProperty*)

* @param a */ @QtUninvokable public final void setElementTexture(io.qt.uic.ui4.@Nullable DomProperty a){ setElementTexture_native_DomProperty_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @QtUninvokable private native void setElementTexture_native_DomProperty_ptr(long __this__nativeId, long a); /** *

See DomBrush::takeElementColor()

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomColor takeElementColor(){ return takeElementColor_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomColor takeElementColor_native(long __this__nativeId); /** *

See DomBrush::takeElementGradient()

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomGradient takeElementGradient(){ return takeElementGradient_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomGradient takeElementGradient_native(long __this__nativeId); /** *

See DomBrush::takeElementTexture()

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomProperty takeElementTexture(){ return takeElementTexture_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomProperty takeElementTexture_native(long __this__nativeId); /** *

See DomBrush::write(QXmlStreamWriter&,QString)const

* @param writer * @param tagName */ @QtUninvokable public final void write(io.qt.core.@StrictNonNull QXmlStreamWriter writer, java.lang.@NonNull String tagName){ java.util.Objects.requireNonNull(writer, "Argument 'writer': null not expected."); write_native_ref_QXmlStreamWriter_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(writer), tagName); } @QtUninvokable private native void write_native_ref_QXmlStreamWriter_cref_QString_constfct(long __this__nativeId, long writer, java.lang.String tagName); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected DomBrush(QPrivateConstructor p) { super(p); } /** *

Overloaded function for {@link #write(io.qt.core.QXmlStreamWriter, java.lang.String)} * with tagName = (String)null.

*/ @QtUninvokable public final void write(io.qt.core.@StrictNonNull QXmlStreamWriter writer) { write(writer, (String)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy